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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001467/0.001467, allocations: 114.8 kB / 19.69 MB, free: 2.188 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001683/0.001683, allocations: 187.8 kB / 22.98 MB, free: 5.008 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.336/1.336, allocations: 225.6 MB / 251.8 MB, free: 13.02 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.8927/0.8927, allocations: 149.6 MB / 456.6 MB, free: 1.262 MB / 350.1 MB " [Timeout remaining time 179] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(IBPSA.Fluid.Sensors.Examples.TraceSubstances,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Sensors.Examples.TraceSubstances") translateModel(IBPSA.Fluid.Sensors.Examples.TraceSubstances,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Sensors.Examples.TraceSubstances") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001907/0.001907, allocations: 64.02 kB / 0.6329 GB, free: 9.031 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1821/0.1841, allocations: 87.88 MB / 0.7187 GB, free: 1.066 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Sensors.Examples.TraceSubstances): time 0.5549/0.7389, allocations: 196.2 MB / 0.9103 GB, free: 10.4 MB / 0.6856 GB Notification: Performance of NFInst.instExpressions: time 0.01893/0.7579, allocations: 14.47 MB / 0.9244 GB, free: 11.88 MB / 0.7012 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00122/0.7591, allocations: 47.62 kB / 0.9245 GB, free: 11.84 MB / 0.7012 GB Notification: Performance of NFTyping.typeComponents: time 0.001519/0.7606, allocations: 0.5163 MB / 0.925 GB, free: 11.32 MB / 0.7012 GB Notification: Performance of NFTyping.typeBindings: time 0.004812/0.7654, allocations: 2 MB / 0.9269 GB, free: 9.309 MB / 0.7012 GB Notification: Performance of NFTyping.typeClassSections: time 0.002639/0.7681, allocations: 0.8974 MB / 0.9278 GB, free: 8.418 MB / 0.7012 GB Notification: Performance of NFFlatten.flatten: time 0.003894/0.7719, allocations: 2.628 MB / 0.9304 GB, free: 5.785 MB / 0.7012 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001261/0.7732, allocations: 0.8144 MB / 0.9312 GB, free: 4.949 MB / 0.7012 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005305/0.7785, allocations: 1.883 MB / 0.933 GB, free: 3.086 MB / 0.7012 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00197/0.7805, allocations: 0.9781 MB / 0.934 GB, free: 2.109 MB / 0.7012 GB Notification: Performance of NFPackage.collectConstants: time 0.0001721/0.7807, allocations: 112 kB / 0.9341 GB, free: 2 MB / 0.7012 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002589/0.7832, allocations: 1.161 MB / 0.9352 GB, free: 0.8359 MB / 0.7012 GB Notification: Performance of NFScalarize.scalarize: time 0.0006137/0.7839, allocations: 0.5141 MB / 0.9357 GB, free: 328 kB / 0.7012 GB Notification: Performance of NFVerifyModel.verify: time 0.0008136/0.7847, allocations: 0.63 MB / 0.9363 GB, free: 15.69 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.002586/0.7873, allocations: 1.915 MB / 0.9382 GB, free: 13.77 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.839e-06/0.7873, allocations: 0 / 0.9382 GB, free: 13.77 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.362e-06/0.7873, allocations: 0 / 0.9382 GB, free: 13.77 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 1.574e-05/0.7873, allocations: 3.984 kB / 0.9382 GB, free: 13.76 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.002221/0.7895, allocations: 1.415 MB / 0.9396 GB, free: 12.31 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.621e-05/0.7895, allocations: 8.625 kB / 0.9396 GB, free: 12.3 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001278/0.7908, allocations: 263 kB / 0.9398 GB, free: 12.04 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001253/0.7921, allocations: 0.7206 MB / 0.9405 GB, free: 11.29 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.455e-05/0.7921, allocations: 70 kB / 0.9406 GB, free: 11.22 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001437/0.7923, allocations: 99.89 kB / 0.9407 GB, free: 11.12 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001715/0.794, allocations: 1.174 MB / 0.9419 GB, free: 9.883 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.834e-05/0.794, allocations: 7.875 kB / 0.9419 GB, free: 9.875 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.531e-05/0.7941, allocations: 43.98 kB / 0.9419 GB, free: 9.832 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.563e-05/0.7941, allocations: 37.97 kB / 0.9419 GB, free: 9.793 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001355/0.7955, allocations: 0.9015 MB / 0.9428 GB, free: 8.895 MB / 0.7169 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.005727/0.8012, allocations: 5.76 MB / 0.9484 GB, free: 2.664 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008286/0.8021, allocations: 0.5003 MB / 0.9489 GB, free: 2.152 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004385/0.8025, allocations: 302.6 kB / 0.9492 GB, free: 1.852 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000476/0.803, allocations: 76.34 kB / 0.9493 GB, free: 1.777 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.011e-05/0.803, allocations: 42.94 kB / 0.9493 GB, free: 1.727 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=49): time 2.635e-06/0.803, allocations: 4 kB / 0.9493 GB, free: 1.723 MB / 0.7169 GB Notification: Performance of matching and sorting (n=49): time 0.001541/0.8046, allocations: 0.7992 MB / 0.9501 GB, free: 0.9219 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.644e-05/0.8046, allocations: 55.84 kB / 0.9502 GB, free: 0.8555 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009416/0.8055, allocations: 0.7549 MB / 0.9509 GB, free: 92 kB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 5.211e-05/0.8056, allocations: 37.7 kB / 0.9509 GB, free: 48 kB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004267/0.806, allocations: 0.5195 MB / 0.9515 GB, free: 15.52 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001704/0.8062, allocations: 182.4 kB / 0.9516 GB, free: 15.34 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000202/0.8064, allocations: 150.6 kB / 0.9518 GB, free: 15.19 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.000164/0.8066, allocations: 334 kB / 0.9521 GB, free: 14.86 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003938/0.807, allocations: 245.9 kB / 0.9523 GB, free: 14.61 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006555/0.8076, allocations: 0.5546 MB / 0.9529 GB, free: 13.92 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001125/0.8087, allocations: 0.7996 MB / 0.9536 GB, free: 13.01 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.617e-06/0.8087, allocations: 4 kB / 0.9537 GB, free: 13.01 MB / 0.7325 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.001329/0.8101, allocations: 0.8504 MB / 0.9545 GB, free: 12.15 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.927e-05/0.8101, allocations: 8 kB / 0.9545 GB, free: 12.14 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.653e-05/0.8101, allocations: 8.688 kB / 0.9545 GB, free: 12.13 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.793e-05/0.8101, allocations: 12 kB / 0.9545 GB, free: 12.12 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005391/0.8107, allocations: 160.5 kB / 0.9547 GB, free: 11.96 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.524e-05/0.8107, allocations: 19.94 kB / 0.9547 GB, free: 11.95 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006492/0.8113, allocations: 87.33 kB / 0.9548 GB, free: 11.86 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.234e-05/0.8114, allocations: 36.75 kB / 0.9548 GB, free: 11.82 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.0004601/0.8119, allocations: 341.1 kB / 0.9551 GB, free: 11.48 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001404/0.812, allocations: 91.47 kB / 0.9552 GB, free: 11.39 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001018/0.813, allocations: 0.6179 MB / 0.9558 GB, free: 10.77 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.698e-06/0.813, allocations: 8 kB / 0.9558 GB, free: 10.76 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.272e-06/0.813, allocations: 3.984 kB / 0.9558 GB, free: 10.76 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007313/0.8138, allocations: 0.5208 MB / 0.9563 GB, free: 10.23 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002514/0.8163, allocations: 1.646 MB / 0.9579 GB, free: 8.512 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.836e-06/0.8163, allocations: 0 / 0.9579 GB, free: 8.512 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005182/0.8168, allocations: 111.9 kB / 0.9581 GB, free: 8.402 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.83e-06/0.8168, allocations: 4 kB / 0.9581 GB, free: 8.398 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.878e-05/0.8169, allocations: 12 kB / 0.9581 GB, free: 8.387 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.21e-06/0.8169, allocations: 4 kB / 0.9581 GB, free: 8.383 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.218e-06/0.8169, allocations: 7.938 kB / 0.9581 GB, free: 8.375 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001414/0.8183, allocations: 1.023 MB / 0.9591 GB, free: 7.312 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003063/0.8186, allocations: 155.3 kB / 0.9592 GB, free: 7.16 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.538e-05/0.8187, allocations: 12 kB / 0.9592 GB, free: 7.148 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004206/0.8191, allocations: 15.98 kB / 0.9593 GB, free: 7.133 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.592e-05/0.8192, allocations: 39.66 kB / 0.9593 GB, free: 7.094 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.556e-05/0.8192, allocations: 20 kB / 0.9593 GB, free: 7.074 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0006324/0.8198, allocations: 0.5146 MB / 0.9598 GB, free: 6.562 MB / 0.7325 GB Notification: Performance of sort global known variables: time 8e-08/0.8198, allocations: 0 / 0.9598 GB, free: 6.562 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0008376/0.8207, allocations: 307.4 kB / 0.9601 GB, free: 6.262 MB / 0.7325 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.0005299/0.8212, allocations: 207.1 kB / 0.9603 GB, free: 6.062 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0009298/0.8221, allocations: 0.581 MB / 0.9609 GB, free: 5.484 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.404e-06/0.8221, allocations: 4.125 kB / 0.9609 GB, free: 5.48 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.000362/0.8225, allocations: 263.6 kB / 0.9611 GB, free: 5.223 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001672/0.8242, allocations: 434.4 kB / 0.9615 GB, free: 4.812 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002968/0.8271, allocations: 1.961 MB / 0.9635 GB, free: 2.797 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007566/0.8279, allocations: 1.118 MB / 0.9645 GB, free: 1.648 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0006946/0.8286, allocations: 275 kB / 0.9648 GB, free: 1.375 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001849/0.8288, allocations: 67.44 kB / 0.9649 GB, free: 1.309 MB / 0.7325 GB Notification: Performance of SimCode: time 5.51e-07/0.8288, allocations: 0 / 0.9649 GB, free: 1.309 MB / 0.7325 GB Notification: Performance of Templates: time 0.02805/0.8568, allocations: 16.11 MB / 0.9806 GB, free: 1.402 MB / 0.7481 GB " [Timeout remaining time 659] make -j1 -f IBPSA_latest_IBPSA.Fluid.Sensors.Examples.TraceSubstances.makefile [Timeout 660] (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 & ./IBPSA_latest_IBPSA.Fluid.Sensors.Examples.TraceSubstances -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.Sensors.Examples.TraceSubstances.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.378865687176585] Failed to read output from testmodel.py, exit status != 0: 0.8653237512335181 0.879169603 0.088626325 Calling exit ... <OMPython.OMCSessionZMQ object at 0x7fd714d217b0>