Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001616/0.001616, allocations: 112.2 kB / 21.22 MB, free: 0.7305 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002101/0.002101, allocations: 212.2 kB / 24.53 MB, free: 4.07 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.497/1.497, allocations: 230.6 MB / 258.3 MB, free: 7.996 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2279/0.2279, allocations: 44.91 MB / 359.6 MB, free: 6.285 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_TestComponents_Sensors_TestSpecificEntropy",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_TestComponents_Sensors_TestSpecificEntropy",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: ModelicaTest requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002/0.002, allocations: 59.89 kB / 0.4939 GB, free: 10.71 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3459/0.3479, allocations: 65.47 MB / 0.5578 GB, free: 7.543 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy): time 0.03924/0.3871, allocations: 30.65 MB / 0.5877 GB, free: 9.027 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.02318/0.4103, allocations: 17.78 MB / 0.6051 GB, free: 7.191 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004576/0.4108, allocations: 15.88 kB / 0.6051 GB, free: 7.176 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008145/0.4116, allocations: 222.5 kB / 0.6053 GB, free: 6.957 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007825/0.4124, allocations: 282.3 kB / 0.6056 GB, free: 6.68 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0189/0.4313, allocations: 6.085 MB / 0.6115 GB, free: 0.5977 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.001607/0.4329, allocations: 0.8537 MB / 0.6124 GB, free: 15.74 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000476/0.4334, allocations: 204.9 kB / 0.6126 GB, free: 15.54 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0156/0.449, allocations: 5.493 MB / 0.6179 GB, free: 9.961 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008161/0.4498, allocations: 255 kB / 0.6182 GB, free: 9.711 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 9.932e-05/0.4499, allocations: 31.94 kB / 0.6182 GB, free: 9.68 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01759/0.4675, allocations: 6.357 MB / 0.6244 GB, free: 3.316 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002241/0.4677, allocations: 91.73 kB / 0.6245 GB, free: 3.227 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003777/0.4681, allocations: 191.1 kB / 0.6247 GB, free: 3.039 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01156/0.4796, allocations: 3.866 MB / 0.6284 GB, free: 15.16 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.073e-06/0.4796, allocations: 4 kB / 0.6284 GB, free: 15.16 MB / 478.1 MB Notification: Performance of FrontEnd: time 2.594e-06/0.4796, allocations: 0 / 0.6284 GB, free: 15.16 MB / 478.1 MB Notification: Performance of Transformations before backend: time 1.467e-05/0.4796, allocations: 0 / 0.6284 GB, free: 15.16 MB / 478.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.003514/0.4832, allocations: 1.001 MB / 0.6294 GB, free: 14.12 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.448e-05/0.4832, allocations: 15.91 kB / 0.6294 GB, free: 14.11 MB / 478.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.727e-05/0.4833, allocations: 12.83 kB / 0.6295 GB, free: 14.09 MB / 478.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001087/0.4834, allocations: 62.73 kB / 0.6295 GB, free: 14.02 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002675/0.486, allocations: 204.5 kB / 0.6297 GB, free: 13.82 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000824/0.4869, allocations: 288.9 kB / 0.63 GB, free: 13.51 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.495e-05/0.4869, allocations: 28.97 kB / 0.63 GB, free: 13.48 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.127e-05/0.487, allocations: 27.94 kB / 0.63 GB, free: 13.46 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001877/0.4889, allocations: 484.1 kB / 0.6305 GB, free: 12.95 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.966e-05/0.4889, allocations: 4 kB / 0.6305 GB, free: 12.94 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.466e-05/0.4889, allocations: 12 kB / 0.6305 GB, free: 12.93 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.261e-05/0.4889, allocations: 4 kB / 0.6305 GB, free: 12.93 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00181/0.4908, allocations: 409.3 kB / 0.6309 GB, free: 12.53 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004911/0.4957, allocations: 2.241 MB / 0.6331 GB, free: 10.12 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001838/0.4975, allocations: 318.2 kB / 0.6334 GB, free: 9.797 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000426/0.4979, allocations: 104.7 kB / 0.6335 GB, free: 9.691 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.04532/0.5433, allocations: 8.835 MB / 0.6421 GB, free: 0.8477 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.276e-05/0.5433, allocations: 38.56 kB / 0.6422 GB, free: 0.8008 MB / 478.1 MB Notification: Performance of pre-optimization done (n=15): time 3.236e-06/0.5433, allocations: 0 / 0.6422 GB, free: 0.8008 MB / 478.1 MB Notification: Performance of matching and sorting (n=15): time 0.003094/0.5464, allocations: 0.5195 MB / 0.6427 GB, free: 284 kB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.376e-05/0.5465, allocations: 106.8 kB / 0.6428 GB, free: 152 kB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000569/0.5471, allocations: 332.4 kB / 0.6431 GB, free: 15.81 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 3.956e-05/0.5471, allocations: 25.7 kB / 0.6431 GB, free: 15.78 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002129/0.5473, allocations: 216.1 kB / 0.6433 GB, free: 15.56 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.695e-05/0.5474, allocations: 55.52 kB / 0.6434 GB, free: 15.51 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001415/0.5475, allocations: 65.66 kB / 0.6434 GB, free: 15.44 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0002151/0.5477, allocations: 342.8 kB / 0.6438 GB, free: 15.09 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004097/0.5482, allocations: 95.86 kB / 0.6439 GB, free: 15 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005441/0.5487, allocations: 211.4 kB / 0.6441 GB, free: 14.74 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009278/0.5496, allocations: 293.4 kB / 0.6443 GB, free: 14.4 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.857e-06/0.5496, allocations: 0 / 0.6443 GB, free: 14.4 MB / 494.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.001176/0.5508, allocations: 344.2 kB / 0.6447 GB, free: 14.06 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.435e-05/0.5508, allocations: 15.97 kB / 0.6447 GB, free: 14.05 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.254e-05/0.5508, allocations: 4 kB / 0.6447 GB, free: 14.04 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.174e-05/0.5509, allocations: 4 kB / 0.6447 GB, free: 14.04 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004066/0.5513, allocations: 63.89 kB / 0.6448 GB, free: 13.98 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.581e-05/0.5513, allocations: 8 kB / 0.6448 GB, free: 13.97 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003834/0.5517, allocations: 43.7 kB / 0.6448 GB, free: 13.93 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.392e-05/0.5517, allocations: 19.98 kB / 0.6448 GB, free: 13.91 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.0002494/0.552, allocations: 153.7 kB / 0.645 GB, free: 13.75 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001091/0.5521, allocations: 43.69 kB / 0.645 GB, free: 13.7 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002204/0.5543, allocations: 1.145 MB / 0.6461 GB, free: 12.55 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.357e-05/0.5543, allocations: 15.97 kB / 0.6461 GB, free: 12.54 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.222e-06/0.5543, allocations: 0 / 0.6461 GB, free: 12.54 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.451e-06/0.5543, allocations: 0 / 0.6461 GB, free: 12.54 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00102/0.5553, allocations: 0.6553 MB / 0.6468 GB, free: 11.84 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.388e-06/0.5553, allocations: 0 / 0.6468 GB, free: 11.84 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003278/0.5557, allocations: 55.83 kB / 0.6468 GB, free: 11.78 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.556e-06/0.5557, allocations: 3.938 kB / 0.6468 GB, free: 11.78 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.15e-05/0.5557, allocations: 8 kB / 0.6468 GB, free: 11.77 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.386e-06/0.5557, allocations: 0 / 0.6468 GB, free: 11.77 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.714e-06/0.5557, allocations: 0 / 0.6468 GB, free: 11.77 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001375/0.5571, allocations: 0.6313 MB / 0.6475 GB, free: 11.12 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001223/0.5572, allocations: 67.47 kB / 0.6475 GB, free: 11.05 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000104/0.5573, allocations: 31.72 kB / 0.6476 GB, free: 11.02 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003217/0.5576, allocations: 11.98 kB / 0.6476 GB, free: 11.01 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001005/0.5577, allocations: 23.95 kB / 0.6476 GB, free: 10.98 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.295e-05/0.5577, allocations: 4 kB / 0.6476 GB, free: 10.98 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0005784/0.5583, allocations: 342.9 kB / 0.6479 GB, free: 10.64 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.5583, allocations: 0 / 0.6479 GB, free: 10.64 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.003627/0.562, allocations: 0.8616 MB / 0.6488 GB, free: 9.781 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.007511/0.5695, allocations: 2.082 MB / 0.6508 GB, free: 7.676 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.001286/0.5707, allocations: 356.8 kB / 0.6511 GB, free: 7.328 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 5.38e-06/0.5708, allocations: 0 / 0.6511 GB, free: 7.328 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005396/0.5713, allocations: 212.4 kB / 0.6513 GB, free: 7.121 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001579/0.5729, allocations: 193.1 kB / 0.6515 GB, free: 6.941 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01044/0.5833, allocations: 4.3 MB / 0.6557 GB, free: 2.461 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006699/0.584, allocations: 0.8875 MB / 0.6566 GB, free: 1.543 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0005756/0.5846, allocations: 181.3 kB / 0.6568 GB, free: 1.371 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000352/0.5849, allocations: 203.3 kB / 0.657 GB, free: 1.172 MB / 494.1 MB Notification: Performance of SimCode: time 8.01e-07/0.5849, allocations: 0 / 0.657 GB, free: 1.172 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1051/0.69, allocations: 41.07 MB / 0.6971 GB, free: 8.277 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.95/14.64, allocations: 15.12 kB / 0.6971 GB, free: 8.266 MB / 0.5294 GB " [Timeout remaining time 645] (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Fluid_TestComponents_Sensors_TestSpecificEntropy_fmu --startTime=0 --stopTime=1.01 --stepSize=0.000201597 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Fluid_TestComponents_Sensors_TestSpecificEntropy.fmu > ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 17.74094225402223] Failed to read output from testmodel.py, exit status != 0: ['time', 'specificEntropy.s', 'specificEntropy1.s'] 14.841855130973272 14.867232845 14.382798683 Calling exit ...