Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.TraceSubstances.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.4.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package BuildSysPro with version 3.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.4.0/package.mo) Running command: translateModel(BuildSysPro.IBPSA.Fluid.Sensors.Examples.TraceSubstances,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.TraceSubstances") translateModel(BuildSysPro.IBPSA.Fluid.Sensors.Examples.TraceSubstances,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.TraceSubstances") [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.4.0/UsersGuide/package.order:0:0-0:0:readonly] Warning: The package.order file does not list all .mo files and directories (containing package.mo) present in its directory. Missing names are: License Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.4.0/package.mo): time 0.6533/0.6533, allocations: 117.9 MB / 133.9 MB, free: 4.496 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009422/0.0009424, allocations: 184.5 kB / 161.7 MB, free: 2.723 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.789/1.789, allocations: 205.3 MB / 394.8 MB, free: 20.91 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008276/0.0008276, allocations: 102.2 kB / 470.1 MB, free: 12.11 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003978/0.0003979, allocations: 12 kB / 0.5423 GB, free: 6.824 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3521/0.3525, allocations: 74.54 MB / 0.6151 GB, free: 54.1 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.143/5.495, allocations: 2.159 GB / 2.774 GB, free: 224.4 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003565/5.496, allocations: 93.64 kB / 2.774 GB, free: 224.4 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 2.079/7.575, allocations: 0.657 GB / 3.431 GB, free: 39.23 MB / 0.6355 GB Notification: Performance of FrontEnd: time 3.477e-06/7.575, allocations: 0 / 3.431 GB, free: 39.23 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 0.0001966/7.575, allocations: 32 kB / 3.431 GB, free: 39.2 MB / 0.6355 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 258 * Number of variables: 258 Notification: Performance of Generate backend data structure: time 0.005463/7.581, allocations: 1.572 MB / 3.433 GB, free: 37.57 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.168e-05/7.581, allocations: 8.031 kB / 3.433 GB, free: 37.56 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002008/7.583, allocations: 255.2 kB / 3.433 GB, free: 37.31 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002427/7.585, allocations: 0.8726 MB / 3.434 GB, free: 36.39 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.668e-05/7.585, allocations: 78.03 kB / 3.434 GB, free: 36.31 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003693/7.586, allocations: 112 kB / 3.434 GB, free: 36.2 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002649/7.588, allocations: 1.261 MB / 3.435 GB, free: 34.85 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.165e-05/7.588, allocations: 7.938 kB / 3.435 GB, free: 34.84 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001884/7.589, allocations: 40 kB / 3.435 GB, free: 34.8 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.359e-05/7.589, allocations: 38 kB / 3.435 GB, free: 34.77 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002048/7.591, allocations: 0.9835 MB / 3.436 GB, free: 33.78 MB / 0.6355 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.007849/7.599, allocations: 6.087 MB / 3.442 GB, free: 27.2 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007743/7.599, allocations: 0.594 MB / 3.443 GB, free: 26.59 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003756/7.6, allocations: 306.9 kB / 3.443 GB, free: 26.28 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004052/7.6, allocations: 222.7 kB / 3.443 GB, free: 26.03 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.093e-05/7.6, allocations: 42.94 kB / 3.443 GB, free: 25.98 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=52): time 3.697e-06/7.6, allocations: 0 / 3.443 GB, free: 25.98 MB / 0.6355 GB Notification: Performance of matching and sorting (n=52): time 0.001569/7.602, allocations: 0.7909 MB / 3.444 GB, free: 25.18 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.374e-05/7.602, allocations: 85.55 kB / 3.444 GB, free: 25.08 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001101/7.603, allocations: 0.8136 MB / 3.445 GB, free: 24.26 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 0.0001049/7.603, allocations: 41.64 kB / 3.445 GB, free: 24.21 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003343/7.604, allocations: 0.5529 MB / 3.446 GB, free: 23.65 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001643/7.604, allocations: 193.3 kB / 3.446 GB, free: 23.46 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.956e-05/7.604, allocations: 16 kB / 3.446 GB, free: 23.44 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 9.09e-05/7.604, allocations: 338.1 kB / 3.446 GB, free: 23.11 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003933/7.604, allocations: 277.8 kB / 3.446 GB, free: 22.83 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005672/7.605, allocations: 0.6248 MB / 3.447 GB, free: 22.05 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009686/7.606, allocations: 0.8973 MB / 3.448 GB, free: 21.02 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.117e-05/7.606, allocations: 4 kB / 3.448 GB, free: 21.02 MB / 0.6355 GB Notification: Performance of matching and sorting (n=101) (initialization): time 0.001507/7.607, allocations: 0.9758 MB / 3.449 GB, free: 20.03 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 4.635e-05/7.607, allocations: 46.88 kB / 3.449 GB, free: 19.98 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.773e-05/7.607, allocations: 8 kB / 3.449 GB, free: 19.97 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.858e-05/7.607, allocations: 12 kB / 3.449 GB, free: 19.96 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005928/7.608, allocations: 175.7 kB / 3.449 GB, free: 19.79 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.948e-05/7.608, allocations: 20.53 kB / 3.449 GB, free: 19.77 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001229/7.609, allocations: 162.8 kB / 3.449 GB, free: 19.61 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.606e-05/7.609, allocations: 39.98 kB / 3.449 GB, free: 19.57 MB / 0.6355 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 41 * 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 (101): * Single equations (assignments): 100 * Array equations: 0 * Algorithm blocks: 1 * 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.0006842/7.61, allocations: 357.5 kB / 3.45 GB, free: 19.21 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002343/7.61, allocations: 98.75 kB / 3.45 GB, free: 19.11 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009431/7.611, allocations: 0.6027 MB / 3.45 GB, free: 18.51 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.015e-06/7.611, allocations: 8 kB / 3.45 GB, free: 18.5 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.174e-06/7.611, allocations: 0 / 3.45 GB, free: 18.5 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006159/7.612, allocations: 0.5055 MB / 3.451 GB, free: 17.98 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002785/7.615, allocations: 1.684 MB / 3.452 GB, free: 16.22 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.871e-06/7.615, allocations: 0 / 3.452 GB, free: 16.22 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005174/7.615, allocations: 115.9 kB / 3.453 GB, free: 16.11 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.032e-05/7.615, allocations: 4 kB / 3.453 GB, free: 16.11 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.004e-05/7.615, allocations: 19.98 kB / 3.453 GB, free: 16.09 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.44e-06/7.615, allocations: 12.09 kB / 3.453 GB, free: 16.07 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.495e-06/7.615, allocations: 64 / 3.453 GB, free: 16.07 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001244/7.617, allocations: 1.126 MB / 3.454 GB, free: 14.91 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000515/7.617, allocations: 247.8 kB / 3.454 GB, free: 14.65 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001891/7.617, allocations: 15.98 kB / 3.454 GB, free: 14.64 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000859/7.618, allocations: 63.94 kB / 3.454 GB, free: 14.57 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.82e-05/7.618, allocations: 39.89 kB / 3.454 GB, free: 14.54 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.864e-05/7.618, allocations: 23.98 kB / 3.454 GB, free: 14.51 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.0007439/7.619, allocations: 0.5497 MB / 3.455 GB, free: 13.96 MB / 0.6355 GB Notification: Performance of sort global known variables: time 2.8e-07/7.619, allocations: 3.938 kB / 3.455 GB, free: 13.96 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.002182/7.621, allocations: 0.5148 MB / 3.455 GB, free: 13.45 MB / 0.6355 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 4 (vol.dynBal.U,vol.dynBal.m,vol.dynBal.mXi[1],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 (52): * Single equations (assignments): 52 * 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.003239/7.625, allocations: 1.937 MB / 3.457 GB, free: 11.44 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.001188/7.626, allocations: 0.7086 MB / 3.458 GB, free: 10.72 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 5.851e-06/7.626, allocations: 1.812 kB / 3.458 GB, free: 10.72 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0003378/7.626, allocations: 275.4 kB / 3.458 GB, free: 10.45 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00285/7.629, allocations: 482.1 kB / 3.458 GB, free: 9.988 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003822/7.633, allocations: 2.47 MB / 3.461 GB, free: 7.461 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007578/7.634, allocations: 1.15 MB / 3.462 GB, free: 6.285 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.001196/7.635, allocations: 271.7 kB / 3.462 GB, free: 6.016 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002338/7.635, allocations: 83.36 kB / 3.462 GB, free: 5.934 MB / 0.6355 GB Notification: Performance of SimCode: time 9.72e-07/7.635, allocations: 0 / 3.462 GB, free: 5.934 MB / 0.6355 GB Notification: Performance of Templates: time 0.5569/8.192, allocations: 39.09 MB / 3.501 GB, free: 105.5 MB / 0.6511 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.TraceSubstances.makefile (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.TraceSubstances.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.TraceSubstances.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.TraceSubstances.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.TraceSubstances.sim & ./BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.TraceSubstances -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.TraceSubstances.pipe 2>&1)