Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.SimpleAir.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.SimpleAir,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Media_TestAllProperties_SimpleAir",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.SimpleAir,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Media_TestAllProperties_SimpleAir",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001028/0.001028, allocations: 93.98 kB / 16.98 MB, free: 5.938 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001091/0.001092, allocations: 205.3 kB / 17.89 MB, free: 5.586 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.48/1.48, allocations: 227.3 MB / 245.9 MB, free: 10.3 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2358/0.2358, allocations: 45.91 MB / 344 MB, free: 12.08 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002882/0.0002883, allocations: 8 kB / 418 MB, free: 20.73 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1179/0.1182, allocations: 63.46 MB / 481.5 MB, free: 5.262 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.SimpleAir): time 0.423/0.5413, allocations: 115.4 MB / 0.5829 GB, free: 1.547 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.00493/0.5462, allocations: 3.844 MB / 0.5866 GB, free: 13.7 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001363/0.5464, allocations: 0 / 0.5866 GB, free: 13.7 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003666/0.5468, allocations: 55.7 kB / 0.5867 GB, free: 13.64 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001684/0.5485, allocations: 0.6232 MB / 0.5873 GB, free: 13.02 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004049/0.5489, allocations: 147.4 kB / 0.5874 GB, free: 12.88 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004895/0.5494, allocations: 262.2 kB / 0.5877 GB, free: 12.63 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.431e-05/0.5495, allocations: 13.67 kB / 0.5877 GB, free: 12.62 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002352/0.5497, allocations: 147.5 kB / 0.5878 GB, free: 12.47 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002812/0.55, allocations: 171.5 kB / 0.588 GB, free: 12.3 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 2.819e-05/0.55, allocations: 8 kB / 0.588 GB, free: 12.3 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00135/0.5514, allocations: 0.6202 MB / 0.5886 GB, free: 11.68 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 7.794e-05/0.5515, allocations: 43.81 kB / 0.5887 GB, free: 11.63 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 5.997e-05/0.5516, allocations: 73.56 kB / 0.5887 GB, free: 11.55 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004708/0.552, allocations: 294.2 kB / 0.589 GB, free: 11.28 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.687e-06/0.552, allocations: 0 / 0.589 GB, free: 11.28 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.665e-06/0.5521, allocations: 0 / 0.589 GB, free: 11.28 MB / 430.1 MB Notification: Performance of Transformations before backend: time 5.441e-06/0.5521, allocations: 0 / 0.589 GB, free: 11.28 MB / 430.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 56 * Number of variables: 56 Notification: Performance of Generate backend data structure: time 0.001093/0.5532, allocations: 0.5507 MB / 0.5896 GB, free: 10.68 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.781e-05/0.5532, allocations: 12.03 kB / 0.5896 GB, free: 10.66 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.765e-05/0.5533, allocations: 59.41 kB / 0.5896 GB, free: 10.6 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001376/0.5535, allocations: 27.77 kB / 0.5896 GB, free: 10.57 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002632/0.5537, allocations: 226.8 kB / 0.5899 GB, free: 10.31 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001331/0.5539, allocations: 119.4 kB / 0.59 GB, free: 10.17 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.294e-05/0.5539, allocations: 24 kB / 0.59 GB, free: 10.14 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004973/0.5544, allocations: 321 kB / 0.5903 GB, free: 9.805 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.118e-05/0.5544, allocations: 0 / 0.5903 GB, free: 9.805 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.147e-05/0.5545, allocations: 12 kB / 0.5903 GB, free: 9.793 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.693e-05/0.5545, allocations: 11.98 kB / 0.5903 GB, free: 9.781 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007852/0.5553, allocations: 0.7391 MB / 0.5911 GB, free: 9.039 MB / 430.1 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001386/0.5567, allocations: 1.272 MB / 0.5923 GB, free: 7.648 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004218/0.5571, allocations: 171.7 kB / 0.5925 GB, free: 7.473 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002627/0.5598, allocations: 2.643 MB / 0.595 GB, free: 4.336 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.008e-05/0.5598, allocations: 38.56 kB / 0.5951 GB, free: 4.289 MB / 430.1 MB Notification: Performance of pre-optimization done (n=15): time 1.563e-06/0.5598, allocations: 0 / 0.5951 GB, free: 4.289 MB / 430.1 MB Notification: Performance of matching and sorting (n=16): time 0.0007307/0.5606, allocations: 229.5 kB / 0.5953 GB, free: 4.059 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.286e-05/0.5606, allocations: 59.41 kB / 0.5954 GB, free: 3.988 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002101/0.5608, allocations: 215.5 kB / 0.5956 GB, free: 3.77 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 2.636e-05/0.5609, allocations: 29.7 kB / 0.5956 GB, free: 3.734 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001445/0.561, allocations: 210.9 kB / 0.5958 GB, free: 3.52 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.52e-05/0.5611, allocations: 55.25 kB / 0.5958 GB, free: 3.465 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.693e-05/0.5611, allocations: 4 kB / 0.5958 GB, free: 3.461 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001492/0.5613, allocations: 326.8 kB / 0.5962 GB, free: 3.133 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.134e-05/0.5614, allocations: 56.83 kB / 0.5962 GB, free: 3.078 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003027/0.5617, allocations: 321.1 kB / 0.5965 GB, free: 2.637 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001701/0.5618, allocations: 99.84 kB / 0.5966 GB, free: 2.539 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.402e-06/0.5619, allocations: 4 kB / 0.5966 GB, free: 2.535 MB / 430.1 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.00054/0.5624, allocations: 368.9 kB / 0.597 GB, free: 2.168 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.342e-05/0.5624, allocations: 12 kB / 0.597 GB, free: 2.156 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.925e-05/0.5625, allocations: 12.8 kB / 0.597 GB, free: 2.145 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.664e-05/0.5625, allocations: 19.94 kB / 0.597 GB, free: 2.125 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003661/0.5629, allocations: 107.8 kB / 0.5971 GB, free: 2.02 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.93e-05/0.5629, allocations: 15.94 kB / 0.5971 GB, free: 2.004 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002224/0.5631, allocations: 27.92 kB / 0.5972 GB, free: 1.977 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.954e-05/0.5632, allocations: 28 kB / 0.5972 GB, free: 1.949 MB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 43 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (52): * Single equations (assignments): 51 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000149/0.5633, allocations: 149.5 kB / 0.5973 GB, free: 1.793 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.26e-05/0.5634, allocations: 23.72 kB / 0.5973 GB, free: 1.77 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003894/0.5638, allocations: 172.9 kB / 0.5975 GB, free: 1.594 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.257e-05/0.5638, allocations: 3.953 kB / 0.5975 GB, free: 1.59 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.58e-06/0.5638, allocations: 0.875 kB / 0.5975 GB, free: 1.59 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.153e-06/0.5638, allocations: 7.984 kB / 0.5975 GB, free: 1.582 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006322/0.5645, allocations: 473.7 kB / 0.598 GB, free: 1.051 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.294e-06/0.5645, allocations: 0 / 0.598 GB, free: 1.051 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001521/0.5646, allocations: 27.98 kB / 0.598 GB, free: 1.023 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.5e-06/0.5646, allocations: 4 kB / 0.598 GB, free: 1.02 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.463e-05/0.5647, allocations: 12.11 kB / 0.598 GB, free: 1.008 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.747e-06/0.5647, allocations: 8 kB / 0.598 GB, free: 1 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.078e-06/0.5647, allocations: 0 / 0.598 GB, free: 1 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002693/0.565, allocations: 285.5 kB / 0.5983 GB, free: 0.668 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001028/0.5651, allocations: 116.9 kB / 0.5984 GB, free: 0.5352 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.338e-05/0.5651, allocations: 4 kB / 0.5984 GB, free: 0.5312 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002041/0.5653, allocations: 8 kB / 0.5984 GB, free: 0.5234 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.865e-05/0.5654, allocations: 15.88 kB / 0.5984 GB, free: 0.5078 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.136e-05/0.5654, allocations: 15.98 kB / 0.5984 GB, free: 0.4922 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0001224/0.5655, allocations: 144.5 kB / 0.5986 GB, free: 356 kB / 430.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.5655, allocations: 0 / 0.5986 GB, free: 356 kB / 430.1 MB Notification: Performance of remove unused functions: time 0.000486/0.566, allocations: 91.98 kB / 0.5987 GB, free: 264 kB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (14): * Single equations (assignments): 13 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0008497/0.5669, allocations: 1.153 MB / 0.5998 GB, free: 15.05 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0003032/0.5672, allocations: 186.1 kB / 0.6 GB, free: 14.88 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.685e-06/0.5672, allocations: 0 / 0.6 GB, free: 14.88 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 5.745e-05/0.5673, allocations: 35.92 kB / 0.6 GB, free: 14.84 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003885/0.5677, allocations: 41.58 kB / 0.6001 GB, free: 14.8 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004521/0.5722, allocations: 7.637 MB / 0.6075 GB, free: 6.906 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003934/0.5726, allocations: 0.7326 MB / 0.6082 GB, free: 6.148 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0002933/0.5729, allocations: 63.03 kB / 0.6083 GB, free: 6.082 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.597e-05/0.573, allocations: 67.41 kB / 0.6083 GB, free: 6.016 MB / 446.1 MB Notification: Performance of SimCode: time 5.91e-07/0.573, allocations: 0 / 0.6083 GB, free: 6.016 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01696/0.59, allocations: 4.834 MB / 0.6131 GB, free: 1.328 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001706/0.5902, allocations: 186.8 kB / 0.6132 GB, free: 1.082 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.902/2.493, allocations: 7.938 kB / 0.6133 GB, free: 1.074 MB / 446.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.SimpleAir.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.SimpleAir.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.SimpleAir.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.SimpleAir.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.SimpleAir_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Media_TestAllProperties_SimpleAir_fmu --startTime=0 --stopTime=0.1 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Media_TestAllProperties_SimpleAir.fmu > ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.SimpleAir.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.SimpleAir_res.mat does not exist to compare? outputFormat=mat