Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy.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.Fluid.TestComponents.Sensors.TestSpecificEntropy,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_Sensors_TestSpecificEntropy",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_Sensors_TestSpecificEntropy",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001137/0.001137, allocations: 95.83 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.001489/0.001489, allocations: 203.8 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.517/1.517, allocations: 227.3 MB / 245.9 MB, free: 12.02 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2808/0.2808, allocations: 45.91 MB / 344 MB, free: 12.29 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003287/0.0003287, allocations: 8 kB / 418.1 MB, free: 20.75 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1492/0.1496, allocations: 63.47 MB / 481.5 MB, free: 5.27 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy): time 0.02768/0.1773, allocations: 25.48 MB / 0.4951 GB, free: 11.72 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.3387/0.516, allocations: 14.9 MB / 0.5097 GB, free: 11.62 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004456/0.5165, allocations: 13.34 kB / 0.5097 GB, free: 11.62 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007007/0.5172, allocations: 176.8 kB / 0.5099 GB, free: 11.62 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00057/0.5178, allocations: 221.9 kB / 0.5101 GB, free: 11.62 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01658/0.5344, allocations: 4.741 MB / 0.5147 GB, free: 11.59 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009801/0.5354, allocations: 0.4958 MB / 0.5152 GB, free: 11.59 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003913/0.5358, allocations: 180.7 kB / 0.5154 GB, free: 11.58 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01574/0.5515, allocations: 8.832 MB / 0.524 GB, free: 11.46 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004523/0.552, allocations: 175.6 kB / 0.5242 GB, free: 11.46 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 5.604e-05/0.5521, allocations: 13.53 kB / 0.5242 GB, free: 11.46 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01253/0.5646, allocations: 6.174 MB / 0.5302 GB, free: 11.15 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001581/0.5648, allocations: 69.78 kB / 0.5303 GB, free: 11.14 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002304/0.5651, allocations: 99.7 kB / 0.5304 GB, free: 11.11 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006273/0.5713, allocations: 2.577 MB / 0.5329 GB, free: 9.977 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.278e-06/0.5714, allocations: 0 / 0.5329 GB, free: 9.977 MB / 382.1 MB Notification: Performance of FrontEnd: time 3.307e-06/0.5714, allocations: 0 / 0.5329 GB, free: 9.977 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.326e-06/0.5714, allocations: 0 / 0.5329 GB, free: 9.977 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 64 * Number of variables: 64 Notification: Performance of Generate backend data structure: time 0.003674/0.5751, allocations: 0.9809 MB / 0.5338 GB, free: 9.273 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.471e-05/0.5751, allocations: 8.188 kB / 0.5338 GB, free: 9.273 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.941e-05/0.5752, allocations: 65.16 kB / 0.5339 GB, free: 9.227 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001778/0.577, allocations: 218.1 kB / 0.5341 GB, free: 9.152 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004675/0.5775, allocations: 328.9 kB / 0.5344 GB, free: 8.887 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.113e-05/0.5775, allocations: 22.62 kB / 0.5344 GB, free: 8.887 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.218e-05/0.5776, allocations: 25.88 kB / 0.5345 GB, free: 8.887 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001197/0.5788, allocations: 0.4883 MB / 0.5349 GB, free: 8.656 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.54e-05/0.5788, allocations: 3.625 kB / 0.535 GB, free: 8.656 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.246e-05/0.5789, allocations: 12.59 kB / 0.535 GB, free: 8.656 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.628e-05/0.5789, allocations: 13.42 kB / 0.535 GB, free: 8.652 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001193/0.5801, allocations: 445 kB / 0.5354 GB, free: 8.438 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003101/0.5832, allocations: 2.439 MB / 0.5378 GB, free: 6.023 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001149/0.5844, allocations: 351.9 kB / 0.5381 GB, free: 5.738 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0349/0.6193, allocations: 18.46 MB / 0.5561 GB, free: 1.258 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.622e-05/0.6194, allocations: 49.02 kB / 0.5562 GB, free: 1.207 MB / 398.1 MB Notification: Performance of pre-optimization done (n=15): time 1.964e-06/0.6194, allocations: 0 / 0.5562 GB, free: 1.207 MB / 398.1 MB Notification: Performance of matching and sorting (n=15): time 0.002142/0.6215, allocations: 0.561 MB / 0.5567 GB, free: 0.7266 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.616e-05/0.6216, allocations: 109.5 kB / 0.5568 GB, free: 0.5977 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003632/0.622, allocations: 318.2 kB / 0.5571 GB, free: 348 kB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.866e-05/0.622, allocations: 32.02 kB / 0.5572 GB, free: 312 kB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001441/0.6222, allocations: 208.1 kB / 0.5574 GB, free: 144 kB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.889e-05/0.6222, allocations: 56.06 kB / 0.5574 GB, free: 96 kB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.184e-05/0.6222, allocations: 2.375 kB / 0.5574 GB, free: 96 kB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0002051/0.6225, allocations: 341.4 kB / 0.5578 GB, free: 15.77 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002858/0.6227, allocations: 100.7 kB / 0.5579 GB, free: 15.69 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003633/0.6231, allocations: 224.5 kB / 0.5581 GB, free: 15.45 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002994/0.6234, allocations: 128.1 kB / 0.5582 GB, free: 15.36 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.406e-06/0.6234, allocations: 0 / 0.5582 GB, free: 15.36 MB / 414.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0007652/0.6242, allocations: 355.1 kB / 0.5585 GB, free: 15.09 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.131e-05/0.6242, allocations: 15.8 kB / 0.5585 GB, free: 15.08 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.895e-06/0.6243, allocations: 0 / 0.5585 GB, free: 15.08 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.613e-05/0.6243, allocations: 11 kB / 0.5586 GB, free: 15.07 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002779/0.6246, allocations: 72.67 kB / 0.5586 GB, free: 15 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.854e-05/0.6246, allocations: 4.344 kB / 0.5586 GB, free: 15 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002856/0.6249, allocations: 59.75 kB / 0.5587 GB, free: 14.95 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.859e-05/0.6249, allocations: 14.31 kB / 0.5587 GB, free: 14.93 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 2 (boundary_prescriberho_1.medium.phase,boundary_prescriberho_2.medium.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (30): * Single equations (assignments): 30 * Array equations: 0 * 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.0001635/0.6251, allocations: 157.1 kB / 0.5588 GB, free: 14.8 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.495e-05/0.6252, allocations: 31.62 kB / 0.5589 GB, free: 14.77 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001544/0.6267, allocations: 1.151 MB / 0.56 GB, free: 13.97 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.35e-05/0.6267, allocations: 10.98 kB / 0.56 GB, free: 13.96 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.41e-06/0.6268, allocations: 4 kB / 0.56 GB, free: 13.96 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.731e-06/0.6268, allocations: 3.984 kB / 0.56 GB, free: 13.96 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006818/0.6274, allocations: 0.6649 MB / 0.5607 GB, free: 13.43 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.469e-06/0.6275, allocations: 7.984 kB / 0.5607 GB, free: 13.43 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002543/0.6277, allocations: 54.95 kB / 0.5607 GB, free: 13.38 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.69e-06/0.6277, allocations: 3.953 kB / 0.5607 GB, free: 13.37 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.494e-05/0.6278, allocations: 7.375 kB / 0.5607 GB, free: 13.37 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.294e-06/0.6278, allocations: 0 / 0.5607 GB, free: 13.37 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.6278, allocations: 0 / 0.5607 GB, free: 13.37 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008758/0.6287, allocations: 0.639 MB / 0.5614 GB, free: 12.86 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001703/0.6288, allocations: 198.5 kB / 0.5616 GB, free: 12.67 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.52e-05/0.6289, allocations: 3.25 kB / 0.5616 GB, free: 12.67 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002376/0.6291, allocations: 30.03 kB / 0.5616 GB, free: 12.64 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.778e-05/0.6292, allocations: 25.25 kB / 0.5616 GB, free: 12.62 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.605e-05/0.6292, allocations: 10.25 kB / 0.5616 GB, free: 12.61 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0003456/0.6296, allocations: 339.3 kB / 0.5619 GB, free: 12.35 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.6296, allocations: 0 / 0.5619 GB, free: 12.35 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.002798/0.6324, allocations: 0.853 MB / 0.5628 GB, free: 11.54 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 10 ($cse1.phase,$cse1.region,$cse2.phase,$cse2.region,$cse5.phase,$cse5.region,$cse6.phase,$cse6.region,boundary_prescriberho_1.medium.phase,boundary_prescriberho_2.medium.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (19): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * 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.005632/0.6381, allocations: 2.088 MB / 0.5648 GB, free: 9.68 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0008713/0.639, allocations: 364.1 kB / 0.5652 GB, free: 9.422 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.967e-06/0.639, allocations: 2.812 kB / 0.5652 GB, free: 9.422 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000382/0.6394, allocations: 267.5 kB / 0.5654 GB, free: 9.27 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00101/0.6404, allocations: 179.9 kB / 0.5656 GB, free: 9.129 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00669/0.6471, allocations: 5.094 MB / 0.5706 GB, free: 4.316 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006499/0.6478, allocations: 0.8932 MB / 0.5714 GB, free: 3.402 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0004504/0.6482, allocations: 189.3 kB / 0.5716 GB, free: 3.227 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002057/0.6484, allocations: 180.7 kB / 0.5718 GB, free: 3.18 MB / 414.1 MB Notification: Performance of SimCode: time 1.563e-06/0.6484, allocations: 0 / 0.5718 GB, free: 3.18 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07096/0.7194, allocations: 40.28 MB / 0.6111 GB, free: 11.19 MB / 462.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002139/0.7197, allocations: 236.2 kB / 0.6114 GB, free: 10.95 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.963/4.683, allocations: 0 / 0.6114 GB, free: 10.95 MB / 462.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_Sensors_TestSpecificEntropy_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_Sensors_TestSpecificEntropy.fmu > ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy_res.mat does not exist to compare? outputFormat=mat