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.001304/0.001304, allocations: 117.2 kB / 17.79 MB, free: 5.273 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001478/0.001478, allocations: 199.8 kB / 18.74 MB, free: 4.332 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.495/1.495, allocations: 227.4 MB / 247 MB, free: 10.41 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.2261/0.2261, allocations: 46.11 MB / 344.3 MB, free: 11.43 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.00222/0.00222, allocations: 79.88 kB / 480.9 MB, free: 4.488 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.386/0.3883, allocations: 62.44 MB / 0.5306 GB, free: 13.36 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy): time 0.0396/0.4279, allocations: 30.22 MB / 0.5601 GB, free: 3.414 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.02487/0.4528, allocations: 17.63 MB / 0.5773 GB, free: 1.723 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006761/0.4536, allocations: 15.88 kB / 0.5773 GB, free: 1.707 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008292/0.4544, allocations: 218.6 kB / 0.5775 GB, free: 1.492 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008015/0.4553, allocations: 274.4 kB / 0.5778 GB, free: 1.223 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01969/0.475, allocations: 6.044 MB / 0.5837 GB, free: 11.18 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.001413/0.4764, allocations: 0.842 MB / 0.5845 GB, free: 10.34 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000454/0.4769, allocations: 240.7 kB / 0.5848 GB, free: 10.1 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01361/0.4905, allocations: 5.45 MB / 0.5901 GB, free: 4.57 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006226/0.4912, allocations: 251 kB / 0.5903 GB, free: 4.324 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 8.445e-05/0.4913, allocations: 28 kB / 0.5904 GB, free: 4.297 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0137/0.505, allocations: 6.337 MB / 0.5965 GB, free: 13.95 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002003/0.5052, allocations: 91.67 kB / 0.5966 GB, free: 13.86 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003363/0.5055, allocations: 191.2 kB / 0.5968 GB, free: 13.67 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01044/0.516, allocations: 3.854 MB / 0.6006 GB, free: 9.809 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.611e-06/0.516, allocations: 3.938 kB / 0.6006 GB, free: 9.805 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.593e-06/0.516, allocations: 4 kB / 0.6006 GB, free: 9.801 MB / 462.1 MB Notification: Performance of Transformations before backend: time 8.476e-06/0.5161, allocations: 0 / 0.6006 GB, free: 9.801 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.002766/0.5188, allocations: 1.08 MB / 0.6016 GB, free: 8.668 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.316e-05/0.5189, allocations: 8.031 kB / 0.6016 GB, free: 8.66 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.514e-05/0.519, allocations: 66.72 kB / 0.6017 GB, free: 8.586 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001674/0.5207, allocations: 204.5 kB / 0.6019 GB, free: 8.387 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006266/0.5213, allocations: 354.7 kB / 0.6022 GB, free: 8 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.501e-05/0.5213, allocations: 20.94 kB / 0.6023 GB, free: 7.98 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.343e-05/0.5214, allocations: 28.12 kB / 0.6023 GB, free: 7.953 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001308/0.5227, allocations: 486.9 kB / 0.6028 GB, free: 7.438 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.925e-05/0.5228, allocations: 11.92 kB / 0.6028 GB, free: 7.426 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.816e-05/0.5228, allocations: 12 kB / 0.6028 GB, free: 7.414 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.057e-06/0.5228, allocations: 4 kB / 0.6028 GB, free: 7.41 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001276/0.5241, allocations: 409.3 kB / 0.6032 GB, free: 7.012 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003495/0.5276, allocations: 2.427 MB / 0.6055 GB, free: 4.371 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00121/0.5288, allocations: 330.2 kB / 0.6059 GB, free: 4.039 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003106/0.5292, allocations: 108.8 kB / 0.606 GB, free: 3.93 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03749/0.5666, allocations: 18.37 MB / 0.6239 GB, free: 15.19 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.776e-05/0.5668, allocations: 38.56 kB / 0.6239 GB, free: 15.14 MB / 494.1 MB Notification: Performance of pre-optimization done (n=15): time 4.128e-06/0.5668, allocations: 0 / 0.6239 GB, free: 15.14 MB / 494.1 MB Notification: Performance of matching and sorting (n=15): time 0.002203/0.569, allocations: 0.5312 MB / 0.6245 GB, free: 14.61 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.148e-05/0.5691, allocations: 106.8 kB / 0.6246 GB, free: 14.48 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004321/0.5695, allocations: 324.4 kB / 0.6249 GB, free: 14.15 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 3.02e-05/0.5696, allocations: 29.7 kB / 0.6249 GB, free: 14.11 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001744/0.5697, allocations: 208 kB / 0.6251 GB, free: 13.91 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.082e-05/0.5698, allocations: 51.59 kB / 0.6251 GB, free: 13.86 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001114/0.5699, allocations: 69.64 kB / 0.6252 GB, free: 13.78 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001769/0.5701, allocations: 338.8 kB / 0.6255 GB, free: 13.44 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002845/0.5704, allocations: 91.92 kB / 0.6256 GB, free: 13.35 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004032/0.5708, allocations: 215.3 kB / 0.6258 GB, free: 13.09 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006587/0.5715, allocations: 293.4 kB / 0.6261 GB, free: 12.75 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.695e-06/0.5715, allocations: 0 / 0.6261 GB, free: 12.75 MB / 494.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0007926/0.5723, allocations: 337 kB / 0.6264 GB, free: 12.41 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.362e-05/0.5723, allocations: 14.28 kB / 0.6264 GB, free: 12.4 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.238e-05/0.5723, allocations: 7.938 kB / 0.6264 GB, free: 12.39 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.179e-05/0.5724, allocations: 8 kB / 0.6265 GB, free: 12.39 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002747/0.5726, allocations: 67.89 kB / 0.6265 GB, free: 12.32 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.217e-05/0.5727, allocations: 12.45 kB / 0.6265 GB, free: 12.31 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00024/0.5729, allocations: 43.77 kB / 0.6266 GB, free: 12.27 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.951e-05/0.5729, allocations: 16 kB / 0.6266 GB, free: 12.25 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.0001775/0.5731, allocations: 161.6 kB / 0.6267 GB, free: 12.08 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.097e-05/0.5732, allocations: 35.75 kB / 0.6268 GB, free: 12.05 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001609/0.5748, allocations: 1.113 MB / 0.6279 GB, free: 10.93 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.796e-05/0.5749, allocations: 11.98 kB / 0.6279 GB, free: 10.91 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.077e-06/0.5749, allocations: 3.938 kB / 0.6279 GB, free: 10.91 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.788e-06/0.5749, allocations: 0 / 0.6279 GB, free: 10.91 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007395/0.5756, allocations: 0.668 MB / 0.6285 GB, free: 10.19 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.566e-06/0.5756, allocations: 0 / 0.6285 GB, free: 10.19 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002252/0.5759, allocations: 55.94 kB / 0.6286 GB, free: 10.14 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.534e-06/0.5759, allocations: 0 / 0.6286 GB, free: 10.14 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.52e-05/0.5759, allocations: 3.938 kB / 0.6286 GB, free: 10.13 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.074e-06/0.5759, allocations: 4 kB / 0.6286 GB, free: 10.13 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.272e-06/0.5759, allocations: 0 / 0.6286 GB, free: 10.13 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009581/0.5769, allocations: 0.6274 MB / 0.6292 GB, free: 9.48 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001132/0.577, allocations: 128.7 kB / 0.6293 GB, free: 9.336 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.841e-05/0.5771, allocations: 31.7 kB / 0.6294 GB, free: 9.305 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002048/0.5773, allocations: 15.98 kB / 0.6294 GB, free: 9.289 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.162e-05/0.5774, allocations: 23.97 kB / 0.6294 GB, free: 9.266 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.518e-05/0.5774, allocations: 4 kB / 0.6294 GB, free: 9.262 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0003961/0.5778, allocations: 342.9 kB / 0.6297 GB, free: 8.926 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.5778, allocations: 0 / 0.6297 GB, free: 8.926 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.00268/0.5805, allocations: 0.8655 MB / 0.6306 GB, free: 8.059 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.005524/0.586, allocations: 2.097 MB / 0.6326 GB, free: 5.949 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.001054/0.5871, allocations: 353.1 kB / 0.633 GB, free: 5.605 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 3.677e-06/0.5871, allocations: 4 kB / 0.633 GB, free: 5.602 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004445/0.5876, allocations: 258.9 kB / 0.6332 GB, free: 5.352 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001118/0.5887, allocations: 183 kB / 0.6334 GB, free: 5.176 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008005/0.5967, allocations: 4.291 MB / 0.6376 GB, free: 0.6992 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000701/0.5975, allocations: 0.8758 MB / 0.6384 GB, free: 15.8 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0005111/0.598, allocations: 200.8 kB / 0.6386 GB, free: 15.61 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000289/0.5983, allocations: 187.4 kB / 0.6388 GB, free: 15.43 MB / 0.4981 GB Notification: Performance of SimCode: time 1.192e-06/0.5983, allocations: 4 kB / 0.6388 GB, free: 15.42 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08705/0.6854, allocations: 40.49 MB / 0.6783 GB, free: 7.094 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.75/11.44, allocations: 3.781 kB / 0.6783 GB, free: 7.094 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 & /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)