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/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/BuildSysPro 3.6.0/package.mo", uses=false) Using package BuildSysPro with version 3.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/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(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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001252/0.001252, allocations: 104.3 kB / 16.27 MB, free: 6.051 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.001235/0.001235, allocations: 183.9 kB / 17.19 MB, free: 5.688 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.255/1.255, allocations: 222.9 MB / 240.9 MB, free: 15.23 MB / 206.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/Building/BuildingEnvelope/HeatTransfer/package.mo:2:1-40:17:writable] Warning: Soil_case_nappe was referenced in the package.order file, but was not found in package.mo, Soil_case_nappe/package.mo or Soil_case_nappe.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/package.mo): time 0.8584/0.8584, allocations: 143.1 MB / 434.1 MB, free: 12.09 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001456/0.001456, allocations: 67.89 kB / 0.5148 GB, free: 15.2 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3331/0.3346, allocations: 82.02 MB / 0.5949 GB, free: 16.24 MB / 446.1 MB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Sensors.Examples.TraceSubstances): time 0.5129/0.8475, allocations: 195.2 MB / 0.7855 GB, free: 1.449 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.01372/0.8613, allocations: 14.36 MB / 0.7996 GB, free: 1.223 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001577/0.8629, allocations: 36.88 kB / 0.7996 GB, free: 1.223 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.001307/0.8643, allocations: 0.4961 MB / 0.8001 GB, free: 1.219 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.004234/0.8685, allocations: 1.878 MB / 0.8019 GB, free: 1.145 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.002065/0.8706, allocations: 0.8659 MB / 0.8028 GB, free: 1.121 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.002533/0.8731, allocations: 2.577 MB / 0.8053 GB, free: 1.113 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001288/0.8744, allocations: 1.119 MB / 0.8064 GB, free: 0.9922 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003582/0.878, allocations: 1.594 MB / 0.8079 GB, free: 0.9609 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001343/0.8794, allocations: 0.9195 MB / 0.8088 GB, free: 0.8555 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0001601/0.8796, allocations: 109.2 kB / 0.8089 GB, free: 0.8555 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00206/0.8816, allocations: 1.099 MB / 0.81 GB, free: 0.8398 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0004024/0.882, allocations: 0.4917 MB / 0.8105 GB, free: 0.7969 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0006752/0.8827, allocations: 0.6348 MB / 0.8111 GB, free: 0.625 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.002557/0.8853, allocations: 1.957 MB / 0.813 GB, free: 392 kB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 6.062e-06/0.8853, allocations: 0.8125 kB / 0.813 GB, free: 392 kB / 0.5762 GB Notification: Performance of FrontEnd: time 1.754e-06/0.8853, allocations: 0 / 0.813 GB, free: 392 kB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.659e-05/0.8853, allocations: 0 / 0.813 GB, free: 392 kB / 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.002045/0.8874, allocations: 1.459 MB / 0.8145 GB, free: 15.6 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.007e-05/0.8874, allocations: 8.312 kB / 0.8145 GB, free: 15.6 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001307/0.8888, allocations: 253.3 kB / 0.8147 GB, free: 15.54 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001103/0.8899, allocations: 0.7528 MB / 0.8154 GB, free: 15.22 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.58e-05/0.8899, allocations: 71.5 kB / 0.8155 GB, free: 15.22 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001445/0.8901, allocations: 94.53 kB / 0.8156 GB, free: 15.21 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00164/0.8917, allocations: 1.176 MB / 0.8167 GB, free: 14.99 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.854e-05/0.8918, allocations: 3.094 kB / 0.8167 GB, free: 14.99 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.945e-05/0.8919, allocations: 39.91 kB / 0.8168 GB, free: 14.99 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.082e-05/0.8919, allocations: 35.72 kB / 0.8168 GB, free: 14.98 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001168/0.8931, allocations: 0.9041 MB / 0.8177 GB, free: 14.98 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.005118/0.8982, allocations: 5.763 MB / 0.8233 GB, free: 11.22 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007621/0.899, allocations: 0.5372 MB / 0.8239 GB, free: 11.18 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004126/0.8994, allocations: 323.4 kB / 0.8242 GB, free: 11.15 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005527/0.9, allocations: 313.9 kB / 0.8245 GB, free: 10.86 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.792e-05/0.9, allocations: 37.22 kB / 0.8245 GB, free: 10.82 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=49): time 2.565e-06/0.9, allocations: 0 / 0.8245 GB, free: 10.82 MB / 0.5919 GB Notification: Performance of matching and sorting (n=49): time 0.00139/0.9014, allocations: 0.8089 MB / 0.8253 GB, free: 10.5 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.765e-05/0.9015, allocations: 56.31 kB / 0.8253 GB, free: 10.44 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007751/0.9023, allocations: 0.7536 MB / 0.8261 GB, free: 10.12 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 5.075e-05/0.9023, allocations: 43.02 kB / 0.8261 GB, free: 10.08 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003147/0.9026, allocations: 0.5034 MB / 0.8266 GB, free: 9.676 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001337/0.9028, allocations: 176.7 kB / 0.8268 GB, free: 9.547 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001805/0.903, allocations: 143 kB / 0.8269 GB, free: 9.477 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001027/0.9031, allocations: 329.7 kB / 0.8272 GB, free: 9.16 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003118/0.9034, allocations: 252.8 kB / 0.8275 GB, free: 9.074 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000523/0.9039, allocations: 0.5528 MB / 0.828 GB, free: 8.613 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008639/0.9048, allocations: 0.7956 MB / 0.8288 GB, free: 8.086 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.39e-06/0.9048, allocations: 3.25 kB / 0.8288 GB, free: 8.086 MB / 0.5919 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.001138/0.9059, allocations: 0.8483 MB / 0.8296 GB, free: 7.781 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.983e-05/0.906, allocations: 10.59 kB / 0.8296 GB, free: 7.781 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.169e-05/0.906, allocations: 11.31 kB / 0.8296 GB, free: 7.777 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.16e-05/0.906, allocations: 14.28 kB / 0.8297 GB, free: 7.773 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000494/0.9065, allocations: 157.7 kB / 0.8298 GB, free: 7.766 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.61e-05/0.9065, allocations: 19.23 kB / 0.8298 GB, free: 7.766 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006962/0.9072, allocations: 93.8 kB / 0.8299 GB, free: 7.707 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.156e-05/0.9073, allocations: 31.22 kB / 0.8299 GB, free: 7.703 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.0004127/0.9077, allocations: 329.5 kB / 0.8303 GB, free: 7.504 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001171/0.9079, allocations: 89.66 kB / 0.8303 GB, free: 7.457 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008887/0.9087, allocations: 0.6213 MB / 0.8309 GB, free: 7.195 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.6e-06/0.9088, allocations: 4.719 kB / 0.831 GB, free: 7.195 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.861e-06/0.9088, allocations: 5.094 kB / 0.831 GB, free: 7.195 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006374/0.9094, allocations: 0.5116 MB / 0.8315 GB, free: 6.969 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002303/0.9117, allocations: 1.679 MB / 0.8331 GB, free: 5.855 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.709e-06/0.9117, allocations: 2.344 kB / 0.8331 GB, free: 5.855 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004975/0.9123, allocations: 104.8 kB / 0.8332 GB, free: 5.84 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.662e-06/0.9123, allocations: 3.625 kB / 0.8332 GB, free: 5.84 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.957e-05/0.9123, allocations: 15.77 kB / 0.8332 GB, free: 5.832 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.711e-06/0.9123, allocations: 10 kB / 0.8332 GB, free: 5.828 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.627e-06/0.9123, allocations: 2.719 kB / 0.8332 GB, free: 5.828 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001246/0.9136, allocations: 1.019 MB / 0.8342 GB, free: 5.211 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002917/0.9139, allocations: 222.2 kB / 0.8344 GB, free: 5.023 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001083/0.914, allocations: 12.72 kB / 0.8344 GB, free: 5.016 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004325/0.9144, allocations: 14.02 kB / 0.8345 GB, free: 5.008 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.835e-05/0.9145, allocations: 35.59 kB / 0.8345 GB, free: 4.992 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.771e-05/0.9146, allocations: 20.8 kB / 0.8345 GB, free: 4.984 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.000584/0.9152, allocations: 0.5167 MB / 0.835 GB, free: 4.688 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.2e-07/0.9152, allocations: 0 / 0.835 GB, free: 4.688 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0008694/0.916, allocations: 301.6 kB / 0.8353 GB, free: 4.625 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.0004804/0.9165, allocations: 218.5 kB / 0.8355 GB, free: 4.484 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.001072/0.9176, allocations: 0.7179 MB / 0.8362 GB, free: 4.223 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 3.477e-06/0.9176, allocations: 0 / 0.8362 GB, free: 4.223 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0003294/0.918, allocations: 271 kB / 0.8365 GB, free: 4.117 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001793/0.9198, allocations: 442.3 kB / 0.8369 GB, free: 3.902 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003023/0.9228, allocations: 2.028 MB / 0.8389 GB, free: 2.105 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006067/0.9234, allocations: 1.125 MB / 0.84 GB, free: 0.957 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000196/0.9236, allocations: 79.42 kB / 0.8401 GB, free: 0.8789 MB / 0.5919 GB Notification: Performance of SimCode: time 1.613e-06/0.9236, allocations: 0 / 0.8401 GB, free: 0.8789 MB / 0.5919 GB Notification: Performance of Templates: time 0.01989/0.9435, allocations: 14.57 MB / 0.8543 GB, free: 2.465 MB / 0.6075 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)