Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_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 4.1.0-beta.om/package.mo", uses=false) Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/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_4_1_0-beta_om_ModelicaTest_Fluid_TestComponents_Sensors_TestSpecificEntropy",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy,fileNamePrefix="ModelicaTest_4_1_0-beta_om_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.001429/0.001429, allocations: 103.8 kB / 17.63 MB, free: 5.48 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001665/0.001665, allocations: 214.4 kB / 18.59 MB, free: 4.531 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.494/1.494, allocations: 227.4 MB / 246.8 MB, free: 10.54 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2377/0.2377, allocations: 46.1 MB / 344.2 MB, free: 11.55 MB / 286.1 MB Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002329/0.002329, allocations: 80.8 kB / 417.8 MB, free: 19.59 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1161/0.1184, allocations: 62.45 MB / 480.2 MB, free: 5.121 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy): time 0.03868/0.1572, allocations: 30.22 MB / 0.4985 GB, free: 6.797 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.2552/0.4124, allocations: 17.62 MB / 0.5157 GB, free: 10.62 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003416/0.4129, allocations: 11.19 kB / 0.5157 GB, free: 10.62 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007501/0.4136, allocations: 219.5 kB / 0.5159 GB, free: 10.62 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006109/0.4143, allocations: 271.4 kB / 0.5161 GB, free: 10.61 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.02237/0.4366, allocations: 6.056 MB / 0.5221 GB, free: 10.28 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.002123/0.4388, allocations: 0.8393 MB / 0.5229 GB, free: 10.11 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005362/0.4394, allocations: 240.8 kB / 0.5231 GB, free: 10.09 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01413/0.4535, allocations: 5.449 MB / 0.5284 GB, free: 8.48 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005842/0.4541, allocations: 247.8 kB / 0.5287 GB, free: 8.426 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 7.223e-05/0.4542, allocations: 30.41 kB / 0.5287 GB, free: 8.426 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01264/0.4669, allocations: 6.193 MB / 0.5347 GB, free: 6.176 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001568/0.467, allocations: 92.77 kB / 0.5348 GB, free: 6.109 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003144/0.4674, allocations: 192.7 kB / 0.535 GB, free: 5.996 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008715/0.4761, allocations: 3.853 MB / 0.5388 GB, free: 3.715 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.492e-06/0.4761, allocations: 7.922 kB / 0.5388 GB, free: 3.707 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.254e-06/0.4762, allocations: 4 kB / 0.5388 GB, free: 3.703 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.501e-05/0.4762, allocations: 0 / 0.5388 GB, free: 3.703 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.002126/0.4783, allocations: 1.037 MB / 0.5398 GB, free: 2.914 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.856e-05/0.4784, allocations: 8.906 kB / 0.5398 GB, free: 2.914 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.782e-05/0.4784, allocations: 63.62 kB / 0.5399 GB, free: 2.852 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001554/0.48, allocations: 204 kB / 0.5401 GB, free: 2.773 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003274/0.4803, allocations: 337.3 kB / 0.5404 GB, free: 2.457 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.716e-05/0.4804, allocations: 19.47 kB / 0.5404 GB, free: 2.449 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.367e-05/0.4804, allocations: 25.38 kB / 0.5404 GB, free: 2.441 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00108/0.4815, allocations: 493.8 kB / 0.5409 GB, free: 2.105 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.154e-05/0.4815, allocations: 0 / 0.5409 GB, free: 2.105 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.32e-05/0.4815, allocations: 17.53 kB / 0.5409 GB, free: 2.094 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.615e-06/0.4816, allocations: 9.562 kB / 0.5409 GB, free: 2.09 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001092/0.4827, allocations: 404.3 kB / 0.5413 GB, free: 1.906 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002581/0.4852, allocations: 2.437 MB / 0.5437 GB, free: 15.62 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001163/0.4864, allocations: 333.4 kB / 0.544 GB, free: 15.45 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002906/0.4867, allocations: 107.2 kB / 0.5441 GB, free: 15.39 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03744/0.5242, allocations: 18.3 MB / 0.562 GB, free: 11.86 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.431e-05/0.5243, allocations: 38.56 kB / 0.562 GB, free: 11.81 MB / 414.1 MB Notification: Performance of pre-optimization done (n=15): time 4.468e-06/0.5243, allocations: 0 / 0.562 GB, free: 11.81 MB / 414.1 MB Notification: Performance of matching and sorting (n=15): time 0.002207/0.5265, allocations: 0.5391 MB / 0.5626 GB, free: 11.27 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.597e-05/0.5266, allocations: 102.8 kB / 0.5627 GB, free: 11.14 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004286/0.527, allocations: 320.5 kB / 0.563 GB, free: 10.82 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.567e-05/0.5271, allocations: 33.7 kB / 0.563 GB, free: 10.79 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001809/0.5273, allocations: 203.6 kB / 0.5632 GB, free: 10.58 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.181e-05/0.5273, allocations: 47.3 kB / 0.5632 GB, free: 10.53 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001149/0.5275, allocations: 65.69 kB / 0.5633 GB, free: 10.46 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001872/0.5276, allocations: 338.8 kB / 0.5636 GB, free: 10.12 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002927/0.5279, allocations: 91.94 kB / 0.5637 GB, free: 10.03 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004061/0.5284, allocations: 219.2 kB / 0.5639 GB, free: 9.762 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006742/0.529, allocations: 297.5 kB / 0.5642 GB, free: 9.422 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.306e-06/0.5291, allocations: 7.938 kB / 0.5642 GB, free: 9.414 MB / 414.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0008532/0.5299, allocations: 332.8 kB / 0.5645 GB, free: 9.082 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.128e-05/0.53, allocations: 10.66 kB / 0.5645 GB, free: 9.074 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.125e-05/0.53, allocations: 4 kB / 0.5645 GB, free: 9.07 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.64e-05/0.53, allocations: 11.92 kB / 0.5645 GB, free: 9.059 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002824/0.5303, allocations: 71.89 kB / 0.5646 GB, free: 8.988 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.556e-05/0.5304, allocations: 4.469 kB / 0.5646 GB, free: 8.984 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002718/0.5306, allocations: 47.58 kB / 0.5647 GB, free: 8.938 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.092e-05/0.5307, allocations: 16 kB / 0.5647 GB, free: 8.922 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_2.medium.phase,boundary_prescriberho_1.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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000209/0.5309, allocations: 153.8 kB / 0.5648 GB, free: 8.762 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.655e-05/0.531, allocations: 31.62 kB / 0.5649 GB, free: 8.73 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001648/0.5326, allocations: 1.125 MB / 0.566 GB, free: 7.598 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.462e-05/0.5327, allocations: 11.98 kB / 0.566 GB, free: 7.586 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.43e-06/0.5327, allocations: 4 kB / 0.566 GB, free: 7.582 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.502e-06/0.5327, allocations: 7.922 kB / 0.566 GB, free: 7.574 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007796/0.5335, allocations: 0.6617 MB / 0.5666 GB, free: 6.871 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.727e-06/0.5335, allocations: 0 / 0.5666 GB, free: 6.871 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002319/0.5337, allocations: 51.95 kB / 0.5667 GB, free: 6.82 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.747e-06/0.5337, allocations: 0 / 0.5667 GB, free: 6.82 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.956e-05/0.5338, allocations: 7.938 kB / 0.5667 GB, free: 6.812 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.998e-06/0.5338, allocations: 3.938 kB / 0.5667 GB, free: 6.809 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.312e-06/0.5338, allocations: 0 / 0.5667 GB, free: 6.809 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000963/0.5347, allocations: 0.618 MB / 0.5673 GB, free: 6.176 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001237/0.5349, allocations: 140.2 kB / 0.5674 GB, free: 6.02 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.913e-05/0.535, allocations: 23.62 kB / 0.5674 GB, free: 5.996 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002175/0.5352, allocations: 19.98 kB / 0.5675 GB, free: 5.977 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.151e-05/0.5353, allocations: 19.97 kB / 0.5675 GB, free: 5.957 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.674e-05/0.5353, allocations: 4 kB / 0.5675 GB, free: 5.953 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.000438/0.5357, allocations: 346.8 kB / 0.5678 GB, free: 5.617 MB / 414.1 MB Notification: Performance of sort global known variables: time 2.185e-06/0.5357, allocations: 4 kB / 0.5678 GB, free: 5.613 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.002713/0.5385, allocations: 0.8433 MB / 0.5686 GB, free: 4.77 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.005275/0.5437, allocations: 2.083 MB / 0.5707 GB, free: 2.746 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0009754/0.5447, allocations: 361 kB / 0.571 GB, free: 2.395 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/0.5447, allocations: 0 / 0.571 GB, free: 2.395 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00045/0.5452, allocations: 264.5 kB / 0.5713 GB, free: 2.137 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001097/0.5463, allocations: 183.5 kB / 0.5714 GB, free: 1.965 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007946/0.5543, allocations: 4.343 MB / 0.5757 GB, free: 13.46 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006578/0.555, allocations: 0.8837 MB / 0.5766 GB, free: 12.55 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0005403/0.5555, allocations: 182.5 kB / 0.5767 GB, free: 12.38 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002685/0.5558, allocations: 195.4 kB / 0.5769 GB, free: 12.19 MB / 430.1 MB Notification: Performance of SimCode: time 1.143e-06/0.5558, allocations: 0 / 0.5769 GB, free: 12.19 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08448/0.6403, allocations: 40.44 MB / 0.6164 GB, free: 3.902 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.1/10.74, allocations: 11.73 kB / 0.6164 GB, free: 3.891 MB / 462.1 MB (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Fluid_TestComponents_Sensors_TestSpecificEntropy_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0-beta_om_ModelicaTest_Fluid_TestComponents_Sensors_TestSpecificEntropy.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy.pipe 2>&1)