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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) 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=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Sensors.Examples.TraceSubstances") translateModel(IBPSA.Fluid.Sensors.Examples.TraceSubstances,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Sensors.Examples.TraceSubstances") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001397/0.001398, allocations: 110.2 kB / 17.08 MB, free: 5.988 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001484/0.001484, allocations: 195 kB / 18.01 MB, free: 5.074 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.316/1.316, allocations: 222.9 MB / 241.7 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7283/0.7283, allocations: 115.3 MB / 407.2 MB, free: 6.199 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002458/0.002458, allocations: 74.34 kB / 0.5584 GB, free: 32.18 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1645/0.167, allocations: 76.18 MB / 0.6328 GB, free: 4.371 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Sensors.Examples.TraceSubstances): time 0.6081/0.7752, allocations: 195.1 MB / 0.8232 GB, free: 9.746 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.01589/0.7911, allocations: 14.32 MB / 0.8372 GB, free: 4.348 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001744/0.7929, allocations: 36.91 kB / 0.8373 GB, free: 4.336 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.001659/0.7946, allocations: 0.5078 MB / 0.8378 GB, free: 3.93 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.00488/0.7995, allocations: 1.88 MB / 0.8396 GB, free: 2.777 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.002344/0.8019, allocations: 0.868 MB / 0.8404 GB, free: 2.199 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.00322/0.8051, allocations: 2.576 MB / 0.8429 GB, free: 0.8242 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001447/0.8066, allocations: 1.118 MB / 0.844 GB, free: 180 kB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004154/0.8108, allocations: 1.604 MB / 0.8456 GB, free: 15.34 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001748/0.8125, allocations: 0.9241 MB / 0.8465 GB, free: 14.88 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.0002007/0.8127, allocations: 105.8 kB / 0.8466 GB, free: 14.88 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002479/0.8152, allocations: 1.101 MB / 0.8477 GB, free: 14.39 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0005085/0.8157, allocations: 0.494 MB / 0.8482 GB, free: 14.07 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.000789/0.8165, allocations: 0.6336 MB / 0.8488 GB, free: 13.66 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.002714/0.8193, allocations: 1.91 MB / 0.8507 GB, free: 12.43 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 6.963e-06/0.8193, allocations: 0 / 0.8507 GB, free: 12.43 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.044e-06/0.8193, allocations: 3.938 kB / 0.8507 GB, free: 12.42 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 1.828e-05/0.8193, allocations: 0 / 0.8507 GB, free: 12.42 MB / 0.6075 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.002224/0.8215, allocations: 1.446 MB / 0.8521 GB, free: 11.32 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.908e-05/0.8216, allocations: 14.03 kB / 0.8521 GB, free: 11.32 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001313/0.8229, allocations: 253.3 kB / 0.8523 GB, free: 11.2 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001269/0.8242, allocations: 0.7853 MB / 0.8531 GB, free: 10.6 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.597e-05/0.8243, allocations: 71.97 kB / 0.8532 GB, free: 10.57 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001399/0.8244, allocations: 100.1 kB / 0.8533 GB, free: 10.5 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001648/0.8261, allocations: 1.169 MB / 0.8544 GB, free: 9.262 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.329e-05/0.8261, allocations: 4 kB / 0.8544 GB, free: 9.258 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.936e-05/0.8262, allocations: 36 kB / 0.8544 GB, free: 9.223 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.295e-05/0.8262, allocations: 41.94 kB / 0.8545 GB, free: 9.184 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001318/0.8275, allocations: 0.9053 MB / 0.8554 GB, free: 8.277 MB / 0.6075 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.005411/0.833, allocations: 5.739 MB / 0.861 GB, free: 2.082 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008364/0.8338, allocations: 0.535 MB / 0.8615 GB, free: 1.543 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004238/0.8343, allocations: 326.5 kB / 0.8618 GB, free: 1.223 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005752/0.8349, allocations: 311.8 kB / 0.8621 GB, free: 0.8633 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.341e-05/0.8349, allocations: 42.98 kB / 0.8621 GB, free: 0.8125 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=49): time 2.444e-06/0.8349, allocations: 0 / 0.8621 GB, free: 0.8125 MB / 0.6075 GB Notification: Performance of matching and sorting (n=49): time 0.001505/0.8364, allocations: 0.7987 MB / 0.8629 GB, free: 4 kB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.263e-05/0.8365, allocations: 59.84 kB / 0.863 GB, free: 15.93 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008661/0.8374, allocations: 0.7547 MB / 0.8637 GB, free: 15.17 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 5.532e-05/0.8374, allocations: 37.7 kB / 0.8637 GB, free: 15.12 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003536/0.8378, allocations: 0.5065 MB / 0.8642 GB, free: 14.61 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001463/0.8379, allocations: 177.5 kB / 0.8644 GB, free: 14.43 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001983/0.8381, allocations: 138.5 kB / 0.8645 GB, free: 14.29 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001145/0.8383, allocations: 341.9 kB / 0.8649 GB, free: 13.95 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003596/0.8386, allocations: 253.9 kB / 0.8651 GB, free: 13.71 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005672/0.8392, allocations: 0.5469 MB / 0.8656 GB, free: 13.03 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009284/0.8401, allocations: 0.7956 MB / 0.8664 GB, free: 12.12 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.292e-06/0.8402, allocations: 7.984 kB / 0.8664 GB, free: 12.11 MB / 0.6231 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.001215/0.8414, allocations: 0.8506 MB / 0.8673 GB, free: 11.25 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 2.169e-05/0.8414, allocations: 8 kB / 0.8673 GB, free: 11.25 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.504e-05/0.8414, allocations: 8 kB / 0.8673 GB, free: 11.24 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.495e-05/0.8415, allocations: 15.94 kB / 0.8673 GB, free: 11.22 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005521/0.842, allocations: 155.8 kB / 0.8674 GB, free: 11.07 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.864e-05/0.842, allocations: 19.92 kB / 0.8675 GB, free: 11.05 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007018/0.8428, allocations: 87.11 kB / 0.8675 GB, free: 10.96 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.902e-05/0.8428, allocations: 36.19 kB / 0.8676 GB, free: 10.93 MB / 0.6231 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.0004428/0.8433, allocations: 333.4 kB / 0.8679 GB, free: 10.59 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001329/0.8434, allocations: 86.97 kB / 0.868 GB, free: 10.51 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009584/0.8444, allocations: 0.6179 MB / 0.8686 GB, free: 9.879 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.622e-06/0.8444, allocations: 4 kB / 0.8686 GB, free: 9.875 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.029e-06/0.8444, allocations: 0 / 0.8686 GB, free: 9.875 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006907/0.8451, allocations: 0.5173 MB / 0.8691 GB, free: 9.344 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002282/0.8474, allocations: 1.671 MB / 0.8707 GB, free: 7.594 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.296e-06/0.8474, allocations: 0 / 0.8707 GB, free: 7.594 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005049/0.8479, allocations: 120 kB / 0.8708 GB, free: 7.477 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.053e-06/0.8479, allocations: 4 kB / 0.8708 GB, free: 7.473 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.669e-05/0.848, allocations: 12 kB / 0.8708 GB, free: 7.461 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.398e-06/0.848, allocations: 0 / 0.8708 GB, free: 7.461 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.234e-06/0.848, allocations: 4 kB / 0.8709 GB, free: 7.457 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001267/0.8493, allocations: 1.019 MB / 0.8718 GB, free: 6.398 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003542/0.8496, allocations: 227.9 kB / 0.8721 GB, free: 6.156 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001299/0.8498, allocations: 15.94 kB / 0.8721 GB, free: 6.141 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004456/0.8502, allocations: 17.42 kB / 0.8721 GB, free: 6.125 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.107e-05/0.8503, allocations: 43.89 kB / 0.8721 GB, free: 6.082 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.506e-05/0.8504, allocations: 16.14 kB / 0.8722 GB, free: 6.066 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0006013/0.851, allocations: 0.5146 MB / 0.8727 GB, free: 5.559 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.5e-07/0.851, allocations: 0 / 0.8727 GB, free: 5.559 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.000939/0.8519, allocations: 299.3 kB / 0.8729 GB, free: 5.266 MB / 0.6231 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.0004931/0.8524, allocations: 212.2 kB / 0.8731 GB, free: 5.066 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.0009505/0.8534, allocations: 0.6121 MB / 0.8737 GB, free: 4.461 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 3.968e-06/0.8534, allocations: 0 / 0.8737 GB, free: 4.461 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0003734/0.8538, allocations: 280 kB / 0.874 GB, free: 4.188 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001864/0.8556, allocations: 439.3 kB / 0.8744 GB, free: 3.762 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003303/0.859, allocations: 2 MB / 0.8764 GB, free: 1.703 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007834/0.8598, allocations: 1.125 MB / 0.8775 GB, free: 0.5508 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002308/0.86, allocations: 79.42 kB / 0.8776 GB, free: 484 kB / 0.6231 GB Notification: Performance of SimCode: time 6.51e-07/0.86, allocations: 3.938 kB / 0.8776 GB, free: 480 kB / 0.6231 GB Notification: Performance of Templates: time 0.02239/0.8824, allocations: 14.53 MB / 0.8917 GB, free: 2.059 MB / 0.6387 GB make -j1 -f IBPSA_latest_IBPSA.Fluid.Sensors.Examples.TraceSubstances.makefile (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)