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.001024/0.001024, allocations: 88.17 kB / 15.7 MB, free: 460 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009727/0.0009728, allocations: 168.8 kB / 16.58 MB, free: 6.852 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.361/1.361, allocations: 223.3 MB / 240.6 MB, free: 5.418 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7136/0.7136, allocations: 115.5 MB / 407.2 MB, free: 2.844 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003058/0.0003058, allocations: 12.75 kB / 495.2 MB, free: 6.766 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1284/0.1288, allocations: 77.52 MB / 0.5593 GB, free: 9.449 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Sensors.Examples.TraceSubstances): time 0.4224/0.5512, allocations: 177.5 MB / 0.7327 GB, free: 5.785 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.01635/0.5676, allocations: 13.3 MB / 0.7457 GB, free: 8.457 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000754/0.5684, allocations: 31.81 kB / 0.7457 GB, free: 8.426 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.001099/0.5695, allocations: 353.8 kB / 0.746 GB, free: 8.078 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.003213/0.5727, allocations: 1.365 MB / 0.7474 GB, free: 6.707 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.001746/0.5745, allocations: 0.6648 MB / 0.748 GB, free: 6.051 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.003078/0.5776, allocations: 3.045 MB / 0.751 GB, free: 2.996 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001052/0.5786, allocations: 0.8079 MB / 0.7518 GB, free: 2.184 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002171/0.5808, allocations: 1.21 MB / 0.753 GB, free: 0.9688 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001278/0.5821, allocations: 0.8914 MB / 0.7538 GB, free: 76 kB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0001151/0.5822, allocations: 48 kB / 0.7539 GB, free: 28 kB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0016/0.5838, allocations: 0.565 MB / 0.7544 GB, free: 15.46 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0005065/0.5844, allocations: 446.8 kB / 0.7549 GB, free: 15.02 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0002695/0.5846, allocations: 249.1 kB / 0.7551 GB, free: 14.77 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.001343/0.586, allocations: 1.352 MB / 0.7564 GB, free: 13.42 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 6.533e-06/0.586, allocations: 3.938 kB / 0.7564 GB, free: 13.41 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.493e-06/0.586, allocations: 3.938 kB / 0.7564 GB, free: 13.41 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.405e-05/0.586, allocations: 4 kB / 0.7564 GB, free: 13.41 MB / 0.5762 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.0019/0.5879, allocations: 1.237 MB / 0.7576 GB, free: 12.12 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.496e-05/0.588, allocations: 16.03 kB / 0.7577 GB, free: 12.1 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001309/0.5893, allocations: 254.3 kB / 0.7579 GB, free: 11.85 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001425/0.5907, allocations: 0.82 MB / 0.7587 GB, free: 10.99 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.604e-05/0.5908, allocations: 70 kB / 0.7588 GB, free: 10.92 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001451/0.591, allocations: 96 kB / 0.7589 GB, free: 10.82 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001745/0.5927, allocations: 1.164 MB / 0.76 GB, free: 9.594 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.763e-05/0.5928, allocations: 11.84 kB / 0.76 GB, free: 9.582 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.452e-05/0.5929, allocations: 40 kB / 0.76 GB, free: 9.543 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.84e-05/0.5929, allocations: 37.95 kB / 0.7601 GB, free: 9.504 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001394/0.5943, allocations: 0.9062 MB / 0.761 GB, free: 8.602 MB / 0.5762 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.005308/0.5996, allocations: 5.743 MB / 0.7666 GB, free: 2.398 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008868/0.6005, allocations: 0.5666 MB / 0.7671 GB, free: 1.812 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004575/0.601, allocations: 335.4 kB / 0.7674 GB, free: 1.48 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005525/0.6016, allocations: 323.8 kB / 0.7678 GB, free: 1.109 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.622e-05/0.6016, allocations: 46.92 kB / 0.7678 GB, free: 1.055 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=51): time 2.104e-06/0.6016, allocations: 4 kB / 0.7678 GB, free: 1.051 MB / 0.5762 GB Notification: Performance of matching and sorting (n=51): time 0.001483/0.6031, allocations: 0.8221 MB / 0.7686 GB, free: 232 kB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.897e-05/0.6032, allocations: 81.55 kB / 0.7687 GB, free: 132 kB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008734/0.604, allocations: 0.7509 MB / 0.7694 GB, free: 15.36 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 5.121e-05/0.6041, allocations: 41.7 kB / 0.7695 GB, free: 15.32 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003759/0.6045, allocations: 0.5026 MB / 0.7699 GB, free: 14.81 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001469/0.6046, allocations: 189.5 kB / 0.7701 GB, free: 14.62 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.591e-05/0.6047, allocations: 16 kB / 0.7701 GB, free: 14.61 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001228/0.6048, allocations: 330 kB / 0.7705 GB, free: 14.28 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003957/0.6052, allocations: 253.8 kB / 0.7707 GB, free: 14.03 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000633/0.6059, allocations: 0.5731 MB / 0.7713 GB, free: 13.32 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005356/0.6064, allocations: 364.6 kB / 0.7716 GB, free: 12.96 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.018e-06/0.6064, allocations: 0 / 0.7716 GB, free: 12.96 MB / 0.5919 GB Notification: Performance of matching and sorting (n=89) (initialization): time 0.001277/0.6077, allocations: 0.8575 MB / 0.7724 GB, free: 12.1 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.801e-05/0.6077, allocations: 10.88 kB / 0.7725 GB, free: 12.09 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.26e-05/0.6077, allocations: 8 kB / 0.7725 GB, free: 12.08 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.911e-05/0.6078, allocations: 19.94 kB / 0.7725 GB, free: 12.06 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005823/0.6084, allocations: 163.7 kB / 0.7726 GB, free: 11.9 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.955e-05/0.6084, allocations: 15.94 kB / 0.7726 GB, free: 11.89 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008187/0.6092, allocations: 155 kB / 0.7728 GB, free: 11.73 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.238e-05/0.6093, allocations: 35.95 kB / 0.7728 GB, free: 11.7 MB / 0.5919 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 35 * 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 (89): * Single equations (assignments): 89 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004066/0.6097, allocations: 329.5 kB / 0.7731 GB, free: 11.37 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001346/0.6098, allocations: 86.97 kB / 0.7732 GB, free: 11.28 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001049/0.6109, allocations: 0.6334 MB / 0.7738 GB, free: 10.64 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.568e-06/0.6109, allocations: 8 kB / 0.7739 GB, free: 10.63 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.23e-06/0.6109, allocations: 4 kB / 0.7739 GB, free: 10.63 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007343/0.6117, allocations: 0.5251 MB / 0.7744 GB, free: 10.09 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002512/0.6142, allocations: 1.773 MB / 0.7761 GB, free: 8.234 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.649e-06/0.6142, allocations: 4 kB / 0.7761 GB, free: 8.23 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005368/0.6147, allocations: 111.9 kB / 0.7762 GB, free: 8.121 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.797e-06/0.6148, allocations: 7.953 kB / 0.7762 GB, free: 8.113 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.225e-05/0.6148, allocations: 16 kB / 0.7762 GB, free: 8.098 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.062e-06/0.6148, allocations: 7.938 kB / 0.7762 GB, free: 8.09 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.753e-06/0.6148, allocations: 0 / 0.7762 GB, free: 8.09 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001431/0.6163, allocations: 1.045 MB / 0.7773 GB, free: 7.004 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003399/0.6166, allocations: 236.1 kB / 0.7775 GB, free: 6.754 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001127/0.6168, allocations: 15.94 kB / 0.7775 GB, free: 6.738 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005403/0.6173, allocations: 61.39 kB / 0.7776 GB, free: 6.68 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.355e-05/0.6174, allocations: 39.89 kB / 0.7776 GB, free: 6.641 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.968e-05/0.6174, allocations: 27.98 kB / 0.7776 GB, free: 6.613 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.000637/0.6181, allocations: 0.5068 MB / 0.7781 GB, free: 6.109 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.8e-07/0.6181, allocations: 4 kB / 0.7781 GB, free: 6.105 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0008457/0.6189, allocations: 299.3 kB / 0.7784 GB, free: 5.812 MB / 0.5919 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * 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 (51): * Single equations (assignments): 51 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004649/0.6194, allocations: 211.5 kB / 0.7786 GB, free: 5.617 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0009856/0.6204, allocations: 0.6234 MB / 0.7792 GB, free: 4.992 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 3.416e-06/0.6204, allocations: 0 / 0.7792 GB, free: 4.992 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0003957/0.6208, allocations: 275.7 kB / 0.7795 GB, free: 4.723 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001936/0.6228, allocations: 442.6 kB / 0.7799 GB, free: 4.301 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003287/0.6261, allocations: 2.413 MB / 0.7823 GB, free: 1.836 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007301/0.6268, allocations: 1.126 MB / 0.7834 GB, free: 0.6836 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.000875/0.6277, allocations: 275.3 kB / 0.7836 GB, free: 420 kB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002044/0.6279, allocations: 79.41 kB / 0.7837 GB, free: 340 kB / 0.5919 GB Notification: Performance of SimCode: time 8.01e-07/0.6279, allocations: 0 / 0.7837 GB, free: 340 kB / 0.5919 GB Notification: Performance of Templates: time 0.02562/0.6535, allocations: 14.82 MB / 0.7982 GB, free: 1.75 MB / 0.6075 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)