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.001295/0.001295, allocations: 114.3 kB / 18.94 MB, free: 2.957 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.001433/0.001433, allocations: 216.4 kB / 22.25 MB, free: 5.117 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.412/1.412, allocations: 230.6 MB / 256 MB, free: 8.023 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.8278/0.8278, allocations: 134 MB / 446.4 MB, free: 10.24 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.0031/0.0031, allocations: 72.27 kB / 0.6186 GB, free: 7.215 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2094/0.2125, allocations: 85.9 MB / 0.7025 GB, free: 1.391 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.TraceSubstances): time 0.5914/0.8039, allocations: 199.1 MB / 0.8969 GB, free: 15.44 MB / 0.67 GB Notification: Performance of NFInst.instExpressions: time 0.01862/0.8225, allocations: 14.51 MB / 0.9111 GB, free: 0.8906 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001512/0.824, allocations: 51.56 kB / 0.9111 GB, free: 0.8398 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.001583/0.8256, allocations: 0.5085 MB / 0.9116 GB, free: 336 kB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.005227/0.8308, allocations: 1.988 MB / 0.9136 GB, free: 14.33 MB / 0.6856 GB Notification: Performance of NFTyping.typeClassSections: time 0.00244/0.8333, allocations: 0.9018 MB / 0.9144 GB, free: 13.43 MB / 0.6856 GB Notification: Performance of NFFlatten.flatten: time 0.003613/0.8369, allocations: 2.64 MB / 0.917 GB, free: 10.79 MB / 0.6856 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001224/0.8381, allocations: 0.8016 MB / 0.9178 GB, free: 9.969 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004639/0.8427, allocations: 1.698 MB / 0.9195 GB, free: 8.293 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001766/0.8445, allocations: 0.9826 MB / 0.9204 GB, free: 7.309 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 0.000161/0.8447, allocations: 111.9 kB / 0.9205 GB, free: 7.199 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00241/0.8471, allocations: 1.185 MB / 0.9217 GB, free: 6.012 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.0005977/0.8477, allocations: 0.5025 MB / 0.9222 GB, free: 5.508 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.000797/0.8485, allocations: 0.6377 MB / 0.9228 GB, free: 4.867 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.002672/0.8511, allocations: 1.923 MB / 0.9247 GB, free: 2.941 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 4.709e-06/0.8512, allocations: 0 / 0.9247 GB, free: 2.941 MB / 0.6856 GB Notification: Performance of FrontEnd: time 1.403e-06/0.8512, allocations: 4 kB / 0.9247 GB, free: 2.938 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 1.425e-05/0.8512, allocations: 0 / 0.9247 GB, free: 2.938 MB / 0.6856 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.00231/0.8535, allocations: 1.411 MB / 0.9261 GB, free: 1.488 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 4.538e-05/0.8535, allocations: 12.02 kB / 0.9261 GB, free: 1.477 MB / 0.6856 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001962/0.8537, allocations: 147.6 kB / 0.9262 GB, free: 1.324 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00131/0.855, allocations: 270.8 kB / 0.9265 GB, free: 1.059 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001411/0.8564, allocations: 0.7168 MB / 0.9272 GB, free: 324 kB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.291e-05/0.8565, allocations: 74 kB / 0.9272 GB, free: 248 kB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001416/0.8567, allocations: 91.98 kB / 0.9273 GB, free: 156 kB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001839/0.8585, allocations: 1.178 MB / 0.9285 GB, free: 14.9 MB / 0.7012 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.994e-05/0.8585, allocations: 4 kB / 0.9285 GB, free: 14.9 MB / 0.7012 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.955e-05/0.8586, allocations: 36 kB / 0.9285 GB, free: 14.86 MB / 0.7012 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.849e-05/0.8587, allocations: 37.98 kB / 0.9285 GB, free: 14.82 MB / 0.7012 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001438/0.8601, allocations: 0.9015 MB / 0.9294 GB, free: 13.93 MB / 0.7012 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.006352/0.8664, allocations: 5.669 MB / 0.935 GB, free: 7.805 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007723/0.8672, allocations: 0.5106 MB / 0.9355 GB, free: 7.289 MB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004528/0.8677, allocations: 290.6 kB / 0.9357 GB, free: 7.004 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005134/0.8682, allocations: 84.41 kB / 0.9358 GB, free: 6.922 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.959e-05/0.8682, allocations: 42.94 kB / 0.9359 GB, free: 6.871 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=49): time 2.124e-06/0.8682, allocations: 0 / 0.9359 GB, free: 6.871 MB / 0.7012 GB Notification: Performance of matching and sorting (n=49): time 0.001537/0.8698, allocations: 0.7992 MB / 0.9366 GB, free: 6.062 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.26e-05/0.8698, allocations: 59.78 kB / 0.9367 GB, free: 5.992 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000945/0.8708, allocations: 0.7626 MB / 0.9374 GB, free: 5.219 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 5.577e-05/0.8708, allocations: 37.7 kB / 0.9375 GB, free: 5.176 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004419/0.8713, allocations: 0.5155 MB / 0.938 GB, free: 4.652 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001866/0.8714, allocations: 186.4 kB / 0.9382 GB, free: 4.469 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002107/0.8717, allocations: 142.6 kB / 0.9383 GB, free: 4.32 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.0001694/0.8718, allocations: 334 kB / 0.9386 GB, free: 3.988 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003908/0.8722, allocations: 249.8 kB / 0.9389 GB, free: 3.746 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007009/0.8729, allocations: 0.5644 MB / 0.9394 GB, free: 3.043 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00108/0.874, allocations: 0.7918 MB / 0.9402 GB, free: 2.141 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.891e-06/0.874, allocations: 4 kB / 0.9402 GB, free: 2.137 MB / 0.7012 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.001302/0.8753, allocations: 0.855 MB / 0.941 GB, free: 1.277 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 3.633e-05/0.8753, allocations: 8 kB / 0.941 GB, free: 1.27 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.457e-05/0.8754, allocations: 8 kB / 0.941 GB, free: 1.262 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.599e-05/0.8754, allocations: 12 kB / 0.941 GB, free: 1.25 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005685/0.8759, allocations: 155.7 kB / 0.9412 GB, free: 1.098 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.491e-05/0.876, allocations: 21.44 kB / 0.9412 GB, free: 1.078 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006696/0.8766, allocations: 91.34 kB / 0.9413 GB, free: 0.9883 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.047e-05/0.8767, allocations: 35.98 kB / 0.9413 GB, free: 0.9531 MB / 0.7012 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.0004607/0.8772, allocations: 329.5 kB / 0.9416 GB, free: 0.6211 MB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001798/0.8773, allocations: 91.44 kB / 0.9417 GB, free: 0.5312 MB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001066/0.8784, allocations: 0.618 MB / 0.9423 GB, free: 15.9 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.215e-06/0.8784, allocations: 12.94 kB / 0.9424 GB, free: 15.89 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.458e-06/0.8784, allocations: 3.938 kB / 0.9424 GB, free: 15.89 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007769/0.8792, allocations: 0.5134 MB / 0.9429 GB, free: 15.36 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002737/0.8819, allocations: 1.631 MB / 0.9444 GB, free: 13.66 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.136e-06/0.8819, allocations: 0 / 0.9444 GB, free: 13.66 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000518/0.8825, allocations: 112.1 kB / 0.9446 GB, free: 13.55 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.594e-06/0.8825, allocations: 8 kB / 0.9446 GB, free: 13.55 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.137e-05/0.8825, allocations: 16.88 kB / 0.9446 GB, free: 13.53 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.554e-06/0.8825, allocations: 7.984 kB / 0.9446 GB, free: 13.52 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.938e-06/0.8825, allocations: 3.938 kB / 0.9446 GB, free: 13.52 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001465/0.884, allocations: 1.054 MB / 0.9456 GB, free: 12.43 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003554/0.8843, allocations: 151.3 kB / 0.9458 GB, free: 12.28 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.872e-05/0.8844, allocations: 12 kB / 0.9458 GB, free: 12.27 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004377/0.8849, allocations: 23.98 kB / 0.9458 GB, free: 12.24 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.981e-05/0.8849, allocations: 43.81 kB / 0.9458 GB, free: 12.2 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.501e-05/0.885, allocations: 16 kB / 0.9459 GB, free: 12.18 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0006728/0.8857, allocations: 0.5146 MB / 0.9464 GB, free: 11.67 MB / 0.7169 GB Notification: Performance of sort global known variables: time 7e-08/0.8857, allocations: 0 / 0.9464 GB, free: 11.67 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0008839/0.8865, allocations: 299.5 kB / 0.9466 GB, free: 11.38 MB / 0.7169 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.002096/0.8886, allocations: 1.697 MB / 0.9483 GB, free: 9.645 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0009953/0.8896, allocations: 0.5877 MB / 0.9489 GB, free: 9.059 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 3.166e-06/0.8896, allocations: 0 / 0.9489 GB, free: 9.059 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0003687/0.89, allocations: 261 kB / 0.9491 GB, free: 8.805 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001779/0.8918, allocations: 444.2 kB / 0.9495 GB, free: 8.395 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009734/0.9015, allocations: 7.217 MB / 0.9566 GB, free: 0.7812 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008141/0.9023, allocations: 1.118 MB / 0.9577 GB, free: 15.63 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.000757/0.9031, allocations: 275 kB / 0.9579 GB, free: 15.36 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004713/0.9036, allocations: 355.3 kB / 0.9583 GB, free: 15.02 MB / 0.7325 GB Notification: Performance of SimCode: time 6.31e-07/0.9036, allocations: 3.938 kB / 0.9583 GB, free: 15.01 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06039/0.9639, allocations: 23.85 MB / 0.9816 GB, free: 7.52 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.33/13.3, allocations: 2.5 kB / 0.9816 GB, free: 7.52 MB / 0.7481 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.956851268005266] Failed to read output from testmodel.py, exit status != 0: 13.417756005001138 13.432845538 12.578553946 Calling exit ...