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.001639/0.001639, allocations: 122.1 kB / 17.83 MB, free: 5.242 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.002072/0.002072, allocations: 204.6 kB / 20.79 MB, free: 2.297 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.646/1.646, allocations: 207.6 MB / 231.2 MB, free: 4.094 MB / 174.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.3926/0.3926, allocations: 44.23 MB / 327.3 MB, free: 7.105 MB / 254.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.002525/0.002525, allocations: 63.91 kB / 462.9 MB, free: 1.02 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.336/0.3385, allocations: 60.99 MB / 0.5116 GB, free: 13.12 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy): time 0.02986/0.3684, allocations: 30.28 MB / 0.5412 GB, free: 0.6172 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.02431/0.3927, allocations: 17.65 MB / 0.5584 GB, free: 14.92 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005434/0.3932, allocations: 15.88 kB / 0.5584 GB, free: 14.9 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009555/0.3942, allocations: 222.5 kB / 0.5587 GB, free: 14.68 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007293/0.3949, allocations: 282.3 kB / 0.5589 GB, free: 14.41 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01852/0.4134, allocations: 6.036 MB / 0.5648 GB, free: 8.348 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001317/0.4147, allocations: 0.8342 MB / 0.5656 GB, free: 7.512 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004149/0.4152, allocations: 216.5 kB / 0.5658 GB, free: 7.293 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01132/0.4265, allocations: 5.454 MB / 0.5712 GB, free: 1.758 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004843/0.427, allocations: 254.9 kB / 0.5714 GB, free: 1.508 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 6.202e-05/0.427, allocations: 28 kB / 0.5714 GB, free: 1.48 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01245/0.4395, allocations: 6.337 MB / 0.5776 GB, free: 11.14 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002015/0.4397, allocations: 91.67 kB / 0.5777 GB, free: 11.05 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003192/0.44, allocations: 191.1 kB / 0.5779 GB, free: 10.86 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009695/0.4497, allocations: 3.843 MB / 0.5817 GB, free: 7.008 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.758e-06/0.4497, allocations: 3.984 kB / 0.5817 GB, free: 7.004 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.484e-06/0.4497, allocations: 0 / 0.5817 GB, free: 7.004 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.161e-05/0.4497, allocations: 0 / 0.5817 GB, free: 7.004 MB / 446.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.002998/0.4527, allocations: 1.065 MB / 0.5827 GB, free: 5.887 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.765e-05/0.4528, allocations: 15.89 kB / 0.5827 GB, free: 5.871 MB / 446.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.399e-05/0.4528, allocations: 4.75 kB / 0.5827 GB, free: 5.867 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.646e-05/0.4529, allocations: 70.73 kB / 0.5828 GB, free: 5.789 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001611/0.4545, allocations: 192.5 kB / 0.583 GB, free: 5.602 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005847/0.4551, allocations: 354.7 kB / 0.5833 GB, free: 5.219 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.974e-05/0.4551, allocations: 20.94 kB / 0.5833 GB, free: 5.199 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.873e-05/0.4552, allocations: 27.94 kB / 0.5834 GB, free: 5.172 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001399/0.4566, allocations: 482.9 kB / 0.5838 GB, free: 4.656 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.917e-05/0.4566, allocations: 11.94 kB / 0.5838 GB, free: 4.645 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.396e-05/0.4566, allocations: 19.94 kB / 0.5838 GB, free: 4.625 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.002e-05/0.4566, allocations: 4 kB / 0.5838 GB, free: 4.621 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001325/0.458, allocations: 413.2 kB / 0.5842 GB, free: 4.219 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004113/0.4621, allocations: 2.423 MB / 0.5866 GB, free: 1.586 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001273/0.4633, allocations: 310.3 kB / 0.5869 GB, free: 1.273 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000311/0.4637, allocations: 104.8 kB / 0.587 GB, free: 1.168 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03578/0.4994, allocations: 16.52 MB / 0.6031 GB, free: 14.64 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.225e-05/0.4995, allocations: 42.55 kB / 0.6032 GB, free: 14.59 MB / 478.1 MB Notification: Performance of pre-optimization done (n=15): time 2.004e-06/0.4995, allocations: 0 / 0.6032 GB, free: 14.59 MB / 478.1 MB Notification: Performance of matching and sorting (n=15): time 0.002132/0.5016, allocations: 0.5238 MB / 0.6037 GB, free: 14.06 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.443e-05/0.5017, allocations: 114.7 kB / 0.6038 GB, free: 13.93 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004555/0.5021, allocations: 320.5 kB / 0.6041 GB, free: 13.6 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 3.154e-05/0.5022, allocations: 25.7 kB / 0.6041 GB, free: 13.57 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001913/0.5024, allocations: 212 kB / 0.6043 GB, free: 13.36 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.216e-05/0.5024, allocations: 55.52 kB / 0.6044 GB, free: 13.3 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001128/0.5025, allocations: 61.66 kB / 0.6044 GB, free: 13.24 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001832/0.5027, allocations: 342.8 kB / 0.6048 GB, free: 12.89 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002937/0.503, allocations: 91.94 kB / 0.6049 GB, free: 12.8 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004117/0.5034, allocations: 221.1 kB / 0.6051 GB, free: 12.54 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000671/0.5041, allocations: 289.5 kB / 0.6053 GB, free: 12.2 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.161e-06/0.5041, allocations: 4 kB / 0.6054 GB, free: 12.2 MB / 478.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.000844/0.5049, allocations: 337.4 kB / 0.6057 GB, free: 11.86 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.762e-05/0.505, allocations: 15.88 kB / 0.6057 GB, free: 11.85 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.073e-05/0.505, allocations: 4 kB / 0.6057 GB, free: 11.84 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.257e-05/0.505, allocations: 4 kB / 0.6057 GB, free: 11.84 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003057/0.5053, allocations: 83.81 kB / 0.6058 GB, free: 11.76 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.098e-05/0.5053, allocations: 4 kB / 0.6058 GB, free: 11.75 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002651/0.5056, allocations: 39.77 kB / 0.6058 GB, free: 11.71 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.266e-05/0.5056, allocations: 16 kB / 0.6058 GB, free: 11.7 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.0001939/0.5058, allocations: 157.8 kB / 0.606 GB, free: 11.54 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.531e-05/0.5059, allocations: 35.75 kB / 0.606 GB, free: 11.5 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001614/0.5075, allocations: 1.11 MB / 0.6071 GB, free: 10.38 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.773e-05/0.5075, allocations: 11.98 kB / 0.6071 GB, free: 10.37 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.428e-06/0.5075, allocations: 0 / 0.6071 GB, free: 10.37 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.127e-05/0.5075, allocations: 7.984 kB / 0.6071 GB, free: 10.36 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007604/0.5083, allocations: 0.668 MB / 0.6078 GB, free: 9.641 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.727e-06/0.5083, allocations: 0 / 0.6078 GB, free: 9.641 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002315/0.5085, allocations: 47.95 kB / 0.6078 GB, free: 9.594 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.083e-06/0.5085, allocations: 7.938 kB / 0.6078 GB, free: 9.586 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.486e-05/0.5086, allocations: 4 kB / 0.6078 GB, free: 9.582 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.934e-06/0.5086, allocations: 3.938 kB / 0.6078 GB, free: 9.578 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.5086, allocations: 0 / 0.6078 GB, free: 9.578 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009991/0.5096, allocations: 0.6274 MB / 0.6084 GB, free: 8.938 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000141/0.5097, allocations: 132.6 kB / 0.6086 GB, free: 8.789 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.944e-05/0.5098, allocations: 31.67 kB / 0.6086 GB, free: 8.758 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000237/0.51, allocations: 15.98 kB / 0.6086 GB, free: 8.742 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.774e-05/0.5101, allocations: 27.95 kB / 0.6086 GB, free: 8.715 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.734e-05/0.5101, allocations: 4 kB / 0.6086 GB, free: 8.711 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.0004475/0.5106, allocations: 342.8 kB / 0.609 GB, free: 8.375 MB / 478.1 MB Notification: Performance of sort global known variables: time 8e-08/0.5106, allocations: 0 / 0.609 GB, free: 8.375 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.002894/0.5135, allocations: 0.8577 MB / 0.6098 GB, free: 7.516 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.00534/0.5188, allocations: 2.08 MB / 0.6118 GB, free: 5.414 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.0008885/0.5197, allocations: 344.2 kB / 0.6122 GB, free: 5.078 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 3.267e-06/0.5197, allocations: 0 / 0.6122 GB, free: 5.078 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00038/0.5201, allocations: 204.4 kB / 0.6124 GB, free: 4.883 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001051/0.5211, allocations: 181.6 kB / 0.6125 GB, free: 4.699 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007189/0.5283, allocations: 4.279 MB / 0.6167 GB, free: 252 kB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005452/0.5289, allocations: 0.8797 MB / 0.6176 GB, free: 15.34 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0004336/0.5293, allocations: 197.1 kB / 0.6178 GB, free: 15.15 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002561/0.5296, allocations: 187.4 kB / 0.6179 GB, free: 14.97 MB / 494.1 MB Notification: Performance of SimCode: time 7.71e-07/0.5296, allocations: 3.938 kB / 0.6179 GB, free: 14.96 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3313/0.8608, allocations: 40.44 MB / 0.6574 GB, free: 128.5 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.07/11.93, allocations: 16.94 kB / 0.6575 GB, free: 128.5 MB / 0.4981 GB " [Timeout remaining time 648] (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: 15.093210163991898] Failed to read output from testmodel.py, exit status != 0: ['time', 'specificEntropy.s', 'specificEntropy1.s'] 12.08881232200656 12.097631109 11.645667851 Calling exit ...