Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Fluid.Sensors.Examples.TraceSubstances.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.001677/0.001677, 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.001652/0.001652, allocations: 214.6 kB / 22.25 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.46/1.46, allocations: 230.6 MB / 256 MB, free: 7.773 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.8539/0.8539, allocations: 134 MB / 446.4 MB, free: 9.934 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.TraceSubstances,fileNamePrefix="IDEAS_IDEAS_Fluid_Sensors_Examples_TraceSubstances",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Sensors.Examples.TraceSubstances,fileNamePrefix="IDEAS_IDEAS_Fluid_Sensors_Examples_TraceSubstances",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.001872/0.001872, allocations: 67.27 kB / 0.6185 GB, free: 6.828 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1682/0.17, allocations: 85.92 MB / 0.7024 GB, free: 1.008 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.TraceSubstances): time 0.6354/0.8055, allocations: 172.6 MB / 0.871 GB, free: 6.418 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.01897/0.8245, allocations: 13.15 MB / 0.8838 GB, free: 9.234 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001418/0.8259, allocations: 47.62 kB / 0.8839 GB, free: 9.188 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.001755/0.8276, allocations: 0.489 MB / 0.8844 GB, free: 8.695 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.005329/0.833, allocations: 1.948 MB / 0.8863 GB, free: 6.746 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.002651/0.8356, allocations: 0.8841 MB / 0.8871 GB, free: 5.867 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.004238/0.8398, allocations: 2.612 MB / 0.8897 GB, free: 3.25 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001656/0.8415, allocations: 0.7913 MB / 0.8904 GB, free: 2.438 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005142/0.8466, allocations: 1.671 MB / 0.8921 GB, free: 0.7852 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002018/0.8487, allocations: 0.9516 MB / 0.893 GB, free: 15.83 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 0.0002345/0.8489, allocations: 104 kB / 0.8931 GB, free: 15.73 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002257/0.8512, allocations: 0.9389 MB / 0.894 GB, free: 14.79 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 0.0005718/0.8517, allocations: 0.5064 MB / 0.8945 GB, free: 14.28 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.0007075/0.8524, allocations: 0.5368 MB / 0.895 GB, free: 13.74 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.003076/0.8555, allocations: 1.907 MB / 0.8969 GB, free: 11.83 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 6.281e-06/0.8555, allocations: 0 / 0.8969 GB, free: 11.83 MB / 0.67 GB Notification: Performance of FrontEnd: time 1.683e-06/0.8555, allocations: 0 / 0.8969 GB, free: 11.83 MB / 0.67 GB Notification: Performance of Transformations before backend: time 2.365e-05/0.8555, allocations: 0 / 0.8969 GB, free: 11.83 MB / 0.67 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 226 * Number of variables: 226 Notification: Performance of Generate backend data structure: time 0.002462/0.858, allocations: 1.411 MB / 0.8983 GB, free: 10.38 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 4.464e-05/0.858, allocations: 12.03 kB / 0.8983 GB, free: 10.37 MB / 0.67 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000179/0.8582, allocations: 143.6 kB / 0.8984 GB, free: 10.22 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001284/0.8595, allocations: 259 kB / 0.8987 GB, free: 9.969 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001517/0.861, allocations: 0.7323 MB / 0.8994 GB, free: 9.211 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.187e-05/0.8611, allocations: 74 kB / 0.8995 GB, free: 9.137 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001496/0.8612, allocations: 92 kB / 0.8996 GB, free: 9.047 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001872/0.8631, allocations: 1.301 MB / 0.9008 GB, free: 7.648 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.743e-05/0.8631, allocations: 7.938 kB / 0.9008 GB, free: 7.641 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.239e-05/0.8632, allocations: 40 kB / 0.9009 GB, free: 7.602 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.906e-05/0.8633, allocations: 34 kB / 0.9009 GB, free: 7.566 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001399/0.8647, allocations: 0.9015 MB / 0.9018 GB, free: 6.668 MB / 0.67 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005701/0.8704, allocations: 4.119 MB / 0.9058 GB, free: 2.414 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008136/0.8712, allocations: 0.5011 MB / 0.9063 GB, free: 1.906 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004265/0.8716, allocations: 290.6 kB / 0.9066 GB, free: 1.621 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004801/0.8721, allocations: 80.34 kB / 0.9066 GB, free: 1.543 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.37e-05/0.8722, allocations: 39 kB / 0.9067 GB, free: 1.496 MB / 0.67 GB Notification: Performance of pre-optimization done (n=49): time 2.365e-06/0.8722, allocations: 4 kB / 0.9067 GB, free: 1.492 MB / 0.67 GB Notification: Performance of matching and sorting (n=49): time 0.001652/0.8738, allocations: 0.803 MB / 0.9075 GB, free: 0.6797 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.013e-05/0.8739, allocations: 63.78 kB / 0.9075 GB, free: 0.6055 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001019/0.8749, allocations: 0.7586 MB / 0.9083 GB, free: 15.84 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 6.886e-05/0.8749, allocations: 37.7 kB / 0.9083 GB, free: 15.79 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004871/0.8754, allocations: 0.5195 MB / 0.9088 GB, free: 15.27 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002519/0.8757, allocations: 190.4 kB / 0.909 GB, free: 15.08 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002265/0.8759, allocations: 138.6 kB / 0.9091 GB, free: 14.93 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 0.0001677/0.8761, allocations: 341.9 kB / 0.9095 GB, free: 14.59 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003825/0.8765, allocations: 245.9 kB / 0.9097 GB, free: 14.36 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009331/0.8774, allocations: 0.8578 MB / 0.9105 GB, free: 13.29 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001043/0.8784, allocations: 0.8034 MB / 0.9113 GB, free: 12.38 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.532e-06/0.8784, allocations: 8 kB / 0.9113 GB, free: 12.37 MB / 0.6856 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.001337/0.8798, allocations: 0.8466 MB / 0.9121 GB, free: 11.52 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 2.332e-05/0.8798, allocations: 8 kB / 0.9122 GB, free: 11.51 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.612e-05/0.8798, allocations: 8 kB / 0.9122 GB, free: 11.5 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.999e-05/0.8799, allocations: 12 kB / 0.9122 GB, free: 11.49 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000579/0.8804, allocations: 152.4 kB / 0.9123 GB, free: 11.34 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.115e-05/0.8805, allocations: 33.36 kB / 0.9124 GB, free: 11.31 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007401/0.8812, allocations: 87.39 kB / 0.9124 GB, free: 11.22 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.191e-05/0.8813, allocations: 32 kB / 0.9125 GB, free: 11.19 MB / 0.6856 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 36 * 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 (86): * Single equations (assignments): 86 * 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.0004911/0.8818, allocations: 329.5 kB / 0.9128 GB, free: 10.86 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001374/0.8819, allocations: 91.44 kB / 0.9129 GB, free: 10.77 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001006/0.8829, allocations: 0.6179 MB / 0.9135 GB, free: 10.14 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.544e-06/0.8829, allocations: 4 kB / 0.9135 GB, free: 10.14 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.975e-06/0.8829, allocations: 8.812 kB / 0.9135 GB, free: 10.13 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007218/0.8836, allocations: 0.5173 MB / 0.914 GB, free: 9.605 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002495/0.8861, allocations: 1.538 MB / 0.9155 GB, free: 7.996 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.172e-06/0.8861, allocations: 4 kB / 0.9155 GB, free: 7.992 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005206/0.8867, allocations: 112.1 kB / 0.9156 GB, free: 7.883 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.135e-06/0.8867, allocations: 8 kB / 0.9156 GB, free: 7.875 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.824e-05/0.8867, allocations: 9.062 kB / 0.9156 GB, free: 7.867 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.541e-06/0.8867, allocations: 4 kB / 0.9156 GB, free: 7.863 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.34e-06/0.8867, allocations: 4 kB / 0.9156 GB, free: 7.859 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001434/0.8881, allocations: 1.062 MB / 0.9167 GB, free: 6.758 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003877/0.8885, allocations: 155.3 kB / 0.9168 GB, free: 6.605 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001131/0.8886, allocations: 8 kB / 0.9168 GB, free: 6.598 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004333/0.8891, allocations: 19.98 kB / 0.9168 GB, free: 6.578 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.076e-05/0.8892, allocations: 39.83 kB / 0.9169 GB, free: 6.539 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.042e-05/0.8892, allocations: 24.8 kB / 0.9169 GB, free: 6.516 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.0006611/0.8899, allocations: 0.5107 MB / 0.9174 GB, free: 6.008 MB / 0.6856 GB Notification: Performance of sort global known variables: time 9e-08/0.8899, allocations: 0 / 0.9174 GB, free: 6.008 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.0009167/0.8908, allocations: 295.5 kB / 0.9177 GB, free: 5.719 MB / 0.6856 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 4 (vol.dynBal.U,vol.dynBal.m,vol.dynBal.mXi[1],vol.dynBal.mC[1]) * 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 (49): * Single equations (assignments): 49 * 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.002063/0.8928, allocations: 1.697 MB / 0.9193 GB, free: 3.984 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.0009797/0.8938, allocations: 0.5885 MB / 0.9199 GB, free: 3.398 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 3.687e-06/0.8938, allocations: 0 / 0.9199 GB, free: 3.398 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.0003653/0.8942, allocations: 263.4 kB / 0.9202 GB, free: 3.141 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001848/0.896, allocations: 448.6 kB / 0.9206 GB, free: 2.723 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009919/0.906, allocations: 7.205 MB / 0.9276 GB, free: 11.12 MB / 0.7012 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000568/0.9065, allocations: 0.5238 MB / 0.9281 GB, free: 10.57 MB / 0.7012 GB Notification: Performance of simCode: alias equations: time 0.0007966/0.9073, allocations: 271 kB / 0.9284 GB, free: 10.3 MB / 0.7012 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004768/0.9078, allocations: 363.3 kB / 0.9287 GB, free: 9.945 MB / 0.7012 GB Notification: Performance of SimCode: time 1.112e-06/0.9078, allocations: 0 / 0.9287 GB, free: 9.945 MB / 0.7012 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06433/0.9721, allocations: 25.48 MB / 0.9536 GB, free: 0.9883 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.02/12.99, allocations: 8.078 kB / 0.9536 GB, free: 0.9844 MB / 0.7169 GB " [Timeout remaining time 647] (rm -f IDEAS_IDEAS.Fluid.Sensors.Examples.TraceSubstances.pipe ; mkfifo IDEAS_IDEAS.Fluid.Sensors.Examples.TraceSubstances.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Sensors.Examples.TraceSubstances.pipe >> ../files/IDEAS_IDEAS.Fluid.Sensors.Examples.TraceSubstances.sim & python3 -m fmpy simulate --output-file IDEAS_IDEAS.Fluid.Sensors.Examples.TraceSubstances_res.csv --start-time 0 --stop-time 7200 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 2.88 IDEAS_IDEAS_Fluid_Sensors_Examples_TraceSubstances.fmu > IDEAS_IDEAS.Fluid.Sensors.Examples.TraceSubstances.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 16.71357487188652] Failed to read output from testmodel.py, exit status != 0: 13.117351511958987 13.140812125 12.281445828 Calling exit ...