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.001902/0.001902, allocations: 106.6 kB / 16.45 MB, free: 6.453 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.001904/0.001904, allocations: 216.2 kB / 19.43 MB, free: 3.625 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.475/1.475, allocations: 230.6 MB / 252.8 MB, free: 8.953 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.834/0.834, allocations: 134 MB / 442.8 MB, free: 11.29 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.001943/0.001943, allocations: 68.2 kB / 0.6134 GB, free: 8.715 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1578/0.1598, allocations: 85.86 MB / 0.6973 GB, free: 2.934 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.TraceSubstances): time 0.6378/0.7976, allocations: 198.7 MB / 0.8913 GB, free: 1.523 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.0211/0.8187, allocations: 14.4 MB / 0.9054 GB, free: 3.078 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001303/0.82, allocations: 51.56 kB / 0.9055 GB, free: 3.027 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.001808/0.8218, allocations: 0.5085 MB / 0.906 GB, free: 2.516 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.005105/0.8269, allocations: 1.952 MB / 0.9079 GB, free: 0.5547 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.002574/0.8295, allocations: 0.8803 MB / 0.9087 GB, free: 15.68 MB / 0.6856 GB Notification: Performance of NFFlatten.flatten: time 0.003647/0.8331, allocations: 2.577 MB / 0.9112 GB, free: 13.1 MB / 0.6856 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001473/0.8346, allocations: 0.9258 MB / 0.9121 GB, free: 12.15 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004441/0.839, allocations: 1.666 MB / 0.9138 GB, free: 10.5 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001878/0.8409, allocations: 0.9901 MB / 0.9147 GB, free: 9.512 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 0.0002234/0.8411, allocations: 104 kB / 0.9148 GB, free: 9.41 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0024/0.8435, allocations: 1.173 MB / 0.916 GB, free: 8.234 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.0006074/0.8441, allocations: 0.5102 MB / 0.9165 GB, free: 7.723 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.0008489/0.845, allocations: 0.63 MB / 0.9171 GB, free: 7.09 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.002899/0.8479, allocations: 1.935 MB / 0.919 GB, free: 5.148 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 3.918e-06/0.8479, allocations: 0 / 0.919 GB, free: 5.148 MB / 0.6856 GB Notification: Performance of FrontEnd: time 1.744e-06/0.8479, allocations: 0 / 0.919 GB, free: 5.148 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 2.789e-05/0.8479, allocations: 0 / 0.919 GB, free: 5.148 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.002455/0.8504, allocations: 1.486 MB / 0.9204 GB, free: 3.605 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 4.053e-05/0.8504, allocations: 9.109 kB / 0.9204 GB, free: 3.598 MB / 0.6856 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001778/0.8506, allocations: 147.6 kB / 0.9206 GB, free: 3.445 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001375/0.852, allocations: 263 kB / 0.9208 GB, free: 3.188 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001372/0.8533, allocations: 0.7928 MB / 0.9216 GB, free: 2.355 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.517e-05/0.8534, allocations: 70 kB / 0.9217 GB, free: 2.285 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001631/0.8536, allocations: 99.98 kB / 0.9218 GB, free: 2.188 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001847/0.8554, allocations: 1.17 MB / 0.9229 GB, free: 0.9492 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.678e-05/0.8554, allocations: 3.938 kB / 0.9229 GB, free: 0.9453 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.816e-05/0.8555, allocations: 40 kB / 0.923 GB, free: 0.9062 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.822e-05/0.8556, allocations: 33.98 kB / 0.923 GB, free: 0.8711 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001478/0.8571, allocations: 0.9015 MB / 0.9239 GB, free: 15.97 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.006294/0.8633, allocations: 5.748 MB / 0.9295 GB, free: 9.766 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008216/0.8642, allocations: 0.4999 MB / 0.93 GB, free: 9.262 MB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004566/0.8646, allocations: 298.6 kB / 0.9303 GB, free: 8.969 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000619/0.8652, allocations: 311.7 kB / 0.9306 GB, free: 8.609 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.558e-05/0.8653, allocations: 39 kB / 0.9306 GB, free: 8.562 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=49): time 2.295e-06/0.8653, allocations: 4 kB / 0.9306 GB, free: 8.559 MB / 0.7012 GB Notification: Performance of matching and sorting (n=49): time 0.001665/0.8669, allocations: 0.7991 MB / 0.9314 GB, free: 7.75 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.733e-05/0.867, allocations: 63.78 kB / 0.9314 GB, free: 7.676 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001012/0.868, allocations: 0.751 MB / 0.9322 GB, free: 6.914 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 6.595e-05/0.8681, allocations: 37.7 kB / 0.9322 GB, free: 6.871 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004552/0.8685, allocations: 0.5194 MB / 0.9327 GB, free: 6.344 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002116/0.8687, allocations: 186.4 kB / 0.9329 GB, free: 6.16 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002292/0.869, allocations: 154.5 kB / 0.933 GB, free: 6.004 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.0001641/0.8691, allocations: 334 kB / 0.9334 GB, free: 5.672 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004078/0.8695, allocations: 245.8 kB / 0.9336 GB, free: 5.43 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007174/0.8703, allocations: 0.5575 MB / 0.9341 GB, free: 4.738 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001121/0.8714, allocations: 0.7995 MB / 0.9349 GB, free: 3.828 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.012e-06/0.8714, allocations: 0 / 0.9349 GB, free: 3.828 MB / 0.7012 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.0015/0.8729, allocations: 0.8427 MB / 0.9357 GB, free: 2.98 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 2.317e-05/0.8729, allocations: 8 kB / 0.9357 GB, free: 2.973 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.455e-05/0.8729, allocations: 8 kB / 0.9358 GB, free: 2.965 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.173e-05/0.873, allocations: 12.75 kB / 0.9358 GB, free: 2.953 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006033/0.8736, allocations: 159.7 kB / 0.9359 GB, free: 2.797 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.206e-05/0.8736, allocations: 25 kB / 0.9359 GB, free: 2.773 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007541/0.8743, allocations: 97.11 kB / 0.936 GB, free: 2.68 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.332e-05/0.8744, allocations: 35.98 kB / 0.9361 GB, free: 2.645 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.0005057/0.8749, allocations: 333.4 kB / 0.9364 GB, free: 2.309 MB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001506/0.8751, allocations: 87.44 kB / 0.9365 GB, free: 2.223 MB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001096/0.8761, allocations: 0.618 MB / 0.9371 GB, free: 1.598 MB / 0.7012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.564e-06/0.8762, allocations: 4 kB / 0.9371 GB, free: 1.594 MB / 0.7012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.895e-06/0.8762, allocations: 3.938 kB / 0.9371 GB, free: 1.59 MB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008047/0.877, allocations: 0.5181 MB / 0.9376 GB, free: 1.062 MB / 0.7012 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002731/0.8797, allocations: 1.659 MB / 0.9392 GB, free: 15.32 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.877e-06/0.8797, allocations: 0 / 0.9392 GB, free: 15.32 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005619/0.8803, allocations: 115.8 kB / 0.9393 GB, free: 15.21 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.353e-05/0.8803, allocations: 4 kB / 0.9393 GB, free: 15.2 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.15e-05/0.8803, allocations: 15.98 kB / 0.9393 GB, free: 15.19 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.367e-06/0.8803, allocations: 8 kB / 0.9393 GB, free: 15.18 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.715e-06/0.8803, allocations: 0 / 0.9393 GB, free: 15.18 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001578/0.8819, allocations: 1.066 MB / 0.9404 GB, free: 14.07 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003787/0.8823, allocations: 232.5 kB / 0.9406 GB, free: 13.83 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.56e-05/0.8824, allocations: 8 kB / 0.9406 GB, free: 13.82 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004599/0.8828, allocations: 22.8 kB / 0.9406 GB, free: 13.8 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.043e-05/0.8829, allocations: 31.91 kB / 0.9407 GB, free: 13.77 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.649e-05/0.883, allocations: 19.98 kB / 0.9407 GB, free: 13.75 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0007241/0.8837, allocations: 0.5107 MB / 0.9412 GB, free: 13.24 MB / 0.7169 GB Notification: Performance of sort global known variables: time 6e-08/0.8837, allocations: 0 / 0.9412 GB, free: 13.24 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0009939/0.8847, allocations: 299.5 kB / 0.9415 GB, free: 12.95 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.002345/0.887, allocations: 1.71 MB / 0.9431 GB, free: 11.2 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.001143/0.8882, allocations: 0.5811 MB / 0.9437 GB, free: 10.62 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 6.352e-06/0.8882, allocations: 4.188 kB / 0.9437 GB, free: 10.62 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0004058/0.8886, allocations: 259.5 kB / 0.944 GB, free: 10.36 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002069/0.8907, allocations: 431.1 kB / 0.9444 GB, free: 9.961 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0109/0.9016, allocations: 7.222 MB / 0.9514 GB, free: 2.34 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008381/0.9024, allocations: 1.122 MB / 0.9525 GB, free: 1.191 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.0008254/0.9032, allocations: 271 kB / 0.9528 GB, free: 0.9219 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005281/0.9038, allocations: 359.3 kB / 0.9531 GB, free: 0.5742 MB / 0.7169 GB Notification: Performance of SimCode: time 8.21e-07/0.9038, allocations: 0 / 0.9531 GB, free: 0.5742 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06034/0.9641, allocations: 23.24 MB / 0.9758 GB, free: 9.676 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.359/10.32, allocations: 4.547 kB / 0.9758 GB, free: 9.672 MB / 0.7481 GB " [Timeout remaining time 650] (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: 13.975367986000492] Failed to read output from testmodel.py, exit status != 0: 10.40554429400072 10.426461333 9.574370632 Calling exit ...