Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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.001792/0.001792, allocations: 84.05 kB / 19.76 MB, free: 2.016 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.002203/0.002203, allocations: 154 kB / 23.01 MB, free: 4.973 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.418/1.418, allocations: 177.2 MB / 203.4 MB, free: 8.973 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo): time 0.003652/0.003652, allocations: 240.1 kB / 260 MB, free: 448 kB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo): time 0.9155/0.9155, allocations: 138.5 MB / 455 MB, free: 15.09 MB / 430.1 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 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: translateModel(BuildingSystems.Fluid.Sensors.Examples.TraceSubstances,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.TraceSubstances") translateModel(BuildingSystems.Fluid.Sensors.Examples.TraceSubstances,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.TraceSubstances") [Timeout 660] "Notification: NcDataReader2 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: BuildingSystems 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.003217/0.003217, allocations: 95.84 kB / 0.6474 GB, free: 7.516 MB / 0.5606 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4197/0.4229, allocations: 95.35 MB / 0.7405 GB, free: 17.42 MB / 0.5919 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Sensors.Examples.TraceSubstances): time 0.2157/0.6386, allocations: 172.7 MB / 0.9091 GB, free: 5.609 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.01952/0.6581, allocations: 13.14 MB / 0.9219 GB, free: 8.426 MB / 0.7481 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001414/0.6595, allocations: 51.56 kB / 0.922 GB, free: 8.375 MB / 0.7481 GB Notification: Performance of NFTyping.typeComponents: time 0.00161/0.6611, allocations: 0.4891 MB / 0.9224 GB, free: 7.883 MB / 0.7481 GB Notification: Performance of NFTyping.typeBindings: time 0.005186/0.6663, allocations: 1.952 MB / 0.9243 GB, free: 5.926 MB / 0.7481 GB Notification: Performance of NFTyping.typeClassSections: time 0.002536/0.6689, allocations: 0.8882 MB / 0.9252 GB, free: 5.039 MB / 0.7481 GB Notification: Performance of NFFlatten.flatten: time 0.003654/0.6725, allocations: 2.604 MB / 0.9278 GB, free: 2.426 MB / 0.7481 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001282/0.6738, allocations: 0.791 MB / 0.9285 GB, free: 1.613 MB / 0.7481 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004696/0.6785, allocations: 1.697 MB / 0.9302 GB, free: 15.93 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001895/0.6804, allocations: 0.9493 MB / 0.9311 GB, free: 14.98 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 0.0001918/0.6806, allocations: 112 kB / 0.9312 GB, free: 14.88 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002195/0.6828, allocations: 0.9273 MB / 0.9321 GB, free: 13.95 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 0.0006047/0.6834, allocations: 0.5103 MB / 0.9326 GB, free: 13.43 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 0.0007244/0.6841, allocations: 0.529 MB / 0.9331 GB, free: 12.9 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.002853/0.6869, allocations: 1.892 MB / 0.935 GB, free: 11 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 5.691e-06/0.687, allocations: 0 / 0.935 GB, free: 11 MB / 0.7637 GB Notification: Performance of FrontEnd: time 1.994e-06/0.687, allocations: 0 / 0.935 GB, free: 11 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 1.665e-05/0.687, allocations: 3.938 kB / 0.935 GB, free: 11 MB / 0.7637 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.002412/0.6894, allocations: 1.411 MB / 0.9364 GB, free: 9.551 MB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 4.431e-05/0.6894, allocations: 9.344 kB / 0.9364 GB, free: 9.543 MB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001408/0.6908, allocations: 271 kB / 0.9366 GB, free: 9.277 MB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001445/0.6923, allocations: 0.7245 MB / 0.9373 GB, free: 8.527 MB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.864e-05/0.6924, allocations: 66 kB / 0.9374 GB, free: 8.461 MB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001487/0.6925, allocations: 96 kB / 0.9375 GB, free: 8.367 MB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00187/0.6944, allocations: 1.294 MB / 0.9388 GB, free: 6.973 MB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.664e-05/0.6944, allocations: 0 / 0.9388 GB, free: 6.973 MB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.119e-05/0.6945, allocations: 43.94 kB / 0.9388 GB, free: 6.93 MB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.064e-05/0.6945, allocations: 33.98 kB / 0.9388 GB, free: 6.895 MB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001467/0.696, allocations: 0.8976 MB / 0.9397 GB, free: 5.996 MB / 0.7637 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.005231/0.7012, allocations: 4.006 MB / 0.9436 GB, free: 1.871 MB / 0.7637 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009097/0.7021, allocations: 0.509 MB / 0.9441 GB, free: 1.352 MB / 0.7637 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004578/0.7026, allocations: 302.7 kB / 0.9444 GB, free: 1.055 MB / 0.7637 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000518/0.7031, allocations: 84.34 kB / 0.9445 GB, free: 0.9727 MB / 0.7637 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.139e-05/0.7032, allocations: 39.06 kB / 0.9445 GB, free: 0.9258 MB / 0.7637 GB Notification: Performance of pre-optimization done (n=49): time 2.395e-06/0.7032, allocations: 0 / 0.9445 GB, free: 0.9258 MB / 0.7637 GB Notification: Performance of matching and sorting (n=49): time 0.00162/0.7048, allocations: 0.7933 MB / 0.9453 GB, free: 132 kB / 0.7637 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.629e-05/0.7048, allocations: 59.91 kB / 0.9454 GB, free: 60 kB / 0.7637 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000836/0.7057, allocations: 0.6527 MB / 0.946 GB, free: 15.4 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 5.305e-05/0.7057, allocations: 37.7 kB / 0.946 GB, free: 15.36 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004307/0.7062, allocations: 0.5232 MB / 0.9465 GB, free: 14.83 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001786/0.7063, allocations: 190.4 kB / 0.9467 GB, free: 14.64 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002179/0.7065, allocations: 146.6 kB / 0.9469 GB, free: 14.49 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0002105/0.7068, allocations: 386.7 kB / 0.9472 GB, free: 14.11 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003974/0.7072, allocations: 249.8 kB / 0.9475 GB, free: 13.86 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008858/0.708, allocations: 0.8308 MB / 0.9483 GB, free: 12.84 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001096/0.7091, allocations: 0.7927 MB / 0.9491 GB, free: 11.94 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.91e-06/0.7091, allocations: 4 kB / 0.9491 GB, free: 11.93 MB / 0.7794 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.001338/0.7105, allocations: 0.8448 MB / 0.9499 GB, free: 11.09 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 2.436e-05/0.7105, allocations: 8 kB / 0.9499 GB, free: 11.08 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.526e-05/0.7105, allocations: 8 kB / 0.9499 GB, free: 11.07 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.88e-05/0.7106, allocations: 20 kB / 0.9499 GB, free: 11.05 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005731/0.7111, allocations: 151.8 kB / 0.9501 GB, free: 10.9 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.299e-05/0.7111, allocations: 19.92 kB / 0.9501 GB, free: 10.88 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006986/0.7118, allocations: 75.5 kB / 0.9502 GB, free: 10.81 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.634e-05/0.7119, allocations: 32 kB / 0.9502 GB, free: 10.78 MB / 0.7794 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.0005065/0.7124, allocations: 337.4 kB / 0.9505 GB, free: 10.44 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001326/0.7126, allocations: 79.48 kB / 0.9506 GB, free: 10.36 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001062/0.7136, allocations: 0.6147 MB / 0.9512 GB, free: 9.734 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.745e-06/0.7136, allocations: 8 kB / 0.9512 GB, free: 9.727 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.93e-06/0.7136, allocations: 0 / 0.9512 GB, free: 9.727 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000769/0.7144, allocations: 0.5148 MB / 0.9517 GB, free: 9.195 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002459/0.7169, allocations: 1.448 MB / 0.9531 GB, free: 7.688 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.166e-06/0.7169, allocations: 4.031 kB / 0.9531 GB, free: 7.684 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005355/0.7174, allocations: 111.9 kB / 0.9532 GB, free: 7.574 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.546e-06/0.7174, allocations: 4.047 kB / 0.9532 GB, free: 7.57 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.238e-05/0.7174, allocations: 19.92 kB / 0.9532 GB, free: 7.551 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.26e-06/0.7174, allocations: 4 kB / 0.9533 GB, free: 7.547 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.841e-06/0.7175, allocations: 7.938 kB / 0.9533 GB, free: 7.539 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001438/0.7189, allocations: 1.01 MB / 0.9542 GB, free: 6.492 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003206/0.7192, allocations: 147.3 kB / 0.9544 GB, free: 6.348 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.459e-05/0.7193, allocations: 23.86 kB / 0.9544 GB, free: 6.324 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004318/0.7197, allocations: 16 kB / 0.9544 GB, free: 6.309 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.338e-05/0.7198, allocations: 31.94 kB / 0.9545 GB, free: 6.277 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.95e-05/0.7199, allocations: 19.98 kB / 0.9545 GB, free: 6.258 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0005622/0.7204, allocations: 447 kB / 0.9549 GB, free: 5.828 MB / 0.7794 GB Notification: Performance of sort global known variables: time 8.1e-08/0.7204, allocations: 0 / 0.9549 GB, free: 5.828 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0009744/0.7214, allocations: 311.3 kB / 0.9552 GB, free: 5.523 MB / 0.7794 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.0005251/0.7219, allocations: 191.5 kB / 0.9554 GB, free: 5.332 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.001061/0.723, allocations: 0.5881 MB / 0.956 GB, free: 4.746 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 4.358e-06/0.723, allocations: 0 / 0.956 GB, free: 4.746 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0004077/0.7234, allocations: 265.4 kB / 0.9562 GB, free: 4.488 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001633/0.725, allocations: 385.5 kB / 0.9566 GB, free: 4.121 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003217/0.7282, allocations: 1.938 MB / 0.9585 GB, free: 2.129 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000594/0.7288, allocations: 0.5235 MB / 0.959 GB, free: 1.574 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 0.0007346/0.7296, allocations: 254.3 kB / 0.9592 GB, free: 1.32 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001752/0.7297, allocations: 64.48 kB / 0.9593 GB, free: 1.258 MB / 0.7794 GB Notification: Performance of SimCode: time 1.072e-06/0.7297, allocations: 4 kB / 0.9593 GB, free: 1.254 MB / 0.7794 GB Notification: Performance of Templates: time 0.02795/0.7577, allocations: 14.49 MB / 0.9734 GB, free: 3.184 MB / 0.795 GB " [Timeout remaining time 659] make -j1 -f BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.TraceSubstances.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.TraceSubstances.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.TraceSubstances.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.TraceSubstances.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.TraceSubstances.sim & ./BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.TraceSubstances -abortSlowSimulation -alarm=480 -s ida -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.TraceSubstances.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.7633825809462] Failed to read output from testmodel.py, exit status != 0: 0.7668774799676612 0.7820624039999999 0.091873325 Calling exit ...