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.001675/0.001675, allocations: 101.7 kB / 16.45 MB, free: 6.449 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.001494/0.001494, allocations: 206.4 kB / 19.42 MB, free: 3.641 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.468/1.468, allocations: 230.6 MB / 252.8 MB, free: 8.938 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.8186/0.8186, allocations: 133.9 MB / 442.8 MB, free: 11.28 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.001979/0.001979, allocations: 65.81 kB / 0.6134 GB, free: 8.707 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1901/0.1921, allocations: 85.85 MB / 0.6973 GB, free: 2.938 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.SpecificEntropy): time 0.6026/0.7947, allocations: 166.6 MB / 0.86 GB, free: 1.785 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.007201/0.8019, allocations: 4.618 MB / 0.8645 GB, free: 13.16 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004869/0.8024, allocations: 15.81 kB / 0.8645 GB, free: 13.14 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.0005257/0.803, allocations: 123.1 kB / 0.8646 GB, free: 13.02 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.001836/0.8048, allocations: 0.5679 MB / 0.8652 GB, free: 12.45 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.002318/0.8071, allocations: 0.7856 MB / 0.866 GB, free: 11.66 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.001008/0.8081, allocations: 0.5729 MB / 0.8665 GB, free: 11.09 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003891/0.8085, allocations: 181.1 kB / 0.8667 GB, free: 10.91 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001187/0.8097, allocations: 478.2 kB / 0.8672 GB, free: 10.44 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007497/0.8104, allocations: 310.7 kB / 0.8675 GB, free: 10.14 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 4.403e-05/0.8105, allocations: 20 kB / 0.8675 GB, free: 10.12 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002514/0.813, allocations: 1.075 MB / 0.8685 GB, free: 9.043 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.0001712/0.8132, allocations: 95.7 kB / 0.8686 GB, free: 8.949 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.0002051/0.8134, allocations: 127.3 kB / 0.8687 GB, free: 8.824 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.001715/0.8151, allocations: 0.7264 MB / 0.8694 GB, free: 8.102 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 5.11e-06/0.8151, allocations: 0 / 0.8694 GB, free: 8.102 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.703e-06/0.8151, allocations: 0 / 0.8694 GB, free: 8.102 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 1.112e-05/0.8151, allocations: 3.984 kB / 0.8695 GB, free: 8.098 MB / 0.6387 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.001138/0.8162, allocations: 0.6067 MB / 0.87 GB, free: 7.441 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 5.12e-05/0.8163, allocations: 13.11 kB / 0.8701 GB, free: 7.43 MB / 0.6387 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.734e-05/0.8164, allocations: 51.48 kB / 0.8701 GB, free: 7.371 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006671/0.817, allocations: 79.73 kB / 0.8702 GB, free: 7.293 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004596/0.8175, allocations: 303.4 kB / 0.8705 GB, free: 6.957 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.449e-05/0.8175, allocations: 16 kB / 0.8705 GB, free: 6.941 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.657e-05/0.8176, allocations: 19.98 kB / 0.8705 GB, free: 6.922 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005367/0.8181, allocations: 291.4 kB / 0.8708 GB, free: 6.609 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.359e-05/0.8181, allocations: 3.938 kB / 0.8708 GB, free: 6.605 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.655e-05/0.8181, allocations: 8 kB / 0.8708 GB, free: 6.598 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.628e-06/0.8181, allocations: 4 kB / 0.8708 GB, free: 6.594 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004784/0.8186, allocations: 203.8 kB / 0.871 GB, free: 6.395 MB / 0.6387 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001771/0.8204, allocations: 1.252 MB / 0.8722 GB, free: 5.066 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003176/0.8207, allocations: 177 kB / 0.8724 GB, free: 4.848 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000214/0.8209, allocations: 112.3 kB / 0.8725 GB, free: 4.723 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007832/0.8217, allocations: 335.2 kB / 0.8728 GB, free: 4.34 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.89e-05/0.8217, allocations: 38.56 kB / 0.8728 GB, free: 4.293 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=13): time 2.124e-06/0.8218, allocations: 0 / 0.8728 GB, free: 4.293 MB / 0.6387 GB Notification: Performance of matching and sorting (n=13): time 0.0008274/0.8226, allocations: 277.2 kB / 0.8731 GB, free: 4.016 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001061/0.8227, allocations: 154.7 kB / 0.8733 GB, free: 3.828 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003593/0.823, allocations: 298.9 kB / 0.8735 GB, free: 3.527 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 3.817e-05/0.8231, allocations: 29.7 kB / 0.8736 GB, free: 3.492 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001388/0.8232, allocations: 148 kB / 0.8737 GB, free: 3.344 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 5.2e-05/0.8233, allocations: 51.52 kB / 0.8738 GB, free: 3.293 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.308e-05/0.8234, allocations: 45.64 kB / 0.8738 GB, free: 3.242 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001715/0.8235, allocations: 338.8 kB / 0.8741 GB, free: 2.902 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001784/0.8237, allocations: 67.94 kB / 0.8742 GB, free: 2.836 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002487/0.824, allocations: 138.6 kB / 0.8743 GB, free: 2.672 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003949/0.8244, allocations: 211.5 kB / 0.8745 GB, free: 2.438 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.002e-06/0.8244, allocations: 4 kB / 0.8745 GB, free: 2.434 MB / 0.6387 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0005535/0.8249, allocations: 245.2 kB / 0.8748 GB, free: 2.188 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 2.005e-05/0.8249, allocations: 8 kB / 0.8748 GB, free: 2.18 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.895e-06/0.8249, allocations: 0 / 0.8748 GB, free: 2.18 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.376e-05/0.825, allocations: 4 kB / 0.8748 GB, free: 2.176 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002009/0.8252, allocations: 35.92 kB / 0.8748 GB, free: 2.141 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.195e-05/0.8252, allocations: 8.188 kB / 0.8748 GB, free: 2.133 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002087/0.8254, allocations: 35.83 kB / 0.8749 GB, free: 2.098 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.486e-05/0.8254, allocations: 8 kB / 0.8749 GB, free: 2.09 MB / 0.6387 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.0001643/0.8256, allocations: 149.8 kB / 0.875 GB, free: 1.934 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001599/0.8258, allocations: 23.86 kB / 0.875 GB, free: 1.91 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005333/0.8263, allocations: 196 kB / 0.8752 GB, free: 1.695 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.739e-06/0.8263, allocations: 4 kB / 0.8752 GB, free: 1.691 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.348e-06/0.8263, allocations: 7.562 kB / 0.8752 GB, free: 1.688 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.482e-06/0.8263, allocations: 4 kB / 0.8752 GB, free: 1.684 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001215/0.8275, allocations: 0.8511 MB / 0.8761 GB, free: 0.7578 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.773e-06/0.8275, allocations: 7.938 kB / 0.8761 GB, free: 0.75 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000127/0.8277, allocations: 23.92 kB / 0.8761 GB, free: 0.7266 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.171e-06/0.8277, allocations: 8.156 kB / 0.8761 GB, free: 0.7188 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.162e-05/0.8277, allocations: 0 / 0.8761 GB, free: 0.7188 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.519e-06/0.8277, allocations: 4 kB / 0.8761 GB, free: 0.7148 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.844e-06/0.8277, allocations: 0 / 0.8761 GB, free: 0.7148 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006001/0.8283, allocations: 347.5 kB / 0.8764 GB, free: 352 kB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001105/0.8284, allocations: 108.9 kB / 0.8765 GB, free: 224 kB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.885e-05/0.8284, allocations: 4 kB / 0.8765 GB, free: 220 kB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001576/0.8286, allocations: 11.98 kB / 0.8766 GB, free: 208 kB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.347e-05/0.8286, allocations: 15.98 kB / 0.8766 GB, free: 192 kB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.497e-06/0.8286, allocations: 4 kB / 0.8766 GB, free: 188 kB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.0002714/0.8289, allocations: 237.9 kB / 0.8768 GB, free: 15.95 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.2e-07/0.8289, allocations: 96 / 0.8768 GB, free: 15.95 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0005158/0.8294, allocations: 103.8 kB / 0.8769 GB, free: 15.85 MB / 0.6544 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.001314/0.8308, allocations: 0.9702 MB / 0.8778 GB, free: 14.84 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0004507/0.8312, allocations: 151.7 kB / 0.878 GB, free: 14.69 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 5.1e-06/0.8312, allocations: 4 kB / 0.878 GB, free: 14.69 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0001514/0.8314, allocations: 52.72 kB / 0.878 GB, free: 14.64 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008135/0.8322, allocations: 151.8 kB / 0.8782 GB, free: 14.5 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00387/0.836, allocations: 2.761 MB / 0.8809 GB, free: 11.58 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003937/0.8364, allocations: 0.7597 MB / 0.8816 GB, free: 10.8 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.0002181/0.8367, allocations: 58.94 kB / 0.8817 GB, free: 10.74 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001263/0.8368, allocations: 75.42 kB / 0.8818 GB, free: 10.67 MB / 0.6544 GB Notification: Performance of SimCode: time 9.12e-07/0.8368, allocations: 4 kB / 0.8818 GB, free: 10.66 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03593/0.8727, allocations: 8.601 MB / 0.8902 GB, free: 2.234 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.089/8.962, allocations: 3.094 kB / 0.8902 GB, free: 2.234 MB / 0.6544 GB " [Timeout remaining time 651] (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: 12.605667862997507] Failed to read output from testmodel.py, exit status != 0: 9.032121437005117 9.048380641 8.230144047 Calling exit ...