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-master/package.mo", uses=false) Using package BuildSysPro with version 3.6.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.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(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.0009894/0.0009894, allocations: 90.52 kB / 15.36 MB, free: 0.7383 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.008092/0.008092, allocations: 171.1 kB / 16.26 MB, free: 6.613 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.344/1.344, allocations: 223.2 MB / 240.3 MB, free: 5.371 MB / 190.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0-master/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-master/package.mo): time 1.007/1.007, allocations: 143.4 MB / 434.8 MB, free: 13.67 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003544/0.0003543, allocations: 12 kB / 0.5166 GB, free: 10.95 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1779/0.1783, allocations: 83.41 MB / 0.5981 GB, free: 7.48 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Sensors.Examples.TraceSubstances): time 0.4826/0.6609, allocations: 190.4 MB / 0.784 GB, free: 13.29 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.01851/0.6795, allocations: 14.22 MB / 0.7979 GB, free: 15.03 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009559/0.6805, allocations: 31.81 kB / 0.7979 GB, free: 15 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.001388/0.6819, allocations: 425.7 kB / 0.7983 GB, free: 14.58 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.004285/0.6862, allocations: 1.767 MB / 0.8001 GB, free: 12.8 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.001982/0.6882, allocations: 0.7787 MB / 0.8008 GB, free: 12.03 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.003485/0.6917, allocations: 3.619 MB / 0.8044 GB, free: 8.406 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00114/0.6928, allocations: 0.9117 MB / 0.8052 GB, free: 7.473 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003718/0.6965, allocations: 1.41 MB / 0.8066 GB, free: 6.074 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001317/0.6979, allocations: 0.924 MB / 0.8075 GB, free: 5.152 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 0.0001073/0.698, allocations: 48 kB / 0.8076 GB, free: 5.105 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002049/0.7, allocations: 1.243 MB / 0.8088 GB, free: 3.859 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.0004109/0.7005, allocations: 438.7 kB / 0.8092 GB, free: 3.43 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.0005621/0.701, allocations: 0.5848 MB / 0.8098 GB, free: 2.836 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.00196/0.703, allocations: 1.958 MB / 0.8117 GB, free: 0.8711 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 4.789e-06/0.703, allocations: 4 kB / 0.8117 GB, free: 0.8672 MB / 0.6231 GB Notification: Performance of FrontEnd: time 1.543e-06/0.703, allocations: 4 kB / 0.8117 GB, free: 0.8633 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 1.383e-05/0.7031, allocations: 0 / 0.8117 GB, free: 0.8633 MB / 0.6231 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.001854/0.7049, allocations: 1.231 MB / 0.8129 GB, free: 15.58 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 3.361e-05/0.705, allocations: 8.031 kB / 0.8129 GB, free: 15.57 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001316/0.7063, allocations: 250.3 kB / 0.8131 GB, free: 15.33 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001123/0.7074, allocations: 0.757 MB / 0.8139 GB, free: 14.53 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.504e-05/0.7075, allocations: 73.94 kB / 0.814 GB, free: 14.46 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001491/0.7076, allocations: 92 kB / 0.814 GB, free: 14.37 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001668/0.7093, allocations: 1.169 MB / 0.8152 GB, free: 13.13 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.826e-05/0.7094, allocations: 8 kB / 0.8152 GB, free: 13.12 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.396e-05/0.7094, allocations: 39.94 kB / 0.8152 GB, free: 13.08 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.415e-05/0.7095, allocations: 41.94 kB / 0.8153 GB, free: 13.04 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001379/0.7109, allocations: 0.8976 MB / 0.8161 GB, free: 12.14 MB / 0.6387 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.005364/0.7163, allocations: 5.731 MB / 0.8217 GB, free: 5.957 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000837/0.7171, allocations: 0.5355 MB / 0.8223 GB, free: 5.414 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004355/0.7175, allocations: 323.1 kB / 0.8226 GB, free: 5.098 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005823/0.7181, allocations: 327.7 kB / 0.8229 GB, free: 4.723 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.933e-05/0.7182, allocations: 42.94 kB / 0.8229 GB, free: 4.668 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=49): time 1.763e-06/0.7182, allocations: 0 / 0.8229 GB, free: 4.668 MB / 0.6387 GB Notification: Performance of matching and sorting (n=49): time 0.001489/0.7197, allocations: 0.7987 MB / 0.8237 GB, free: 3.863 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.58e-05/0.7197, allocations: 59.84 kB / 0.8238 GB, free: 3.793 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008664/0.7206, allocations: 0.7471 MB / 0.8245 GB, free: 3.035 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 6.011e-05/0.7207, allocations: 37.7 kB / 0.8245 GB, free: 2.992 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003973/0.7211, allocations: 0.5064 MB / 0.825 GB, free: 2.477 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001642/0.7212, allocations: 181.5 kB / 0.8252 GB, free: 2.297 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.344e-05/0.7213, allocations: 61.69 kB / 0.8253 GB, free: 2.23 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001379/0.7215, allocations: 345.9 kB / 0.8256 GB, free: 1.887 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003963/0.7219, allocations: 241.9 kB / 0.8258 GB, free: 1.652 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006623/0.7226, allocations: 0.5585 MB / 0.8264 GB, free: 0.9609 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001019/0.7236, allocations: 0.7918 MB / 0.8271 GB, free: 60 kB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.823e-06/0.7236, allocations: 4 kB / 0.8271 GB, free: 56 kB / 0.6387 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.001313/0.7249, allocations: 0.8465 MB / 0.828 GB, free: 15.2 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 2.634e-05/0.725, allocations: 12 kB / 0.828 GB, free: 15.18 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.461e-05/0.725, allocations: 8 kB / 0.828 GB, free: 15.18 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.738e-05/0.725, allocations: 12 kB / 0.828 GB, free: 15.16 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005638/0.7256, allocations: 155.8 kB / 0.8281 GB, free: 15.01 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.063e-05/0.7256, allocations: 19.92 kB / 0.8282 GB, free: 14.99 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009139/0.7265, allocations: 147.4 kB / 0.8283 GB, free: 14.85 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.9e-05/0.7266, allocations: 32 kB / 0.8283 GB, free: 14.82 MB / 0.6544 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.0004451/0.7271, allocations: 334.9 kB / 0.8287 GB, free: 14.48 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001324/0.7272, allocations: 94.97 kB / 0.8287 GB, free: 14.39 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001044/0.7282, allocations: 0.614 MB / 0.8293 GB, free: 13.76 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.194e-06/0.7283, allocations: 4 kB / 0.8293 GB, free: 13.76 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.58e-06/0.7283, allocations: 0 / 0.8293 GB, free: 13.76 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007278/0.729, allocations: 0.5212 MB / 0.8299 GB, free: 13.22 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002462/0.7315, allocations: 1.667 MB / 0.8315 GB, free: 11.48 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.136e-06/0.7315, allocations: 0 / 0.8315 GB, free: 11.48 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005206/0.732, allocations: 115.8 kB / 0.8316 GB, free: 11.37 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.161e-06/0.732, allocations: 4 kB / 0.8316 GB, free: 11.37 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.991e-05/0.7321, allocations: 12.22 kB / 0.8316 GB, free: 11.36 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.132e-06/0.7321, allocations: 12.56 kB / 0.8316 GB, free: 11.34 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.382e-06/0.7321, allocations: 7.938 kB / 0.8316 GB, free: 11.34 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001305/0.7334, allocations: 1.011 MB / 0.8326 GB, free: 10.29 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003451/0.7338, allocations: 227.9 kB / 0.8328 GB, free: 10.05 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.549e-05/0.7339, allocations: 12 kB / 0.8328 GB, free: 10.04 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00057/0.7345, allocations: 75.66 kB / 0.8329 GB, free: 9.961 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.028e-05/0.7345, allocations: 35.95 kB / 0.8329 GB, free: 9.926 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.422e-05/0.7346, allocations: 16 kB / 0.833 GB, free: 9.91 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0006462/0.7352, allocations: 0.5107 MB / 0.8335 GB, free: 9.402 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.5e-07/0.7352, allocations: 0 / 0.8335 GB, free: 9.402 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0008622/0.7361, allocations: 295.4 kB / 0.8337 GB, free: 9.113 MB / 0.6544 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.0004761/0.7366, allocations: 212.5 kB / 0.8339 GB, free: 8.918 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0009094/0.7375, allocations: 0.6041 MB / 0.8345 GB, free: 8.312 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 5.24e-06/0.7375, allocations: 4 kB / 0.8345 GB, free: 8.309 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.000365/0.7379, allocations: 272.1 kB / 0.8348 GB, free: 8.043 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002352/0.7403, allocations: 441.3 kB / 0.8352 GB, free: 7.621 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003133/0.7434, allocations: 2.402 MB / 0.8376 GB, free: 5.172 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007081/0.7441, allocations: 1.13 MB / 0.8387 GB, free: 4.016 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.0008604/0.745, allocations: 272.4 kB / 0.8389 GB, free: 3.746 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001891/0.7452, allocations: 67.42 kB / 0.839 GB, free: 3.68 MB / 0.6544 GB Notification: Performance of SimCode: time 5.51e-07/0.7452, allocations: 0 / 0.839 GB, free: 3.68 MB / 0.6544 GB Notification: Performance of Templates: time 0.02504/0.7702, allocations: 14.9 MB / 0.8535 GB, free: 5.066 MB / 0.67 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)