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.001441/0.001448, allocations: 112.7 kB / 17.04 MB, free: 5.805 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.001462/0.001462, allocations: 195 kB / 17.98 MB, free: 5.031 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.336/1.336, allocations: 222.9 MB / 241.7 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7262/0.7262, allocations: 115.1 MB / 407 MB, free: 6.359 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001373/0.001373, allocations: 59.91 kB / 494.8 MB, free: 15.85 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3249/0.3263, allocations: 76.15 MB / 0.5576 GB, free: 36.61 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Sensors.Examples.TraceSubstances): time 0.1977/0.524, allocations: 195.1 MB / 0.7481 GB, free: 0.8047 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.3199/0.844, allocations: 14.29 MB / 0.762 GB, free: 1.812 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001441/0.8455, allocations: 37.72 kB / 0.7621 GB, free: 1.812 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.001754/0.8473, allocations: 0.491 MB / 0.7626 GB, free: 1.809 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.005162/0.8525, allocations: 1.89 MB / 0.7644 GB, free: 1.734 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.002765/0.8552, allocations: 0.8705 MB / 0.7652 GB, free: 1.719 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.003743/0.859, allocations: 2.575 MB / 0.7678 GB, free: 1.707 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001989/0.861, allocations: 1.114 MB / 0.7689 GB, free: 1.59 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004562/0.8656, allocations: 1.607 MB / 0.7704 GB, free: 1.559 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001971/0.8676, allocations: 0.9205 MB / 0.7713 GB, free: 1.559 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0003924/0.868, allocations: 106.9 kB / 0.7714 GB, free: 1.559 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002752/0.8707, allocations: 1.099 MB / 0.7725 GB, free: 1.547 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0007072/0.8715, allocations: 0.4929 MB / 0.773 GB, free: 1.547 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.001406/0.8729, allocations: 0.6376 MB / 0.7736 GB, free: 1.547 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.003399/0.8763, allocations: 1.905 MB / 0.7755 GB, free: 1.441 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.058e-06/0.8763, allocations: 0 / 0.7755 GB, free: 1.441 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.563e-06/0.8763, allocations: 1.625 kB / 0.7755 GB, free: 1.441 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 5.492e-05/0.8764, allocations: 0 / 0.7755 GB, free: 1.441 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.00355/0.8799, allocations: 1.459 MB / 0.7769 GB, free: 16.66 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.881e-05/0.88, allocations: 9.781 kB / 0.7769 GB, free: 16.66 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001666/0.8817, allocations: 250.5 kB / 0.7771 GB, free: 16.61 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001901/0.8836, allocations: 0.7897 MB / 0.7779 GB, free: 16.29 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.245e-05/0.8837, allocations: 76.39 kB / 0.778 GB, free: 16.29 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001916/0.8839, allocations: 98.98 kB / 0.7781 GB, free: 16.28 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002154/0.886, allocations: 1.17 MB / 0.7792 GB, free: 16.06 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.208e-05/0.8861, allocations: 5.375 kB / 0.7792 GB, free: 16.06 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.344e-05/0.8862, allocations: 41.2 kB / 0.7793 GB, free: 16.06 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.404e-05/0.8862, allocations: 35.8 kB / 0.7793 GB, free: 16.05 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001556/0.8878, allocations: 0.9009 MB / 0.7802 GB, free: 16.05 MB / 0.5919 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.006763/0.8946, allocations: 5.74 MB / 0.7858 GB, free: 12.29 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007507/0.8953, allocations: 0.5435 MB / 0.7863 GB, free: 12.26 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003661/0.8957, allocations: 319.3 kB / 0.7866 GB, free: 12.25 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005954/0.8963, allocations: 311.4 kB / 0.7869 GB, free: 11.96 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.521e-05/0.8964, allocations: 39.81 kB / 0.7869 GB, free: 11.92 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=49): time 3.436e-06/0.8964, allocations: 0.875 kB / 0.787 GB, free: 11.92 MB / 0.5919 GB Notification: Performance of matching and sorting (n=49): time 0.001527/0.8979, allocations: 0.8038 MB / 0.7877 GB, free: 11.84 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.475e-05/0.898, allocations: 62.78 kB / 0.7878 GB, free: 11.77 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008959/0.8989, allocations: 0.7506 MB / 0.7885 GB, free: 11.63 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 6.834e-05/0.899, allocations: 37.77 kB / 0.7886 GB, free: 11.6 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003533/0.8993, allocations: 0.5093 MB / 0.7891 GB, free: 11.36 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001767/0.8995, allocations: 178.6 kB / 0.7892 GB, free: 11.25 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001994/0.8997, allocations: 144.1 kB / 0.7894 GB, free: 11.22 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001145/0.8998, allocations: 333.9 kB / 0.7897 GB, free: 10.92 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003261/0.9002, allocations: 250.2 kB / 0.7899 GB, free: 10.92 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005512/0.9007, allocations: 0.5566 MB / 0.7905 GB, free: 10.57 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009173/0.9017, allocations: 0.7966 MB / 0.7912 GB, free: 10.28 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.087e-06/0.9017, allocations: 6.219 kB / 0.7913 GB, free: 10.27 MB / 0.5919 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.001198/0.9029, allocations: 0.8509 MB / 0.7921 GB, free: 10.18 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.998e-05/0.9029, allocations: 11.2 kB / 0.7921 GB, free: 10.18 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.276e-05/0.9029, allocations: 10 kB / 0.7921 GB, free: 10.18 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.343e-05/0.903, allocations: 11.31 kB / 0.7921 GB, free: 10.18 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005321/0.9035, allocations: 152.5 kB / 0.7923 GB, free: 10.18 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.903e-05/0.9035, allocations: 20.59 kB / 0.7923 GB, free: 10.18 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008508/0.9044, allocations: 82.8 kB / 0.7924 GB, free: 10.14 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.541e-05/0.9045, allocations: 33.59 kB / 0.7924 GB, free: 10.14 MB / 0.5919 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.0004398/0.9049, allocations: 336.7 kB / 0.7927 GB, free: 10.02 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001635/0.9051, allocations: 89.91 kB / 0.7928 GB, free: 9.977 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009168/0.906, allocations: 0.6183 MB / 0.7934 GB, free: 9.922 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.831e-06/0.906, allocations: 4.688 kB / 0.7934 GB, free: 9.922 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.35e-06/0.906, allocations: 0.7188 kB / 0.7934 GB, free: 9.922 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006227/0.9066, allocations: 0.5186 MB / 0.7939 GB, free: 9.852 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00245/0.9091, allocations: 1.673 MB / 0.7955 GB, free: 9.473 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.448e-06/0.9091, allocations: 1.594 kB / 0.7955 GB, free: 9.473 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005169/0.9097, allocations: 113.5 kB / 0.7957 GB, free: 9.469 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.692e-06/0.9097, allocations: 2.562 kB / 0.7957 GB, free: 9.469 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.939e-05/0.9097, allocations: 16.28 kB / 0.7957 GB, free: 9.469 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.656e-06/0.9097, allocations: 11.38 kB / 0.7957 GB, free: 9.465 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.815e-06/0.9097, allocations: 3.172 kB / 0.7957 GB, free: 9.465 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001191/0.9109, allocations: 1.014 MB / 0.7967 GB, free: 9.219 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000422/0.9114, allocations: 226.3 kB / 0.7969 GB, free: 9.078 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001396/0.9115, allocations: 13.67 kB / 0.7969 GB, free: 9.078 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004877/0.912, allocations: 21.64 kB / 0.7969 GB, free: 9.074 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.321e-05/0.9121, allocations: 36 kB / 0.797 GB, free: 9.074 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.725e-05/0.9121, allocations: 19.44 kB / 0.797 GB, free: 9.074 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0006266/0.9128, allocations: 0.5081 MB / 0.7975 GB, free: 8.98 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.3e-07/0.9128, allocations: 0.9062 kB / 0.7975 GB, free: 8.98 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0009345/0.9137, allocations: 302.2 kB / 0.7978 GB, free: 8.938 MB / 0.5919 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.0004847/0.9142, allocations: 211.3 kB / 0.798 GB, free: 8.832 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0008832/0.9151, allocations: 0.6119 MB / 0.7986 GB, free: 8.824 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 4.288e-06/0.9151, allocations: 2.844 kB / 0.7986 GB, free: 8.824 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0003312/0.9154, allocations: 270.3 kB / 0.7988 GB, free: 8.824 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001971/0.9174, allocations: 444.9 kB / 0.7993 GB, free: 8.773 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003022/0.9205, allocations: 1.925 MB / 0.8011 GB, free: 7.977 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007179/0.9212, allocations: 1.126 MB / 0.8022 GB, free: 7.262 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0008692/0.9221, allocations: 263.5 kB / 0.8025 GB, free: 7.219 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002171/0.9223, allocations: 78.91 kB / 0.8026 GB, free: 7.207 MB / 0.5919 GB Notification: Performance of SimCode: time 1.182e-06/0.9223, allocations: 0 / 0.8026 GB, free: 7.207 MB / 0.5919 GB Notification: Performance of Templates: time 0.02609/0.9484, allocations: 15.38 MB / 0.8176 GB, free: 1.812 MB / 0.5919 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 -s gbode -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.Sensors.Examples.TraceSubstances.pipe 2>&1)