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.002063/0.002063, allocations: 109 kB / 20.48 MB, free: 1.477 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.00315/0.00315, allocations: 206.2 kB / 23.78 MB, free: 4.688 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.558/1.558, allocations: 207.6 MB / 234.6 MB, free: 9.98 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.234/0.234, allocations: 44.24 MB / 331.1 MB, free: 9.527 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.002317/0.002317, allocations: 70.55 kB / 468.3 MB, free: 4.516 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1382/0.1405, allocations: 61.04 MB / 0.5169 GB, free: 7.336 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy): time 0.2921/0.4325, allocations: 30.5 MB / 0.5467 GB, free: 9.566 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.0239/0.4564, allocations: 17.74 MB / 0.564 GB, free: 3.352 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000668/0.4571, allocations: 18.28 kB / 0.564 GB, free: 3.34 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009272/0.458, allocations: 218.7 kB / 0.5643 GB, free: 3.211 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000857/0.4589, allocations: 281.1 kB / 0.5645 GB, free: 3.035 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.02031/0.4792, allocations: 6.055 MB / 0.5704 GB, free: 384 kB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.001463/0.4807, allocations: 0.8491 MB / 0.5713 GB, free: 15.97 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004085/0.4811, allocations: 203.2 kB / 0.5715 GB, free: 15.88 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0125/0.4936, allocations: 5.486 MB / 0.5768 GB, free: 13.12 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007753/0.4943, allocations: 265.5 kB / 0.5771 GB, free: 12.97 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 7.627e-05/0.4944, allocations: 29.78 kB / 0.5771 GB, free: 12.97 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0167/0.5111, allocations: 6.336 MB / 0.5833 GB, free: 9.68 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002037/0.5113, allocations: 96.25 kB / 0.5834 GB, free: 9.605 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003549/0.5117, allocations: 185.2 kB / 0.5836 GB, free: 9.496 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01095/0.5226, allocations: 3.847 MB / 0.5873 GB, free: 7.035 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.771e-06/0.5226, allocations: 0 / 0.5873 GB, free: 7.035 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.295e-06/0.5226, allocations: 4 kB / 0.5873 GB, free: 7.031 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.525e-05/0.5227, allocations: 0 / 0.5873 GB, free: 7.031 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.003624/0.5263, allocations: 0.9973 MB / 0.5883 GB, free: 6.289 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.486e-05/0.5263, allocations: 10 kB / 0.5883 GB, free: 6.289 MB / 430.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.561e-05/0.5263, allocations: 7.406 kB / 0.5883 GB, free: 6.285 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.543e-05/0.5264, allocations: 59.52 kB / 0.5884 GB, free: 6.227 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001643/0.5281, allocations: 198 kB / 0.5885 GB, free: 6.148 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005346/0.5286, allocations: 283.5 kB / 0.5888 GB, free: 5.902 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.218e-05/0.5286, allocations: 25.38 kB / 0.5888 GB, free: 5.891 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.403e-05/0.5287, allocations: 28.53 kB / 0.5889 GB, free: 5.879 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001276/0.53, allocations: 490.9 kB / 0.5893 GB, free: 5.547 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.543e-05/0.53, allocations: 5.125 kB / 0.5893 GB, free: 5.543 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.832e-05/0.53, allocations: 12.12 kB / 0.5894 GB, free: 5.535 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.176e-05/0.53, allocations: 6.812 kB / 0.5894 GB, free: 5.535 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001286/0.5313, allocations: 412.4 kB / 0.5898 GB, free: 5.34 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003301/0.5346, allocations: 2.24 MB / 0.5919 GB, free: 3.289 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001188/0.5358, allocations: 319.2 kB / 0.5922 GB, free: 3.121 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002973/0.5361, allocations: 106.1 kB / 0.5923 GB, free: 3.066 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03245/0.5686, allocations: 8.476 MB / 0.6006 GB, free: 13.77 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.87e-05/0.5686, allocations: 42.5 kB / 0.6007 GB, free: 13.71 MB / 446.1 MB Notification: Performance of pre-optimization done (n=15): time 2.165e-06/0.5686, allocations: 0 / 0.6007 GB, free: 13.71 MB / 446.1 MB Notification: Performance of matching and sorting (n=15): time 0.002216/0.5708, allocations: 0.521 MB / 0.6012 GB, free: 13.19 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.171e-05/0.5709, allocations: 106.8 kB / 0.6013 GB, free: 13.06 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004431/0.5714, allocations: 324.4 kB / 0.6016 GB, free: 12.73 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 3.548e-05/0.5714, allocations: 29.7 kB / 0.6016 GB, free: 12.7 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002289/0.5716, allocations: 216.1 kB / 0.6018 GB, free: 12.48 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.795e-05/0.5717, allocations: 51.56 kB / 0.6019 GB, free: 12.43 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001261/0.5718, allocations: 61.66 kB / 0.6019 GB, free: 12.36 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0002354/0.572, allocations: 346.7 kB / 0.6023 GB, free: 12.02 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002946/0.5723, allocations: 87.94 kB / 0.6023 GB, free: 11.93 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004792/0.5728, allocations: 224.3 kB / 0.6026 GB, free: 11.66 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007199/0.5735, allocations: 295.2 kB / 0.6028 GB, free: 11.32 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.407e-06/0.5735, allocations: 0 / 0.6028 GB, free: 11.32 MB / 446.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0008564/0.5744, allocations: 340.8 kB / 0.6032 GB, free: 10.98 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.143e-05/0.5744, allocations: 8 kB / 0.6032 GB, free: 10.98 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.583e-05/0.5744, allocations: 11.92 kB / 0.6032 GB, free: 10.96 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.181e-05/0.5745, allocations: 7.938 kB / 0.6032 GB, free: 10.96 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002846/0.5747, allocations: 68.36 kB / 0.6033 GB, free: 10.89 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.349e-05/0.5748, allocations: 12 kB / 0.6033 GB, free: 10.88 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002871/0.575, allocations: 43.72 kB / 0.6033 GB, free: 10.84 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.917e-05/0.5751, allocations: 16 kB / 0.6033 GB, free: 10.82 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.0002056/0.5753, allocations: 149.8 kB / 0.6035 GB, free: 10.66 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.488e-05/0.5754, allocations: 31.81 kB / 0.6035 GB, free: 10.63 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001637/0.577, allocations: 1.152 MB / 0.6046 GB, free: 9.477 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.629e-05/0.577, allocations: 11.98 kB / 0.6046 GB, free: 9.465 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.518e-06/0.577, allocations: 0 / 0.6046 GB, free: 9.465 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.73e-06/0.577, allocations: 3.984 kB / 0.6046 GB, free: 9.461 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007969/0.5778, allocations: 0.6587 MB / 0.6053 GB, free: 8.762 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.847e-06/0.5778, allocations: 7.938 kB / 0.6053 GB, free: 8.754 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002286/0.5781, allocations: 47.95 kB / 0.6053 GB, free: 8.707 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.547e-06/0.5781, allocations: 0 / 0.6053 GB, free: 8.707 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.579e-05/0.5781, allocations: 3.938 kB / 0.6053 GB, free: 8.703 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.492e-06/0.5781, allocations: 7.984 kB / 0.6053 GB, free: 8.695 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-06/0.5781, allocations: 0 / 0.6053 GB, free: 8.695 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009725/0.5791, allocations: 0.636 MB / 0.606 GB, free: 8.039 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001009/0.5792, allocations: 63.47 kB / 0.606 GB, free: 7.977 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.183e-05/0.5792, allocations: 23.72 kB / 0.606 GB, free: 7.953 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002194/0.5794, allocations: 19.98 kB / 0.6061 GB, free: 7.934 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.231e-05/0.5795, allocations: 31.89 kB / 0.6061 GB, free: 7.902 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.578e-05/0.5796, allocations: 4 kB / 0.6061 GB, free: 7.898 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0004504/0.58, allocations: 338.9 kB / 0.6064 GB, free: 7.566 MB / 446.1 MB Notification: Performance of sort global known variables: time 6e-08/0.58, allocations: 0 / 0.6064 GB, free: 7.566 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.004019/0.584, allocations: 0.8539 MB / 0.6073 GB, free: 6.711 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.006498/0.5905, allocations: 2.093 MB / 0.6093 GB, free: 4.609 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0009799/0.5915, allocations: 353.1 kB / 0.6096 GB, free: 4.266 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 5.22e-06/0.5915, allocations: 0 / 0.6096 GB, free: 4.266 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003911/0.5919, allocations: 208.5 kB / 0.6098 GB, free: 4.062 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00114/0.593, allocations: 191.9 kB / 0.61 GB, free: 3.883 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007829/0.6009, allocations: 4.277 MB / 0.6142 GB, free: 15.43 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005142/0.6014, allocations: 0.8759 MB / 0.6151 GB, free: 14.53 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0004352/0.6018, allocations: 190.8 kB / 0.6152 GB, free: 14.34 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002542/0.6021, allocations: 191.4 kB / 0.6154 GB, free: 14.15 MB / 462.1 MB Notification: Performance of SimCode: time 8.52e-07/0.6021, allocations: 0 / 0.6154 GB, free: 14.15 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08368/0.6857, allocations: 41 MB / 0.6555 GB, free: 5.113 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.85/14.54, allocations: 7.922 kB / 0.6555 GB, free: 5.105 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.81104487698758] Failed to read output from testmodel.py, exit status != 0: ['time', 'specificEntropy.s', 'specificEntropy1.s'] 14.735266223025974 14.76227232 14.234248075 Calling exit ...