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.001333/0.001333, allocations: 118.8 kB / 17.78 MB, free: 5.254 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00145/0.00145, allocations: 202 kB / 18.73 MB, free: 4.309 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.52/1.52, allocations: 227.4 MB / 247 MB, free: 10.4 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.2288/0.2288, allocations: 46.11 MB / 344.3 MB, free: 11.44 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.002249/0.002249, allocations: 87.86 kB / 480.9 MB, free: 4.504 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3656/0.3679, allocations: 62.44 MB / 0.5306 GB, free: 13.37 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy): time 0.03875/0.4067, allocations: 30.22 MB / 0.5601 GB, free: 3.402 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.03156/0.4383, allocations: 17.63 MB / 0.5773 GB, free: 1.711 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00063/0.439, allocations: 11.94 kB / 0.5773 GB, free: 1.699 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00111/0.4401, allocations: 218.6 kB / 0.5775 GB, free: 1.484 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001097/0.4413, allocations: 274.3 kB / 0.5778 GB, free: 1.215 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.02401/0.4653, allocations: 6.048 MB / 0.5837 GB, free: 11.17 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.001289/0.4666, allocations: 0.8381 MB / 0.5845 GB, free: 10.33 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004275/0.467, allocations: 244.7 kB / 0.5848 GB, free: 10.09 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01328/0.4803, allocations: 5.454 MB / 0.5901 GB, free: 4.555 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004919/0.4809, allocations: 243 kB / 0.5903 GB, free: 4.316 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 6.672e-05/0.4809, allocations: 32 kB / 0.5904 GB, free: 4.285 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01262/0.4936, allocations: 6.334 MB / 0.5965 GB, free: 13.94 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000189/0.4938, allocations: 91.67 kB / 0.5966 GB, free: 13.85 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003098/0.4941, allocations: 195.1 kB / 0.5968 GB, free: 13.66 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009428/0.5035, allocations: 3.854 MB / 0.6006 GB, free: 9.797 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.931e-06/0.5036, allocations: 3.938 kB / 0.6006 GB, free: 9.793 MB / 462.1 MB Notification: Performance of FrontEnd: time 2.124e-06/0.5036, allocations: 0 / 0.6006 GB, free: 9.793 MB / 462.1 MB Notification: Performance of Transformations before backend: time 1.35e-05/0.5036, allocations: 4 kB / 0.6006 GB, free: 9.789 MB / 462.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.002435/0.506, allocations: 1.08 MB / 0.6016 GB, free: 8.656 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.709e-05/0.5061, allocations: 8.031 kB / 0.6016 GB, free: 8.648 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.751e-05/0.5062, allocations: 66.72 kB / 0.6017 GB, free: 8.574 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001616/0.5078, allocations: 200.5 kB / 0.6019 GB, free: 8.379 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005589/0.5084, allocations: 358.6 kB / 0.6022 GB, free: 7.988 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.95e-05/0.5084, allocations: 20.94 kB / 0.6023 GB, free: 7.969 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.038e-05/0.5085, allocations: 32.12 kB / 0.6023 GB, free: 7.938 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001295/0.5098, allocations: 486.9 kB / 0.6028 GB, free: 7.422 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.502e-05/0.5098, allocations: 4 kB / 0.6028 GB, free: 7.418 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.704e-05/0.5099, allocations: 15.98 kB / 0.6028 GB, free: 7.402 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.666e-06/0.5099, allocations: 4 kB / 0.6028 GB, free: 7.398 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001234/0.5111, allocations: 413.2 kB / 0.6032 GB, free: 6.996 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003415/0.5145, allocations: 2.423 MB / 0.6055 GB, free: 4.359 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001191/0.5157, allocations: 322.3 kB / 0.6058 GB, free: 4.035 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003017/0.5161, allocations: 112.7 kB / 0.606 GB, free: 3.922 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03641/0.5525, allocations: 18.38 MB / 0.6239 GB, free: 15.18 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.943e-05/0.5526, allocations: 38.56 kB / 0.6239 GB, free: 15.13 MB / 494.1 MB Notification: Performance of pre-optimization done (n=15): time 2.034e-06/0.5526, allocations: 4 kB / 0.6239 GB, free: 15.12 MB / 494.1 MB Notification: Performance of matching and sorting (n=15): time 0.002166/0.5547, allocations: 0.5272 MB / 0.6245 GB, free: 14.59 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.001e-05/0.5548, allocations: 106.8 kB / 0.6246 GB, free: 14.46 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004532/0.5553, allocations: 324.4 kB / 0.6249 GB, free: 14.14 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 3.367e-05/0.5553, allocations: 29.7 kB / 0.6249 GB, free: 14.1 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002131/0.5556, allocations: 204 kB / 0.6251 GB, free: 13.9 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.283e-05/0.5556, allocations: 55.52 kB / 0.6251 GB, free: 13.84 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001129/0.5558, allocations: 69.64 kB / 0.6252 GB, free: 13.77 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0002233/0.556, allocations: 342.8 kB / 0.6255 GB, free: 13.43 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002857/0.5563, allocations: 91.92 kB / 0.6256 GB, free: 13.34 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004278/0.5567, allocations: 215.4 kB / 0.6258 GB, free: 13.07 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006877/0.5574, allocations: 297.4 kB / 0.6261 GB, free: 12.73 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.597e-06/0.5574, allocations: 0 / 0.6261 GB, free: 12.73 MB / 494.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0008234/0.5583, allocations: 337.1 kB / 0.6264 GB, free: 12.39 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.615e-05/0.5583, allocations: 8 kB / 0.6264 GB, free: 12.39 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.245e-05/0.5583, allocations: 7.938 kB / 0.6265 GB, free: 12.38 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.516e-05/0.5583, allocations: 4 kB / 0.6265 GB, free: 12.38 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003037/0.5587, allocations: 67.89 kB / 0.6265 GB, free: 12.31 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.129e-05/0.5587, allocations: 15.92 kB / 0.6265 GB, free: 12.29 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000277/0.559, allocations: 44.17 kB / 0.6266 GB, free: 12.25 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.435e-05/0.559, allocations: 16 kB / 0.6266 GB, free: 12.23 MB / 494.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.0002222/0.5592, allocations: 161.6 kB / 0.6267 GB, free: 12.07 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.435e-05/0.5593, allocations: 31.77 kB / 0.6268 GB, free: 12.04 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001556/0.5609, allocations: 1.113 MB / 0.6279 GB, free: 10.91 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.676e-05/0.5609, allocations: 11.98 kB / 0.6279 GB, free: 10.9 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.869e-06/0.5609, allocations: 0 / 0.6279 GB, free: 10.9 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.957e-06/0.5609, allocations: 0 / 0.6279 GB, free: 10.9 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007565/0.5617, allocations: 0.6641 MB / 0.6285 GB, free: 10.19 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.005e-06/0.5617, allocations: 4 kB / 0.6285 GB, free: 10.18 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002258/0.5619, allocations: 59.88 kB / 0.6286 GB, free: 10.12 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.216e-06/0.562, allocations: 0 / 0.6286 GB, free: 10.12 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.596e-05/0.562, allocations: 3.938 kB / 0.6286 GB, free: 10.12 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.645e-06/0.562, allocations: 7.984 kB / 0.6286 GB, free: 10.11 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-06/0.562, allocations: 0 / 0.6286 GB, free: 10.11 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009413/0.5629, allocations: 0.6235 MB / 0.6292 GB, free: 9.469 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001128/0.5631, allocations: 124.7 kB / 0.6293 GB, free: 9.328 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.861e-05/0.5631, allocations: 35.7 kB / 0.6294 GB, free: 9.293 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002077/0.5633, allocations: 15.98 kB / 0.6294 GB, free: 9.277 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.899e-05/0.5634, allocations: 23.97 kB / 0.6294 GB, free: 9.254 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.512e-05/0.5635, allocations: 7.938 kB / 0.6294 GB, free: 9.246 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0003997/0.5639, allocations: 342.9 kB / 0.6297 GB, free: 8.91 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.5639, allocations: 0 / 0.6297 GB, free: 8.91 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.002288/0.5662, allocations: 0.8616 MB / 0.6306 GB, free: 8.047 MB / 494.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.004865/0.571, allocations: 2.095 MB / 0.6326 GB, free: 5.938 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0008877/0.5719, allocations: 352.3 kB / 0.633 GB, free: 5.598 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 3.998e-06/0.572, allocations: 0 / 0.633 GB, free: 5.598 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004187/0.5724, allocations: 260.5 kB / 0.6332 GB, free: 5.344 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00108/0.5735, allocations: 191.4 kB / 0.6334 GB, free: 5.16 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006835/0.5803, allocations: 4.291 MB / 0.6376 GB, free: 0.6836 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005349/0.5809, allocations: 0.8758 MB / 0.6384 GB, free: 15.78 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0004029/0.5813, allocations: 176.2 kB / 0.6386 GB, free: 15.61 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002529/0.5816, allocations: 195.4 kB / 0.6388 GB, free: 15.42 MB / 0.4981 GB Notification: Performance of SimCode: time 6.22e-07/0.5816, allocations: 0 / 0.6388 GB, free: 15.42 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07936/0.6609, allocations: 40.5 MB / 0.6783 GB, free: 7.086 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.56/11.22, allocations: 7.266 kB / 0.6783 GB, free: 7.082 MB / 0.5294 GB (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 & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy_res.csv --start-time 0 --stop-time 1.01 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.000404 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)