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.001175/0.001175, allocations: 114.3 kB / 18.94 MB, free: 2.934 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.001402/0.001402, allocations: 217.3 kB / 22.25 MB, free: 5.078 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.422/1.422, allocations: 230.6 MB / 256 MB, free: 8.012 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.8314/0.8314, allocations: 134 MB / 446.4 MB, free: 10.23 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.001909/0.001909, allocations: 66.23 kB / 0.6186 GB, free: 7.184 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1699/0.1718, allocations: 85.91 MB / 0.7025 GB, free: 1.352 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.SpecificEntropy): time 0.5588/0.7306, allocations: 166.8 MB / 0.8653 GB, free: 15.8 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.005954/0.7365, allocations: 4.65 MB / 0.8699 GB, free: 11.14 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003467/0.7369, allocations: 15.88 kB / 0.8699 GB, free: 11.12 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.0004657/0.7373, allocations: 127 kB / 0.87 GB, free: 11 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.001373/0.7387, allocations: 0.5679 MB / 0.8706 GB, free: 10.43 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.001958/0.7407, allocations: 0.8205 MB / 0.8714 GB, free: 9.605 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.0007838/0.7414, allocations: 0.5846 MB / 0.8719 GB, free: 9.02 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003342/0.7418, allocations: 169.4 kB / 0.8721 GB, free: 8.855 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001009/0.7428, allocations: 482.2 kB / 0.8726 GB, free: 8.383 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006505/0.7434, allocations: 325.5 kB / 0.8729 GB, free: 8.066 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 3.706e-05/0.7435, allocations: 16 kB / 0.8729 GB, free: 8.051 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001771/0.7452, allocations: 1.111 MB / 0.874 GB, free: 6.938 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.0001106/0.7454, allocations: 87.72 kB / 0.8741 GB, free: 6.852 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.0001407/0.7455, allocations: 127.4 kB / 0.8742 GB, free: 6.727 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.001035/0.7465, allocations: 0.7315 MB / 0.8749 GB, free: 6 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 4.328e-06/0.7465, allocations: 0 / 0.8749 GB, free: 6 MB / 0.6387 GB Notification: Performance of FrontEnd: time 5.169e-06/0.7465, allocations: 3.984 kB / 0.8749 GB, free: 5.996 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 6.983e-06/0.7465, allocations: 0 / 0.8749 GB, free: 5.996 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.000998/0.7475, allocations: 0.5314 MB / 0.8754 GB, free: 5.434 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 4.308e-05/0.7476, allocations: 12.03 kB / 0.8754 GB, free: 5.422 MB / 0.6387 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.439e-05/0.7477, allocations: 53.67 kB / 0.8755 GB, free: 5.363 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000659/0.7483, allocations: 83.67 kB / 0.8756 GB, free: 5.281 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004251/0.7487, allocations: 241.6 kB / 0.8758 GB, free: 5.02 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.926e-05/0.7488, allocations: 16 kB / 0.8758 GB, free: 5.004 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.324e-05/0.7488, allocations: 20 kB / 0.8758 GB, free: 4.984 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004842/0.7493, allocations: 283.4 kB / 0.8761 GB, free: 4.68 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.349e-05/0.7493, allocations: 3.938 kB / 0.8761 GB, free: 4.676 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.307e-05/0.7493, allocations: 8 kB / 0.8761 GB, free: 4.668 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.785e-06/0.7493, allocations: 4 kB / 0.8761 GB, free: 4.664 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004224/0.7497, allocations: 207.7 kB / 0.8763 GB, free: 4.461 MB / 0.6387 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001639/0.7514, allocations: 1.206 MB / 0.8775 GB, free: 3.184 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003009/0.7517, allocations: 169 kB / 0.8776 GB, free: 2.973 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002075/0.7519, allocations: 112.4 kB / 0.8777 GB, free: 2.848 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006242/0.7525, allocations: 107.9 kB / 0.8779 GB, free: 2.742 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.478e-05/0.7526, allocations: 34.55 kB / 0.8779 GB, free: 2.699 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=13): time 1.303e-06/0.7526, allocations: 0 / 0.8779 GB, free: 2.699 MB / 0.6387 GB Notification: Performance of matching and sorting (n=13): time 0.0007424/0.7533, allocations: 281.7 kB / 0.8782 GB, free: 2.418 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.738e-05/0.7534, allocations: 162.2 kB / 0.8783 GB, free: 2.223 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002989/0.7537, allocations: 296.1 kB / 0.8786 GB, free: 1.926 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 2.517e-05/0.7537, allocations: 25.7 kB / 0.8786 GB, free: 1.895 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001151/0.7538, allocations: 144 kB / 0.8788 GB, free: 1.75 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 4.743e-05/0.7539, allocations: 55.53 kB / 0.8788 GB, free: 1.695 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.43e-05/0.754, allocations: 41.7 kB / 0.8788 GB, free: 1.648 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001516/0.7541, allocations: 338.8 kB / 0.8792 GB, free: 1.309 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001638/0.7543, allocations: 59.95 kB / 0.8792 GB, free: 1.25 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002303/0.7545, allocations: 144.5 kB / 0.8794 GB, free: 1.078 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003905/0.7549, allocations: 222.2 kB / 0.8796 GB, free: 0.8359 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.7549, allocations: 0 / 0.8796 GB, free: 0.8359 MB / 0.6387 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0004946/0.7554, allocations: 249.2 kB / 0.8798 GB, free: 0.5859 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 1.65e-05/0.7554, allocations: 4.25 kB / 0.8798 GB, free: 0.582 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.734e-06/0.7554, allocations: 8 kB / 0.8798 GB, free: 0.5742 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.743e-05/0.7554, allocations: 4 kB / 0.8798 GB, free: 0.5703 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001888/0.7556, allocations: 39.91 kB / 0.8799 GB, free: 0.5312 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.14e-05/0.7556, allocations: 7.938 kB / 0.8799 GB, free: 0.5234 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001807/0.7558, allocations: 27.83 kB / 0.8799 GB, free: 0.4961 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.902e-05/0.7558, allocations: 12 kB / 0.8799 GB, free: 496 kB / 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.0001497/0.756, allocations: 149.7 kB / 0.8801 GB, free: 336 kB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001427/0.7561, allocations: 31.84 kB / 0.8801 GB, free: 304 kB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004566/0.7566, allocations: 193.8 kB / 0.8803 GB, free: 92 kB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.973e-06/0.7566, allocations: 4 kB / 0.8803 GB, free: 88 kB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.242e-06/0.7566, allocations: 3.938 kB / 0.8803 GB, free: 84 kB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.318e-06/0.7566, allocations: 0 / 0.8803 GB, free: 84 kB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001039/0.7576, allocations: 0.8267 MB / 0.8811 GB, free: 15.19 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.044e-06/0.7576, allocations: 0 / 0.8811 GB, free: 15.19 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001194/0.7578, allocations: 27.92 kB / 0.8811 GB, free: 15.16 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.906e-06/0.7578, allocations: 0 / 0.8811 GB, free: 15.16 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.319e-05/0.7578, allocations: 4 kB / 0.8811 GB, free: 15.16 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.904e-06/0.7578, allocations: 0 / 0.8811 GB, free: 15.16 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.403e-06/0.7578, allocations: 4 kB / 0.8811 GB, free: 15.15 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005622/0.7583, allocations: 343.6 kB / 0.8814 GB, free: 14.79 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 7.875e-05/0.7584, allocations: 35.81 kB / 0.8815 GB, free: 14.75 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.14e-05/0.7585, allocations: 12.05 kB / 0.8815 GB, free: 14.74 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001514/0.7586, allocations: 8 kB / 0.8815 GB, free: 14.73 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.02e-05/0.7587, allocations: 11.92 kB / 0.8815 GB, free: 14.72 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.895e-06/0.7587, allocations: 4.094 kB / 0.8815 GB, free: 14.71 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0002477/0.7589, allocations: 243 kB / 0.8817 GB, free: 14.48 MB / 0.6544 GB Notification: Performance of sort global known variables: time 9e-08/0.7589, allocations: 0 / 0.8817 GB, free: 14.48 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0004509/0.7594, allocations: 99.75 kB / 0.8818 GB, free: 14.38 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.001125/0.7605, allocations: 0.9712 MB / 0.8828 GB, free: 13.37 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0003904/0.7609, allocations: 148.2 kB / 0.8829 GB, free: 13.23 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.7609, allocations: 0 / 0.8829 GB, free: 13.23 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0001404/0.761, allocations: 59.89 kB / 0.883 GB, free: 13.17 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007543/0.7618, allocations: 150.4 kB / 0.8831 GB, free: 13.03 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0035/0.7653, allocations: 2.78 MB / 0.8858 GB, free: 10.09 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003657/0.7657, allocations: 0.7519 MB / 0.8866 GB, free: 9.316 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.0001825/0.7658, allocations: 66.94 kB / 0.8866 GB, free: 9.254 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001165/0.766, allocations: 75.41 kB / 0.8867 GB, free: 9.18 MB / 0.6544 GB Notification: Performance of SimCode: time 3.9e-07/0.766, allocations: 4 kB / 0.8867 GB, free: 9.176 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03705/0.803, allocations: 8.774 MB / 0.8953 GB, free: 0.6016 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.11/11.91, allocations: 12 kB / 0.8953 GB, free: 0.5898 MB / 0.6544 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.490243236003153] Failed to read output from testmodel.py, exit status != 0: 12.020523391001916 12.046421682 11.295346736 Calling exit ...