Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_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.001287/0.001287, allocations: 93.92 kB / 20.48 MB, free: 1.367 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.001474/0.001474, allocations: 216 kB / 23.78 MB, free: 4.523 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.561/1.561, allocations: 207.7 MB / 234.6 MB, free: 9.777 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2239/0.2239, allocations: 44.26 MB / 331.1 MB, free: 9.309 MB / 270.1 MB " [Timeout remaining time 179] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3_2_3_ModelicaTest_Fluid_TestComponents_Sensors_TestSpecificEntropy",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Fluid_TestComponents_Sensors_TestSpecificEntropy",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 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.002224/0.002224, allocations: 71.89 kB / 468.3 MB, free: 4.363 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1355/0.1377, allocations: 61.04 MB / 0.5169 GB, free: 7.195 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy): time 0.2887/0.4264, allocations: 27.56 MB / 0.5438 GB, free: 9.656 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.01851/0.4449, allocations: 15.61 MB / 0.5591 GB, free: 5.688 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004121/0.4453, allocations: 17.66 kB / 0.5591 GB, free: 5.676 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006356/0.446, allocations: 204.6 kB / 0.5593 GB, free: 5.594 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005865/0.4466, allocations: 275.6 kB / 0.5596 GB, free: 5.461 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01685/0.4634, allocations: 5.979 MB / 0.5654 GB, free: 3.324 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.001367/0.4648, allocations: 0.8441 MB / 0.5662 GB, free: 2.93 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000354/0.4651, allocations: 196 kB / 0.5664 GB, free: 2.84 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01274/0.4779, allocations: 5.475 MB / 0.5717 GB, free: 296 kB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005919/0.4785, allocations: 254.5 kB / 0.572 GB, free: 184 kB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 7.223e-05/0.4785, allocations: 30.75 kB / 0.572 GB, free: 184 kB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01471/0.4932, allocations: 6.287 MB / 0.5782 GB, free: 13.02 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002512/0.4935, allocations: 91.42 kB / 0.5782 GB, free: 12.95 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004239/0.4939, allocations: 165.8 kB / 0.5784 GB, free: 12.86 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01102/0.5049, allocations: 3.831 MB / 0.5821 GB, free: 10.43 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.941e-06/0.5049, allocations: 0 / 0.5821 GB, free: 10.43 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.673e-06/0.5049, allocations: 1.531 kB / 0.5821 GB, free: 10.43 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.4e-05/0.505, allocations: 3.938 kB / 0.5822 GB, free: 10.42 MB / 430.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.003069/0.508, allocations: 0.9933 MB / 0.5831 GB, free: 9.684 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.258e-05/0.5081, allocations: 14.06 kB / 0.5831 GB, free: 9.68 MB / 430.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.21e-05/0.5081, allocations: 6.812 kB / 0.5831 GB, free: 9.68 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.327e-05/0.5082, allocations: 60.58 kB / 0.5832 GB, free: 9.621 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001613/0.5098, allocations: 192.4 kB / 0.5834 GB, free: 9.547 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005922/0.5104, allocations: 288.1 kB / 0.5837 GB, free: 9.297 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.794e-05/0.5104, allocations: 25.5 kB / 0.5837 GB, free: 9.281 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.576e-05/0.5105, allocations: 29.12 kB / 0.5837 GB, free: 9.27 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001361/0.5118, allocations: 0.6286 MB / 0.5843 GB, free: 8.754 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.202e-05/0.5118, allocations: 1 kB / 0.5843 GB, free: 8.754 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.037e-05/0.5119, allocations: 12.47 kB / 0.5843 GB, free: 8.746 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.12e-05/0.5119, allocations: 6.531 kB / 0.5843 GB, free: 8.746 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001259/0.5132, allocations: 417.4 kB / 0.5847 GB, free: 8.547 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002902/0.5161, allocations: 1.817 MB / 0.5865 GB, free: 7.012 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00113/0.5172, allocations: 331.8 kB / 0.5868 GB, free: 6.836 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002791/0.5175, allocations: 93.42 kB / 0.5869 GB, free: 6.789 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0284/0.5459, allocations: 8.509 MB / 0.5952 GB, free: 2.273 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.934e-05/0.5459, allocations: 38.5 kB / 0.5953 GB, free: 2.227 MB / 430.1 MB Notification: Performance of pre-optimization done (n=15): time 1.943e-06/0.5459, allocations: 0 / 0.5953 GB, free: 2.227 MB / 430.1 MB Notification: Performance of matching and sorting (n=15): time 0.002199/0.5481, allocations: 0.5251 MB / 0.5958 GB, free: 1.695 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.666e-05/0.5482, allocations: 106.8 kB / 0.5959 GB, free: 1.566 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000396/0.5486, allocations: 332.4 kB / 0.5962 GB, free: 1.234 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 2.988e-05/0.5486, allocations: 25.7 kB / 0.5962 GB, free: 1.203 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001736/0.5488, allocations: 216.1 kB / 0.5964 GB, free: 0.9883 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.892e-05/0.5488, allocations: 51.58 kB / 0.5965 GB, free: 0.9375 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001092/0.549, allocations: 61.64 kB / 0.5965 GB, free: 0.8711 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001557/0.5491, allocations: 342.8 kB / 0.5969 GB, free: 0.5273 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002841/0.5494, allocations: 91.92 kB / 0.597 GB, free: 448 kB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004112/0.5498, allocations: 267.8 kB / 0.5972 GB, free: 112 kB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006642/0.5505, allocations: 298.9 kB / 0.5975 GB, free: 15.77 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.727e-06/0.5505, allocations: 0 / 0.5975 GB, free: 15.77 MB / 446.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.000795/0.5513, allocations: 340.8 kB / 0.5978 GB, free: 15.43 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.122e-05/0.5513, allocations: 8 kB / 0.5978 GB, free: 15.42 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.144e-05/0.5513, allocations: 7.938 kB / 0.5978 GB, free: 15.41 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.103e-05/0.5513, allocations: 4 kB / 0.5978 GB, free: 15.41 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002837/0.5516, allocations: 76.36 kB / 0.5979 GB, free: 15.34 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.464e-05/0.5516, allocations: 11.92 kB / 0.5979 GB, free: 15.32 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002902/0.5519, allocations: 43.72 kB / 0.598 GB, free: 15.28 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.918e-05/0.5519, allocations: 17.08 kB / 0.598 GB, free: 15.27 MB / 446.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.0001719/0.5521, allocations: 153.8 kB / 0.5981 GB, free: 15.11 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.55e-05/0.5522, allocations: 31.81 kB / 0.5982 GB, free: 15.07 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001568/0.5538, allocations: 1.149 MB / 0.5993 GB, free: 13.92 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.8e-05/0.5538, allocations: 15.92 kB / 0.5993 GB, free: 13.91 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.779e-06/0.5538, allocations: 0 / 0.5993 GB, free: 13.91 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.152e-06/0.5538, allocations: 3.984 kB / 0.5993 GB, free: 13.9 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007349/0.5545, allocations: 0.6201 MB / 0.5999 GB, free: 13.24 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.086e-06/0.5545, allocations: 4 kB / 0.5999 GB, free: 13.24 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002196/0.5547, allocations: 47.94 kB / 0.6 GB, free: 13.19 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.767e-06/0.5547, allocations: 0 / 0.6 GB, free: 13.19 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.135e-05/0.5548, allocations: 11.94 kB / 0.6 GB, free: 13.18 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.174e-06/0.5548, allocations: 3.938 kB / 0.6 GB, free: 13.18 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.725e-06/0.5548, allocations: 3.375 kB / 0.6 GB, free: 13.18 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009693/0.5557, allocations: 0.6399 MB / 0.6006 GB, free: 12.52 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.794e-05/0.5558, allocations: 51.48 kB / 0.6006 GB, free: 12.47 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.399e-05/0.5559, allocations: 31.72 kB / 0.6007 GB, free: 12.44 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002228/0.5561, allocations: 19.97 kB / 0.6007 GB, free: 12.42 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.457e-05/0.5562, allocations: 15.97 kB / 0.6007 GB, free: 12.4 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.232e-05/0.5562, allocations: 11.98 kB / 0.6007 GB, free: 12.39 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0004279/0.5567, allocations: 342.9 kB / 0.601 GB, free: 12.05 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.5567, allocations: 0 / 0.601 GB, free: 12.05 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.004219/0.5609, allocations: 0.8539 MB / 0.6019 GB, free: 11.2 MB / 446.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.006128/0.567, allocations: 2.089 MB / 0.6039 GB, free: 9.094 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0009219/0.5679, allocations: 356.9 kB / 0.6043 GB, free: 8.746 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/0.5679, allocations: 0 / 0.6043 GB, free: 8.746 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000363/0.5683, allocations: 212.4 kB / 0.6045 GB, free: 8.539 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001062/0.5694, allocations: 192 kB / 0.6046 GB, free: 8.363 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007989/0.5773, allocations: 4.271 MB / 0.6088 GB, free: 3.918 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003239/0.5777, allocations: 280.8 kB / 0.6091 GB, free: 3.621 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.000576/0.5782, allocations: 197 kB / 0.6093 GB, free: 3.426 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002887/0.5785, allocations: 187.4 kB / 0.6095 GB, free: 3.242 MB / 446.1 MB Notification: Performance of SimCode: time 1.223e-06/0.5785, allocations: 0 / 0.6095 GB, free: 3.242 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09086/0.6694, allocations: 41.38 MB / 0.6499 GB, free: 9.809 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.98/14.65, allocations: 15.97 kB / 0.6499 GB, free: 9.793 MB / 494.1 MB " [Timeout remaining time 645] (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Fluid_TestComponents_Sensors_TestSpecificEntropy_fmu --startTime=0 --stopTime=1.01 --stepSize=0.000201597 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Fluid_TestComponents_Sensors_TestSpecificEntropy.fmu > ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 17.84844151593279] Failed to read output from testmodel.py, exit status != 0: ['time', 'specificEntropy.s', 'specificEntropy1.s'] 14.853336530039087 14.882314704 14.371624812 Calling exit ...