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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001687/0.001687, allocations: 118.8 kB / 18.49 MB, free: 4.59 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001758/0.001758, allocations: 212.7 kB / 21.45 MB, free: 1.637 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.495/1.495, allocations: 230.4 MB / 254.7 MB, free: 15.04 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2492/0.2492, allocations: 46.92 MB / 357.7 MB, free: 10.18 MB / 286.1 MB " [Timeout remaining time 180] 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_Sensors_TestSpecificEntropy",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002241/0.002241, allocations: 75.88 kB / 0.4916 GB, free: 7.715 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1516/0.1538, allocations: 66.05 MB / 0.5562 GB, free: 5.531 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy): time 0.03618/0.19, allocations: 30.39 MB / 0.5858 GB, free: 7.02 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.3369/0.527, allocations: 17.69 MB / 0.6031 GB, free: 3.684 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000414/0.5274, allocations: 15.38 kB / 0.6031 GB, free: 3.684 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007784/0.5282, allocations: 220.2 kB / 0.6033 GB, free: 3.68 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006458/0.5288, allocations: 279.2 kB / 0.6036 GB, free: 3.668 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01853/0.5473, allocations: 6.056 MB / 0.6095 GB, free: 3.359 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.001465/0.5488, allocations: 0.8533 MB / 0.6103 GB, free: 3.184 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003841/0.5492, allocations: 205.2 kB / 0.6105 GB, free: 3.168 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01058/0.5598, allocations: 5.477 MB / 0.6159 GB, free: 1.562 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004582/0.5602, allocations: 251.1 kB / 0.6161 GB, free: 1.512 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 7.435e-05/0.5603, allocations: 29.94 kB / 0.6162 GB, free: 1.512 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01309/0.5734, allocations: 6.344 MB / 0.6224 GB, free: 0.7617 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001653/0.5736, allocations: 92.52 kB / 0.6224 GB, free: 0.7305 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003117/0.5739, allocations: 197.9 kB / 0.6226 GB, free: 0.6289 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01123/0.5851, allocations: 3.867 MB / 0.6264 GB, free: 14.33 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.293e-06/0.5851, allocations: 0 / 0.6264 GB, free: 14.33 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.774e-06/0.5851, allocations: 0 / 0.6264 GB, free: 14.33 MB / 462.1 MB Notification: Performance of Transformations before backend: time 1.144e-05/0.5851, allocations: 1.812 kB / 0.6264 GB, free: 14.33 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.003711/0.5888, allocations: 1.064 MB / 0.6274 GB, free: 13.5 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.428e-05/0.5889, allocations: 13.88 kB / 0.6275 GB, free: 13.5 MB / 462.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.863e-05/0.5889, allocations: 13.81 kB / 0.6275 GB, free: 13.5 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.562e-05/0.589, allocations: 66.81 kB / 0.6275 GB, free: 13.43 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001705/0.5907, allocations: 200.6 kB / 0.6277 GB, free: 13.36 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007157/0.5914, allocations: 360.4 kB / 0.6281 GB, free: 13.02 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.588e-05/0.5915, allocations: 28.66 kB / 0.6281 GB, free: 13.01 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.656e-05/0.5915, allocations: 29.47 kB / 0.6281 GB, free: 13 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001343/0.5929, allocations: 485.5 kB / 0.6286 GB, free: 12.66 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.281e-05/0.5929, allocations: 1.719 kB / 0.6286 GB, free: 12.66 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.69e-05/0.5929, allocations: 15.88 kB / 0.6286 GB, free: 12.65 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.12e-05/0.5929, allocations: 10.92 kB / 0.6286 GB, free: 12.65 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001237/0.5941, allocations: 399.9 kB / 0.629 GB, free: 12.47 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003498/0.5976, allocations: 2.425 MB / 0.6314 GB, free: 10.2 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001168/0.5988, allocations: 316.2 kB / 0.6317 GB, free: 10.03 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002808/0.5991, allocations: 98.98 kB / 0.6318 GB, free: 9.98 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03751/0.6366, allocations: 18.39 MB / 0.6497 GB, free: 9.02 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.119e-05/0.6366, allocations: 38.25 kB / 0.6498 GB, free: 8.977 MB / 478.1 MB Notification: Performance of pre-optimization done (n=15): time 1.944e-06/0.6366, allocations: 0 / 0.6498 GB, free: 8.977 MB / 478.1 MB Notification: Performance of matching and sorting (n=15): time 0.002279/0.6389, allocations: 0.5264 MB / 0.6503 GB, free: 8.445 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001168/0.639, allocations: 110.8 kB / 0.6504 GB, free: 8.312 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004686/0.6395, allocations: 324.4 kB / 0.6507 GB, free: 7.992 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 6.247e-05/0.6396, allocations: 33.7 kB / 0.6507 GB, free: 7.953 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001751/0.6398, allocations: 210.5 kB / 0.6509 GB, free: 7.746 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.954e-05/0.6398, allocations: 51.58 kB / 0.651 GB, free: 7.695 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001354/0.6399, allocations: 69.64 kB / 0.651 GB, free: 7.621 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.000182/0.6401, allocations: 338.8 kB / 0.6514 GB, free: 7.281 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003066/0.6404, allocations: 99.86 kB / 0.6514 GB, free: 7.184 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004352/0.6409, allocations: 215.3 kB / 0.6517 GB, free: 6.918 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000701/0.6416, allocations: 298 kB / 0.6519 GB, free: 6.578 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.517e-06/0.6416, allocations: 0 / 0.6519 GB, free: 6.578 MB / 478.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0009091/0.6425, allocations: 349.1 kB / 0.6523 GB, free: 6.234 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.793e-05/0.6425, allocations: 4 kB / 0.6523 GB, free: 6.23 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.687e-05/0.6425, allocations: 7.938 kB / 0.6523 GB, free: 6.223 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.297e-05/0.6425, allocations: 4 kB / 0.6523 GB, free: 6.219 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002855/0.6428, allocations: 71.89 kB / 0.6524 GB, free: 6.148 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.273e-05/0.6428, allocations: 9.859 kB / 0.6524 GB, free: 6.141 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002865/0.6431, allocations: 51.66 kB / 0.6524 GB, free: 6.09 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.975e-05/0.6432, allocations: 16.16 kB / 0.6524 GB, free: 6.074 MB / 478.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.0001974/0.6434, allocations: 153.8 kB / 0.6526 GB, free: 5.914 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.531e-05/0.6434, allocations: 31.81 kB / 0.6526 GB, free: 5.883 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001661/0.6451, allocations: 1.114 MB / 0.6537 GB, free: 4.77 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.103e-05/0.6451, allocations: 11.98 kB / 0.6537 GB, free: 4.758 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.891e-06/0.6451, allocations: 0 / 0.6537 GB, free: 4.758 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.32e-06/0.6451, allocations: 0 / 0.6537 GB, free: 4.758 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009013/0.646, allocations: 0.665 MB / 0.6544 GB, free: 4.047 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.989e-06/0.646, allocations: 0 / 0.6544 GB, free: 4.047 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002382/0.6463, allocations: 51.88 kB / 0.6544 GB, free: 3.996 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.206e-06/0.6463, allocations: 8 kB / 0.6544 GB, free: 3.988 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.787e-05/0.6463, allocations: 11.88 kB / 0.6544 GB, free: 3.977 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.314e-06/0.6463, allocations: 0 / 0.6544 GB, free: 3.977 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.483e-06/0.6463, allocations: 3.938 kB / 0.6544 GB, free: 3.973 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009663/0.6473, allocations: 0.6197 MB / 0.655 GB, free: 3.332 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001237/0.6474, allocations: 132.6 kB / 0.6552 GB, free: 3.184 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.621e-05/0.6475, allocations: 32.59 kB / 0.6552 GB, free: 3.152 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002417/0.6477, allocations: 19.97 kB / 0.6552 GB, free: 3.133 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.608e-05/0.6478, allocations: 15.97 kB / 0.6552 GB, free: 3.117 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.978e-05/0.6478, allocations: 8 kB / 0.6552 GB, free: 3.109 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.0004246/0.6482, allocations: 342.9 kB / 0.6556 GB, free: 2.777 MB / 478.1 MB Notification: Performance of sort global known variables: time 7e-08/0.6482, allocations: 0 / 0.6556 GB, free: 2.777 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.003099/0.6513, allocations: 0.8655 MB / 0.6564 GB, free: 1.91 MB / 478.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.006109/0.6574, allocations: 2.072 MB / 0.6584 GB, free: 15.91 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0009001/0.6583, allocations: 340.2 kB / 0.6588 GB, free: 15.57 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 3.717e-06/0.6583, allocations: 4 kB / 0.6588 GB, free: 15.57 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003892/0.6587, allocations: 201.4 kB / 0.6589 GB, free: 15.38 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001105/0.6598, allocations: 191.3 kB / 0.6591 GB, free: 15.19 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007383/0.6672, allocations: 4.293 MB / 0.6633 GB, free: 10.74 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005036/0.6677, allocations: 0.8796 MB / 0.6642 GB, free: 9.836 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0003979/0.6681, allocations: 188.3 kB / 0.6644 GB, free: 9.656 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002464/0.6684, allocations: 195.4 kB / 0.6645 GB, free: 9.465 MB / 494.1 MB Notification: Performance of SimCode: time 8.01e-07/0.6684, allocations: 0 / 0.6645 GB, free: 9.465 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07374/0.7421, allocations: 40.53 MB / 0.7041 GB, free: 1.082 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.49/11.23, allocations: 7.812 kB / 0.7041 GB, free: 1.078 MB / 0.5137 GB " [Timeout remaining time 649] (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/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 --stepSize=0.000201597 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_Sensors_TestSpecificEntropy.fmu > ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 14.467951659986284] Failed to read output from testmodel.py, exit status != 0: ['time', 'specificEntropy.s', 'specificEntropy1.s'] 11.387605744006578 11.402961277 10.81474537 Calling exit ...