Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Fluid.Sensors.Examples.SpecificEntropy.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.001479/0.001479, allocations: 101.3 kB / 19.73 MB, free: 2.133 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.001577/0.001577, allocations: 220.4 kB / 23.03 MB, free: 4.945 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 / 256.8 MB, free: 7.797 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8594/0.8594, allocations: 134 MB / 447.2 MB, free: 9.996 MB / 350.1 MB " [Timeout remaining time 179] Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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(IDEAS.Fluid.Sensors.Examples.SpecificEntropy,fileNamePrefix="IDEAS_IDEAS_Fluid_Sensors_Examples_SpecificEntropy",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Sensors.Examples.SpecificEntropy,fileNamePrefix="IDEAS_IDEAS_Fluid_Sensors_Examples_SpecificEntropy",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: IDEAS 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: 61.84 kB / 0.6193 GB, free: 6.906 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1749/0.1769, allocations: 85.91 MB / 0.7032 GB, free: 1.094 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.SpecificEntropy): time 0.5616/0.7385, allocations: 143.8 MB / 0.8436 GB, free: 3.488 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.006924/0.7455, allocations: 4.218 MB / 0.8477 GB, free: 15.26 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005157/0.746, allocations: 15.88 kB / 0.8477 GB, free: 15.24 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.0006072/0.7466, allocations: 127 kB / 0.8478 GB, free: 15.12 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.001786/0.7484, allocations: 0.5602 MB / 0.8484 GB, free: 14.55 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.002436/0.7508, allocations: 0.8066 MB / 0.8492 GB, free: 13.75 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.001024/0.7518, allocations: 0.5846 MB / 0.8497 GB, free: 13.16 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000449/0.7523, allocations: 165.4 kB / 0.8499 GB, free: 13 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001313/0.7536, allocations: 482.2 kB / 0.8503 GB, free: 12.53 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007901/0.7544, allocations: 310.7 kB / 0.8506 GB, free: 12.23 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 5.954e-05/0.7544, allocations: 16 kB / 0.8507 GB, free: 12.21 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001857/0.7563, allocations: 0.8648 MB / 0.8515 GB, free: 11.35 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.0001591/0.7565, allocations: 99.7 kB / 0.8516 GB, free: 11.25 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.0002022/0.7567, allocations: 95.55 kB / 0.8517 GB, free: 11.16 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.001679/0.7583, allocations: 0.6992 MB / 0.8524 GB, free: 10.46 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 6.722e-06/0.7583, allocations: 3.984 kB / 0.8524 GB, free: 10.46 MB / 0.6231 GB Notification: Performance of FrontEnd: time 1.563e-06/0.7583, allocations: 4 kB / 0.8524 GB, free: 10.45 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 1.302e-05/0.7584, allocations: 4 kB / 0.8524 GB, free: 10.45 MB / 0.6231 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 44 * Number of variables: 44 Notification: Performance of Generate backend data structure: time 0.001201/0.7596, allocations: 0.5275 MB / 0.8529 GB, free: 9.891 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 4.182e-05/0.7596, allocations: 8.031 kB / 0.8529 GB, free: 9.883 MB / 0.6231 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.06e-05/0.7596, allocations: 8 kB / 0.8529 GB, free: 9.875 MB / 0.6231 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.222e-05/0.7597, allocations: 46.55 kB / 0.853 GB, free: 9.82 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007158/0.7604, allocations: 81.67 kB / 0.853 GB, free: 9.742 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005157/0.7609, allocations: 245.6 kB / 0.8533 GB, free: 9.477 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.006e-05/0.7609, allocations: 16 kB / 0.8533 GB, free: 9.461 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.277e-05/0.761, allocations: 16 kB / 0.8533 GB, free: 9.445 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005499/0.7615, allocations: 287.4 kB / 0.8536 GB, free: 9.137 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.304e-05/0.7616, allocations: 3.938 kB / 0.8536 GB, free: 9.133 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.38e-05/0.7616, allocations: 4 kB / 0.8536 GB, free: 9.129 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.005e-06/0.7616, allocations: 8 kB / 0.8536 GB, free: 9.121 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004543/0.762, allocations: 207.8 kB / 0.8538 GB, free: 8.918 MB / 0.6231 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001794/0.7638, allocations: 1.163 MB / 0.8549 GB, free: 7.684 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003243/0.7642, allocations: 165 kB / 0.8551 GB, free: 7.477 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002052/0.7644, allocations: 108.2 kB / 0.8552 GB, free: 7.355 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007064/0.7651, allocations: 108 kB / 0.8553 GB, free: 7.25 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.512e-05/0.7651, allocations: 46.48 kB / 0.8553 GB, free: 7.195 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=13): time 2.184e-06/0.7651, allocations: 0 / 0.8553 GB, free: 7.195 MB / 0.6231 GB Notification: Performance of matching and sorting (n=13): time 0.0008318/0.7659, allocations: 273.2 kB / 0.8556 GB, free: 6.922 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.929e-05/0.766, allocations: 166.7 kB / 0.8557 GB, free: 6.723 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003424/0.7664, allocations: 292.2 kB / 0.856 GB, free: 6.43 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 3.657e-05/0.7664, allocations: 33.7 kB / 0.8561 GB, free: 6.391 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001224/0.7665, allocations: 144 kB / 0.8562 GB, free: 6.246 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 5.057e-05/0.7666, allocations: 47.53 kB / 0.8562 GB, free: 6.199 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.161e-05/0.7667, allocations: 41.7 kB / 0.8563 GB, free: 6.152 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001536/0.7668, allocations: 338.8 kB / 0.8566 GB, free: 5.812 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001722/0.767, allocations: 71.83 kB / 0.8567 GB, free: 5.742 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000306/0.7673, allocations: 243.3 kB / 0.8569 GB, free: 5.449 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003963/0.7677, allocations: 215.5 kB / 0.8571 GB, free: 5.211 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.976e-06/0.7677, allocations: 0 / 0.8571 GB, free: 5.211 MB / 0.6231 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0005724/0.7683, allocations: 249.2 kB / 0.8573 GB, free: 4.961 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 2.113e-05/0.7683, allocations: 8 kB / 0.8574 GB, free: 4.953 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.584e-06/0.7683, allocations: 0 / 0.8574 GB, free: 4.953 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.803e-05/0.7683, allocations: 4 kB / 0.8574 GB, free: 4.949 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002053/0.7685, allocations: 45.03 kB / 0.8574 GB, free: 4.906 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.141e-05/0.7686, allocations: 7.938 kB / 0.8574 GB, free: 4.898 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002185/0.7688, allocations: 32.08 kB / 0.8574 GB, free: 4.867 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.83e-05/0.7688, allocations: 12 kB / 0.8575 GB, free: 4.855 MB / 0.6231 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (18): * Single equations (assignments): 18 * 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.000167/0.769, allocations: 149.7 kB / 0.8576 GB, free: 4.699 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001615/0.7691, allocations: 23.86 kB / 0.8576 GB, free: 4.676 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004969/0.7696, allocations: 195.9 kB / 0.8578 GB, free: 4.473 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.988e-06/0.7696, allocations: 0 / 0.8578 GB, free: 4.473 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.839e-06/0.7696, allocations: 7.938 kB / 0.8578 GB, free: 4.465 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.019e-06/0.7697, allocations: 3.984 kB / 0.8578 GB, free: 4.461 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001081/0.7707, allocations: 0.8034 MB / 0.8586 GB, free: 3.59 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.006e-06/0.7707, allocations: 0 / 0.8586 GB, free: 3.59 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001226/0.7709, allocations: 23.98 kB / 0.8586 GB, free: 3.566 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.08e-06/0.7709, allocations: 3.938 kB / 0.8586 GB, free: 3.562 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.591e-05/0.7709, allocations: 4 kB / 0.8586 GB, free: 3.559 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.669e-06/0.7709, allocations: 3.984 kB / 0.8586 GB, free: 3.555 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.607e-06/0.7709, allocations: 4 kB / 0.8586 GB, free: 3.551 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006109/0.7715, allocations: 343.5 kB / 0.859 GB, free: 3.184 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 8.933e-05/0.7716, allocations: 43.8 kB / 0.859 GB, free: 3.141 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.453e-05/0.7716, allocations: 0 / 0.859 GB, free: 3.141 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001669/0.7718, allocations: 12 kB / 0.859 GB, free: 3.129 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.751e-05/0.7718, allocations: 7.984 kB / 0.859 GB, free: 3.121 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.567e-06/0.7719, allocations: 4 kB / 0.859 GB, free: 3.117 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0002877/0.7721, allocations: 247 kB / 0.8593 GB, free: 2.879 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.5e-07/0.7721, allocations: 0 / 0.8593 GB, free: 2.879 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0005096/0.7727, allocations: 99.77 kB / 0.8594 GB, free: 2.781 MB / 0.6231 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 1 (senStr.s) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 10 * 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 Backend phase and start with SimCode phase: time 0.001347/0.774, allocations: 0.974 MB / 0.8603 GB, free: 1.766 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.0004379/0.7744, allocations: 147.9 kB / 0.8605 GB, free: 1.621 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 2.936e-06/0.7744, allocations: 0 / 0.8605 GB, free: 1.621 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0001484/0.7746, allocations: 59.83 kB / 0.8605 GB, free: 1.562 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007901/0.7754, allocations: 136.9 kB / 0.8606 GB, free: 1.438 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004024/0.7794, allocations: 2.777 MB / 0.8634 GB, free: 14.5 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002119/0.7796, allocations: 150.2 kB / 0.8635 GB, free: 14.33 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.0002398/0.7799, allocations: 62.17 kB / 0.8636 GB, free: 14.27 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001559/0.78, allocations: 83.41 kB / 0.8636 GB, free: 14.19 MB / 0.6387 GB Notification: Performance of SimCode: time 8.51e-07/0.78, allocations: 0 / 0.8636 GB, free: 14.19 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0356/0.8156, allocations: 9.26 MB / 0.8727 GB, free: 5.215 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.56/12.38, allocations: 11.2 kB / 0.8727 GB, free: 5.207 MB / 0.6387 GB " [Timeout remaining time 647] (rm -f IDEAS_IDEAS.Fluid.Sensors.Examples.SpecificEntropy.pipe ; mkfifo IDEAS_IDEAS.Fluid.Sensors.Examples.SpecificEntropy.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Sensors.Examples.SpecificEntropy.pipe >> ../files/IDEAS_IDEAS.Fluid.Sensors.Examples.SpecificEntropy.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_Sensors_Examples_SpecificEntropy_fmu --startTime=0 --stopTime=60 --stepSize=0.024 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_Sensors_Examples_SpecificEntropy.fmu > IDEAS_IDEAS.Fluid.Sensors.Examples.SpecificEntropy.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 16.133441511075944] Failed to read output from testmodel.py, exit status != 0: 12.541759070008993 12.570318214 11.806586078 Calling exit ...