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.001276/0.001276, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.001613/0.001613, allocations: 215.9 kB / 22.25 MB, free: 4.852 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.462/1.462, allocations: 230.6 MB / 256 MB, free: 7.805 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.8431/0.8431, allocations: 134 MB / 446.4 MB, free: 9.914 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.002326/0.002326, allocations: 75.69 kB / 0.6185 GB, free: 6.848 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1728/0.1751, allocations: 85.91 MB / 0.7024 GB, free: 1.039 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.SpecificEntropy): time 0.5745/0.7497, allocations: 143.9 MB / 0.8429 GB, free: 3.324 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.00601/0.7557, allocations: 4.218 MB / 0.847 GB, free: 15.1 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003919/0.7561, allocations: 11.88 kB / 0.847 GB, free: 15.09 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.0005099/0.7566, allocations: 135 kB / 0.8472 GB, free: 14.96 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.001611/0.7582, allocations: 0.564 MB / 0.8477 GB, free: 14.39 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.002028/0.7602, allocations: 0.7954 MB / 0.8485 GB, free: 13.6 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.0007901/0.761, allocations: 0.5923 MB / 0.8491 GB, free: 13 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003428/0.7614, allocations: 149.5 kB / 0.8492 GB, free: 12.86 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001039/0.7624, allocations: 486.2 kB / 0.8497 GB, free: 12.38 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006167/0.763, allocations: 306.6 kB / 0.85 GB, free: 12.09 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 4.044e-05/0.763, allocations: 20 kB / 0.85 GB, free: 12.07 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001582/0.7646, allocations: 0.8569 MB / 0.8508 GB, free: 11.21 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.0001335/0.7648, allocations: 95.7 kB / 0.8509 GB, free: 11.11 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.0001265/0.7649, allocations: 103.5 kB / 0.851 GB, free: 11.01 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.00109/0.766, allocations: 0.6915 MB / 0.8517 GB, free: 10.32 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 6.292e-06/0.766, allocations: 4 kB / 0.8517 GB, free: 10.32 MB / 0.6231 GB Notification: Performance of FrontEnd: time 1.633e-06/0.766, allocations: 0 / 0.8517 GB, free: 10.32 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 7.163e-06/0.766, allocations: 0 / 0.8517 GB, free: 10.32 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.0009817/0.767, allocations: 0.5236 MB / 0.8522 GB, free: 9.766 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 4.452e-05/0.767, allocations: 16.03 kB / 0.8522 GB, free: 9.75 MB / 0.6231 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.167e-05/0.7671, allocations: 50.53 kB / 0.8523 GB, free: 9.691 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006476/0.7677, allocations: 79.73 kB / 0.8523 GB, free: 9.613 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004719/0.7682, allocations: 241.6 kB / 0.8526 GB, free: 9.352 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.956e-05/0.7682, allocations: 16 kB / 0.8526 GB, free: 9.336 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.861e-05/0.7683, allocations: 23.94 kB / 0.8526 GB, free: 9.312 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005709/0.7688, allocations: 283.4 kB / 0.8529 GB, free: 9.008 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.448e-05/0.7689, allocations: 3.938 kB / 0.8529 GB, free: 9.004 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.363e-05/0.7689, allocations: 8 kB / 0.8529 GB, free: 8.996 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.189e-05/0.7689, allocations: 11.98 kB / 0.8529 GB, free: 8.984 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004546/0.7693, allocations: 199.8 kB / 0.8531 GB, free: 8.789 MB / 0.6231 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001725/0.7711, allocations: 1.163 MB / 0.8542 GB, free: 7.555 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003119/0.7714, allocations: 165 kB / 0.8544 GB, free: 7.348 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002113/0.7716, allocations: 108.4 kB / 0.8545 GB, free: 7.227 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006325/0.7722, allocations: 107.9 kB / 0.8546 GB, free: 7.121 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.098e-05/0.7723, allocations: 38.56 kB / 0.8546 GB, free: 7.074 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=13): time 1.634e-06/0.7723, allocations: 0 / 0.8546 GB, free: 7.074 MB / 0.6231 GB Notification: Performance of matching and sorting (n=13): time 0.000805/0.7731, allocations: 277.6 kB / 0.8549 GB, free: 6.797 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.546e-05/0.7732, allocations: 158.2 kB / 0.855 GB, free: 6.605 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003281/0.7735, allocations: 300 kB / 0.8553 GB, free: 6.305 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 2.982e-05/0.7735, allocations: 29.7 kB / 0.8554 GB, free: 6.27 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001212/0.7736, allocations: 148 kB / 0.8555 GB, free: 6.121 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 5.047e-05/0.7737, allocations: 47.53 kB / 0.8555 GB, free: 6.074 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.731e-05/0.7738, allocations: 42.08 kB / 0.8556 GB, free: 6.027 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001602/0.7739, allocations: 338.8 kB / 0.8559 GB, free: 5.688 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001648/0.7741, allocations: 68.08 kB / 0.856 GB, free: 5.621 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003101/0.7744, allocations: 247.3 kB / 0.8562 GB, free: 5.324 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003862/0.7748, allocations: 215.5 kB / 0.8564 GB, free: 5.086 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.214e-06/0.7748, allocations: 4 kB / 0.8564 GB, free: 5.082 MB / 0.6231 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0005164/0.7753, allocations: 241.2 kB / 0.8566 GB, free: 4.84 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 1.864e-05/0.7753, allocations: 10.34 kB / 0.8567 GB, free: 4.832 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.172e-06/0.7753, allocations: 4.25 kB / 0.8567 GB, free: 4.828 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.938e-05/0.7754, allocations: 4 kB / 0.8567 GB, free: 4.824 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001945/0.7755, allocations: 39.91 kB / 0.8567 GB, free: 4.785 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.246e-05/0.7756, allocations: 7.938 kB / 0.8567 GB, free: 4.777 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001902/0.7757, allocations: 31.83 kB / 0.8567 GB, free: 4.746 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.182e-05/0.7758, allocations: 8 kB / 0.8567 GB, free: 4.738 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.0001552/0.7759, allocations: 153.7 kB / 0.8569 GB, free: 4.578 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001428/0.7761, allocations: 39.78 kB / 0.8569 GB, free: 4.539 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004801/0.7766, allocations: 185.5 kB / 0.8571 GB, free: 4.344 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.526e-06/0.7766, allocations: 0 / 0.8571 GB, free: 4.344 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.138e-06/0.7766, allocations: 7.938 kB / 0.8571 GB, free: 4.336 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.214e-06/0.7766, allocations: 7.984 kB / 0.8571 GB, free: 4.328 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001065/0.7776, allocations: 0.811 MB / 0.8579 GB, free: 3.449 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.124e-06/0.7776, allocations: 0 / 0.8579 GB, free: 3.449 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001218/0.7778, allocations: 27.92 kB / 0.8579 GB, free: 3.422 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.156e-06/0.7778, allocations: 0 / 0.8579 GB, free: 3.422 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.361e-05/0.7778, allocations: 4 kB / 0.8579 GB, free: 3.418 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.468e-06/0.7778, allocations: 8.141 kB / 0.858 GB, free: 3.41 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.723e-06/0.7778, allocations: 4 kB / 0.858 GB, free: 3.406 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000607/0.7784, allocations: 335.5 kB / 0.8583 GB, free: 3.047 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 8.188e-05/0.7785, allocations: 35.86 kB / 0.8583 GB, free: 3.012 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.346e-05/0.7785, allocations: 7.953 kB / 0.8583 GB, free: 3.004 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001561/0.7787, allocations: 8 kB / 0.8583 GB, free: 2.996 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.015e-05/0.7787, allocations: 11.92 kB / 0.8583 GB, free: 2.984 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.008e-05/0.7787, allocations: 9.188 kB / 0.8583 GB, free: 2.977 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0002757/0.779, allocations: 243 kB / 0.8586 GB, free: 2.738 MB / 0.6231 GB Notification: Performance of sort global known variables: time 9e-08/0.779, allocations: 0 / 0.8586 GB, free: 2.738 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0004842/0.7795, allocations: 91.81 kB / 0.8587 GB, free: 2.648 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.001265/0.7808, allocations: 0.9699 MB / 0.8596 GB, free: 1.641 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.0004038/0.7812, allocations: 147.7 kB / 0.8598 GB, free: 1.496 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 2.514e-06/0.7812, allocations: 0 / 0.8598 GB, free: 1.496 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0001711/0.7813, allocations: 60.7 kB / 0.8598 GB, free: 1.438 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007581/0.7821, allocations: 145.2 kB / 0.86 GB, free: 1.305 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003809/0.7859, allocations: 2.776 MB / 0.8627 GB, free: 14.37 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000161/0.7861, allocations: 146.2 kB / 0.8628 GB, free: 14.2 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.000215/0.7863, allocations: 72.44 kB / 0.8629 GB, free: 14.14 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00014/0.7864, allocations: 79.41 kB / 0.8629 GB, free: 14.06 MB / 0.6387 GB Notification: Performance of SimCode: time 4.4e-07/0.7864, allocations: 0 / 0.8629 GB, free: 14.06 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04131/0.8277, allocations: 9.646 MB / 0.8724 GB, free: 4.672 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 11/11.83, allocations: 2.578 kB / 0.8724 GB, free: 4.672 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 & /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: 15.409002285916358] Failed to read output from testmodel.py, exit status != 0: 11.93810766004026 11.955819951 11.186404694 Calling exit ...