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.001278/0.001278, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.001438/0.001438, allocations: 211.9 kB / 22.24 MB, free: 5.262 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.431/1.431, allocations: 230.6 MB / 256 MB, free: 7.785 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.8445/0.8445, allocations: 134 MB / 446.4 MB, free: 9.922 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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Sensors.Examples.SpecificEntropy,fileNamePrefix="IDEAS_IDEAS_Fluid_Sensors_Examples_SpecificEntropy",fmuType="me",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.001958/0.001958, allocations: 66.36 kB / 0.6185 GB, free: 6.844 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1692/0.1712, allocations: 85.91 MB / 0.7024 GB, free: 1.023 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.SpecificEntropy): time 0.5639/0.7351, allocations: 143.9 MB / 0.8429 GB, free: 3.289 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.006289/0.7414, allocations: 4.223 MB / 0.847 GB, free: 15.06 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003975/0.7418, allocations: 15.88 kB / 0.847 GB, free: 15.05 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.0005067/0.7423, allocations: 131 kB / 0.8472 GB, free: 14.92 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.001501/0.7438, allocations: 0.564 MB / 0.8477 GB, free: 14.35 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.001953/0.7457, allocations: 0.7939 MB / 0.8485 GB, free: 13.56 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.0008516/0.7466, allocations: 0.5807 MB / 0.8491 GB, free: 12.98 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003298/0.7469, allocations: 169.4 kB / 0.8492 GB, free: 12.81 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001005/0.7479, allocations: 478.3 kB / 0.8497 GB, free: 12.34 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006069/0.7485, allocations: 302.7 kB / 0.85 GB, free: 12.05 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 4.046e-05/0.7485, allocations: 16 kB / 0.85 GB, free: 12.04 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001551/0.7501, allocations: 0.8608 MB / 0.8508 GB, free: 11.17 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.0001227/0.7502, allocations: 87.78 kB / 0.8509 GB, free: 11.09 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.0001281/0.7504, allocations: 107.5 kB / 0.851 GB, free: 10.98 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.001063/0.7514, allocations: 0.6915 MB / 0.8517 GB, free: 10.29 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 4.198e-06/0.7514, allocations: 0 / 0.8517 GB, free: 10.29 MB / 0.6231 GB Notification: Performance of FrontEnd: time 1.453e-06/0.7514, allocations: 0 / 0.8517 GB, free: 10.29 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 6.953e-06/0.7514, allocations: 8 kB / 0.8517 GB, free: 10.29 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.001055/0.7525, allocations: 0.5313 MB / 0.8522 GB, free: 9.723 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 4.525e-05/0.7525, allocations: 8.031 kB / 0.8522 GB, free: 9.715 MB / 0.6231 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.99e-05/0.7526, allocations: 54.55 kB / 0.8523 GB, free: 9.652 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006461/0.7533, allocations: 75.75 kB / 0.8523 GB, free: 9.578 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004745/0.7537, allocations: 241.6 kB / 0.8526 GB, free: 9.316 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.412e-05/0.7538, allocations: 15.98 kB / 0.8526 GB, free: 9.301 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.958e-05/0.7538, allocations: 24 kB / 0.8526 GB, free: 9.277 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005059/0.7543, allocations: 287 kB / 0.8529 GB, free: 8.973 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.426e-05/0.7543, allocations: 3.938 kB / 0.8529 GB, free: 8.969 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.106e-05/0.7543, allocations: 8 kB / 0.8529 GB, free: 8.961 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.586e-06/0.7544, allocations: 4 kB / 0.8529 GB, free: 8.957 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004252/0.7548, allocations: 203.8 kB / 0.8531 GB, free: 8.758 MB / 0.6231 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001727/0.7565, allocations: 1.167 MB / 0.8542 GB, free: 7.52 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003064/0.7568, allocations: 165 kB / 0.8544 GB, free: 7.312 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002166/0.757, allocations: 116.3 kB / 0.8545 GB, free: 7.184 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000587/0.7576, allocations: 99.88 kB / 0.8546 GB, free: 7.086 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.335e-05/0.7576, allocations: 38.56 kB / 0.8546 GB, free: 7.039 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=13): time 1.273e-06/0.7576, allocations: 0 / 0.8546 GB, free: 7.039 MB / 0.6231 GB Notification: Performance of matching and sorting (n=13): time 0.0007691/0.7584, allocations: 277.2 kB / 0.8549 GB, free: 6.762 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001045/0.7585, allocations: 162.2 kB / 0.855 GB, free: 6.566 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003311/0.7589, allocations: 300 kB / 0.8553 GB, free: 6.266 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 2.536e-05/0.7589, allocations: 26.2 kB / 0.8554 GB, free: 6.234 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.000126/0.759, allocations: 144 kB / 0.8555 GB, free: 6.09 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 5.009e-05/0.7591, allocations: 55.53 kB / 0.8555 GB, free: 6.035 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.43e-05/0.7591, allocations: 46.02 kB / 0.8556 GB, free: 5.984 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001609/0.7593, allocations: 334.8 kB / 0.8559 GB, free: 5.648 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001884/0.7595, allocations: 67.94 kB / 0.856 GB, free: 5.582 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000305/0.7598, allocations: 253.6 kB / 0.8562 GB, free: 5.281 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000385/0.7602, allocations: 215.5 kB / 0.8564 GB, free: 5.043 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/0.7602, allocations: 0 / 0.8564 GB, free: 5.043 MB / 0.6231 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0005041/0.7607, allocations: 249.4 kB / 0.8567 GB, free: 4.793 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 1.404e-05/0.7607, allocations: 4 kB / 0.8567 GB, free: 4.789 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.775e-06/0.7607, allocations: 4 kB / 0.8567 GB, free: 4.785 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.879e-05/0.7607, allocations: 4 kB / 0.8567 GB, free: 4.781 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001805/0.7609, allocations: 35.92 kB / 0.8567 GB, free: 4.746 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.375e-05/0.7609, allocations: 11.92 kB / 0.8567 GB, free: 4.734 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000173/0.7611, allocations: 23.84 kB / 0.8567 GB, free: 4.711 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.222e-05/0.7611, allocations: 15.98 kB / 0.8568 GB, free: 4.695 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.0001506/0.7613, allocations: 153.8 kB / 0.8569 GB, free: 4.535 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001383/0.7614, allocations: 27.81 kB / 0.8569 GB, free: 4.508 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004727/0.7619, allocations: 187 kB / 0.8571 GB, free: 4.309 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.44e-06/0.7619, allocations: 4 kB / 0.8571 GB, free: 4.305 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.462e-06/0.7619, allocations: 3.938 kB / 0.8571 GB, free: 4.301 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.242e-06/0.7619, allocations: 4.562 kB / 0.8571 GB, free: 4.297 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001057/0.763, allocations: 0.8135 MB / 0.8579 GB, free: 3.418 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.814e-06/0.763, allocations: 160 / 0.8579 GB, free: 3.418 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001133/0.7631, allocations: 27.92 kB / 0.8579 GB, free: 3.391 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.682e-06/0.7631, allocations: 4 kB / 0.8579 GB, free: 3.387 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.461e-05/0.7631, allocations: 8 kB / 0.858 GB, free: 3.379 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.713e-06/0.7631, allocations: 0 / 0.858 GB, free: 3.379 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.443e-06/0.7631, allocations: 0 / 0.858 GB, free: 3.379 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000598/0.7637, allocations: 339.5 kB / 0.8583 GB, free: 3.016 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 7.716e-05/0.7638, allocations: 31.89 kB / 0.8583 GB, free: 2.984 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.218e-05/0.7638, allocations: 19.94 kB / 0.8583 GB, free: 2.965 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001507/0.764, allocations: 7.984 kB / 0.8583 GB, free: 2.957 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.605e-05/0.764, allocations: 19.92 kB / 0.8584 GB, free: 2.938 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.975e-06/0.764, allocations: 4 kB / 0.8584 GB, free: 2.934 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0002526/0.7643, allocations: 231 kB / 0.8586 GB, free: 2.707 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.1e-07/0.7643, allocations: 4 kB / 0.8586 GB, free: 2.703 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.000451/0.7647, allocations: 99.8 kB / 0.8587 GB, free: 2.605 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.00119/0.7659, allocations: 0.9673 MB / 0.8596 GB, free: 1.598 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.0003826/0.7663, allocations: 152.1 kB / 0.8598 GB, free: 1.449 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 1.794e-06/0.7663, allocations: 0 / 0.8598 GB, free: 1.449 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0001565/0.7665, allocations: 55.91 kB / 0.8598 GB, free: 1.395 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007597/0.7672, allocations: 144.1 kB / 0.86 GB, free: 1.266 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003612/0.7708, allocations: 2.776 MB / 0.8627 GB, free: 14.33 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000155/0.771, allocations: 154.1 kB / 0.8628 GB, free: 14.16 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.0002009/0.7712, allocations: 62.88 kB / 0.8629 GB, free: 14.1 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001201/0.7713, allocations: 75.41 kB / 0.8629 GB, free: 14.02 MB / 0.6387 GB Notification: Performance of SimCode: time 5.21e-07/0.7713, allocations: 4 kB / 0.8629 GB, free: 14.02 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04134/0.8126, allocations: 9.643 MB / 0.8724 GB, free: 4.629 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.26/12.07, allocations: 9.328 kB / 0.8724 GB, free: 4.629 MB / 0.6387 GB " [Timeout remaining time 648] (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 & python3 -m fmpy simulate --output-file IDEAS_IDEAS.Fluid.Sensors.Examples.SpecificEntropy_res.csv --start-time 0 --stop-time 60 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.024 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: 15.722676332108676] Failed to read output from testmodel.py, exit status != 0: 12.18103825673461 12.198579684 11.443913194 Calling exit ...