Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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.001571/0.001571, allocations: 114.8 kB / 19.69 MB, free: 2.047 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.001744/0.001744, allocations: 223.3 kB / 23.01 MB, free: 4.93 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.414/1.414, allocations: 230.6 MB / 256.8 MB, free: 7.984 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo): time 0.9381/0.9381, allocations: 150 MB / 463.2 MB, free: 10.46 MB / 366.1 MB " [Timeout remaining time 179] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/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(IBPSA.Fluid.Sensors.Examples.TraceSubstances,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Sensors_Examples_TraceSubstances",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.Sensors.Examples.TraceSubstances,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Sensors_Examples_TraceSubstances",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: IBPSA 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.002014/0.002014, allocations: 69.84 kB / 0.6413 GB, free: 10.35 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1903/0.1923, allocations: 89.18 MB / 0.7284 GB, free: 1.246 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Sensors.Examples.TraceSubstances): time 0.6241/0.8164, allocations: 199.2 MB / 0.9229 GB, free: 108 kB / 0.6856 GB Notification: Performance of NFInst.instExpressions: time 0.01968/0.8361, allocations: 14.51 MB / 0.937 GB, free: 1.547 MB / 0.7012 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001351/0.8374, allocations: 47.62 kB / 0.9371 GB, free: 1.5 MB / 0.7012 GB Notification: Performance of NFTyping.typeComponents: time 0.001642/0.8391, allocations: 0.5163 MB / 0.9376 GB, free: 0.9805 MB / 0.7012 GB Notification: Performance of NFTyping.typeBindings: time 0.005115/0.8442, allocations: 1.992 MB / 0.9395 GB, free: 14.98 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.002866/0.8471, allocations: 0.8999 MB / 0.9404 GB, free: 14.09 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.004526/0.8516, allocations: 2.632 MB / 0.943 GB, free: 11.45 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001389/0.853, allocations: 0.7974 MB / 0.9438 GB, free: 10.62 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005439/0.8584, allocations: 1.901 MB / 0.9456 GB, free: 8.742 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001925/0.8603, allocations: 0.9714 MB / 0.9466 GB, free: 7.77 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.0002267/0.8606, allocations: 104 kB / 0.9467 GB, free: 7.668 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00259/0.8632, allocations: 1.177 MB / 0.9478 GB, free: 6.488 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0006675/0.8638, allocations: 0.5064 MB / 0.9483 GB, free: 5.98 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0009384/0.8648, allocations: 0.6338 MB / 0.9489 GB, free: 5.344 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.003401/0.8682, allocations: 1.923 MB / 0.9508 GB, free: 3.414 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.45e-06/0.8682, allocations: 0 / 0.9508 GB, free: 3.414 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.663e-06/0.8682, allocations: 0 / 0.9508 GB, free: 3.414 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 2.696e-05/0.8682, allocations: 0 / 0.9508 GB, free: 3.414 MB / 0.7169 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.002579/0.8708, allocations: 1.411 MB / 0.9522 GB, free: 1.965 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.58e-05/0.8708, allocations: 8.031 kB / 0.9522 GB, free: 1.957 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000193/0.871, allocations: 147.6 kB / 0.9523 GB, free: 1.805 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001364/0.8724, allocations: 263 kB / 0.9526 GB, free: 1.547 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001503/0.8739, allocations: 0.7331 MB / 0.9533 GB, free: 0.7852 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.691e-05/0.874, allocations: 74 kB / 0.9534 GB, free: 0.7148 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001383/0.8741, allocations: 88 kB / 0.9534 GB, free: 0.6289 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001806/0.8759, allocations: 1.177 MB / 0.9546 GB, free: 15.38 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.612e-05/0.8759, allocations: 3.938 kB / 0.9546 GB, free: 15.38 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.438e-05/0.876, allocations: 36 kB / 0.9546 GB, free: 15.34 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.666e-05/0.8761, allocations: 34 kB / 0.9547 GB, free: 15.31 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001441/0.8775, allocations: 0.9054 MB / 0.9556 GB, free: 14.4 MB / 0.7325 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.006591/0.8841, allocations: 5.761 MB / 0.9612 GB, free: 8.172 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008721/0.885, allocations: 0.5178 MB / 0.9617 GB, free: 7.645 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004335/0.8854, allocations: 298.6 kB / 0.962 GB, free: 7.348 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004744/0.8859, allocations: 80.28 kB / 0.962 GB, free: 7.27 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.768e-05/0.8859, allocations: 39 kB / 0.9621 GB, free: 7.223 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=49): time 2.254e-06/0.8859, allocations: 4 kB / 0.9621 GB, free: 7.219 MB / 0.7325 GB Notification: Performance of matching and sorting (n=49): time 0.001577/0.8875, allocations: 0.8069 MB / 0.9629 GB, free: 6.406 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.349e-05/0.8875, allocations: 55.84 kB / 0.9629 GB, free: 6.336 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009572/0.8885, allocations: 0.7587 MB / 0.9637 GB, free: 5.57 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 5.703e-05/0.8886, allocations: 37.7 kB / 0.9637 GB, free: 5.527 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004335/0.889, allocations: 0.5194 MB / 0.9642 GB, free: 5 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001855/0.8892, allocations: 190.4 kB / 0.9644 GB, free: 4.812 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002097/0.8894, allocations: 146.6 kB / 0.9645 GB, free: 4.664 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001559/0.8895, allocations: 334 kB / 0.9649 GB, free: 4.332 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003873/0.8899, allocations: 241.9 kB / 0.9651 GB, free: 4.094 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006829/0.8906, allocations: 0.5552 MB / 0.9656 GB, free: 3.406 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001056/0.8917, allocations: 0.8073 MB / 0.9664 GB, free: 2.492 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.211e-06/0.8917, allocations: 4 kB / 0.9664 GB, free: 2.488 MB / 0.7325 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.001354/0.893, allocations: 0.8427 MB / 0.9672 GB, free: 1.641 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 2.593e-05/0.8931, allocations: 12 kB / 0.9673 GB, free: 1.629 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.757e-05/0.8931, allocations: 10.62 kB / 0.9673 GB, free: 1.621 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.94e-05/0.8931, allocations: 12.75 kB / 0.9673 GB, free: 1.609 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005621/0.8937, allocations: 155.8 kB / 0.9674 GB, free: 1.457 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.431e-05/0.8937, allocations: 32.97 kB / 0.9675 GB, free: 1.426 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006963/0.8944, allocations: 83.39 kB / 0.9675 GB, free: 1.344 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.91e-05/0.8944, allocations: 36 kB / 0.9676 GB, free: 1.309 MB / 0.7325 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.0004804/0.8949, allocations: 329.5 kB / 0.9679 GB, free: 0.9766 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001331/0.8951, allocations: 87.44 kB / 0.968 GB, free: 0.8906 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001012/0.8961, allocations: 0.618 MB / 0.9686 GB, free: 268 kB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.302e-06/0.8961, allocations: 4 kB / 0.9686 GB, free: 264 kB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.985e-06/0.8961, allocations: 3.938 kB / 0.9686 GB, free: 260 kB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007587/0.8968, allocations: 0.5211 MB / 0.9691 GB, free: 15.72 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002614/0.8995, allocations: 1.643 MB / 0.9707 GB, free: 14 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.082e-06/0.8995, allocations: 4 kB / 0.9707 GB, free: 14 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005163/0.9, allocations: 111.8 kB / 0.9708 GB, free: 13.89 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.745e-06/0.9, allocations: 4 kB / 0.9708 GB, free: 13.89 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.248e-05/0.9, allocations: 16 kB / 0.9708 GB, free: 13.87 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.853e-06/0.9, allocations: 4 kB / 0.9708 GB, free: 13.87 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.519e-06/0.9, allocations: 3.938 kB / 0.9708 GB, free: 13.87 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001404/0.9014, allocations: 1.031 MB / 0.9718 GB, free: 12.8 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003764/0.9018, allocations: 163.3 kB / 0.972 GB, free: 12.64 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.727e-05/0.9019, allocations: 8 kB / 0.972 GB, free: 12.63 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004349/0.9023, allocations: 19.98 kB / 0.972 GB, free: 12.61 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.27e-05/0.9024, allocations: 31.89 kB / 0.972 GB, free: 12.58 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.144e-05/0.9025, allocations: 23.92 kB / 0.9721 GB, free: 12.56 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.000665/0.9031, allocations: 0.5107 MB / 0.9726 GB, free: 12.05 MB / 0.7481 GB Notification: Performance of sort global known variables: time 7e-08/0.9031, allocations: 0 / 0.9726 GB, free: 12.05 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0008828/0.904, allocations: 307.4 kB / 0.9729 GB, free: 11.75 MB / 0.7481 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 4 (vol.dynBal.medium.Xi[1],vol.dynBal.U,vol.dynBal.m,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.002056/0.9061, allocations: 1.66 MB / 0.9745 GB, free: 10.05 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.0009923/0.907, allocations: 0.5771 MB / 0.975 GB, free: 9.477 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 3.566e-06/0.9071, allocations: 128 / 0.975 GB, free: 9.477 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0003695/0.9074, allocations: 267.5 kB / 0.9753 GB, free: 9.215 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001809/0.9092, allocations: 443.1 kB / 0.9757 GB, free: 8.805 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01003/0.9193, allocations: 7.242 MB / 0.9828 GB, free: 1.168 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007749/0.92, allocations: 1.122 MB / 0.9839 GB, free: 20 kB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.0008486/0.9209, allocations: 267.1 kB / 0.9841 GB, free: 15.75 MB / 0.7637 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004973/0.9214, allocations: 363.3 kB / 0.9845 GB, free: 15.4 MB / 0.7637 GB Notification: Performance of SimCode: time 1.232e-06/0.9214, allocations: 0 / 0.9845 GB, free: 15.4 MB / 0.7637 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06186/0.9832, allocations: 23.84 MB / 1.008 GB, free: 7.945 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.06/13.04, allocations: 5.047 kB / 1.008 GB, free: 7.945 MB / 0.7794 GB " [Timeout remaining time 647] (rm -f IBPSA_latest_IBPSA.Fluid.Sensors.Examples.TraceSubstances.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Sensors.Examples.TraceSubstances.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Sensors.Examples.TraceSubstances.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Sensors.Examples.TraceSubstances.sim & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.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 IBPSA_latest_IBPSA_Fluid_Sensors_Examples_TraceSubstances.fmu > IBPSA_latest_IBPSA.Fluid.Sensors.Examples.TraceSubstances.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 16.881159180000395] Failed to read output from testmodel.py, exit status != 0: 13.163265344002866 13.189389529 12.316394795 Calling exit ...