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.001081/0.001081, allocations: 108 kB / 15.6 MB, free: 132 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.001135/0.001135, allocations: 193.8 kB / 16.53 MB, free: 6.391 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.41/1.41, allocations: 222.9 MB / 240.2 MB, free: 4.391 MB / 190.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.985/0.985, allocations: 143 MB / 433.4 MB, free: 11.4 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001424/0.001425, allocations: 67.89 kB / 0.5141 GB, free: 11.61 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1699/0.1714, allocations: 82.04 MB / 0.5943 GB, free: 9.531 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Sensors.Examples.TraceSubstances): time 0.525/0.6964, allocations: 195.2 MB / 0.7849 GB, free: 9.898 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.01636/0.7128, allocations: 14.34 MB / 0.7989 GB, free: 11.51 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001193/0.7141, allocations: 39.81 kB / 0.7989 GB, free: 11.47 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.001404/0.7155, allocations: 0.4929 MB / 0.7994 GB, free: 10.97 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.004289/0.7198, allocations: 1.878 MB / 0.8013 GB, free: 9.086 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.002216/0.722, allocations: 0.8608 MB / 0.8021 GB, free: 8.23 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.003177/0.7252, allocations: 2.577 MB / 0.8046 GB, free: 5.648 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001415/0.7267, allocations: 1.116 MB / 0.8057 GB, free: 4.516 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003667/0.7303, allocations: 1.597 MB / 0.8073 GB, free: 2.938 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001425/0.7318, allocations: 0.9218 MB / 0.8082 GB, free: 2.02 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 0.0001743/0.732, allocations: 104 kB / 0.8083 GB, free: 1.918 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002334/0.7343, allocations: 1.099 MB / 0.8093 GB, free: 0.8164 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.0004936/0.7348, allocations: 0.4948 MB / 0.8098 GB, free: 328 kB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.0007868/0.7356, allocations: 0.6339 MB / 0.8104 GB, free: 15.68 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.002635/0.7382, allocations: 1.967 MB / 0.8124 GB, free: 13.71 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 3.887e-06/0.7383, allocations: 0 / 0.8124 GB, free: 13.71 MB / 0.6387 GB Notification: Performance of FrontEnd: time 9.02e-07/0.7383, allocations: 0 / 0.8124 GB, free: 13.71 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 1.26e-05/0.7383, allocations: 0 / 0.8124 GB, free: 13.71 MB / 0.6387 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.002028/0.7403, allocations: 1.453 MB / 0.8138 GB, free: 12.21 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 3.918e-05/0.7404, allocations: 8.031 kB / 0.8138 GB, free: 12.2 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001282/0.7417, allocations: 254.3 kB / 0.814 GB, free: 11.95 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001046/0.7427, allocations: 0.753 MB / 0.8148 GB, free: 11.16 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.208e-05/0.7428, allocations: 77.69 kB / 0.8148 GB, free: 11.08 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000131/0.7429, allocations: 95.98 kB / 0.8149 GB, free: 10.99 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001575/0.7445, allocations: 1.169 MB / 0.8161 GB, free: 9.75 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.501e-05/0.7445, allocations: 3.938 kB / 0.8161 GB, free: 9.746 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.964e-05/0.7446, allocations: 40 kB / 0.8161 GB, free: 9.707 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.331e-05/0.7447, allocations: 37.88 kB / 0.8161 GB, free: 9.668 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001398/0.7461, allocations: 0.9015 MB / 0.817 GB, free: 8.77 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.005581/0.7517, allocations: 5.775 MB / 0.8227 GB, free: 2.535 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008265/0.7525, allocations: 0.5353 MB / 0.8232 GB, free: 1.992 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004011/0.7529, allocations: 315.1 kB / 0.8235 GB, free: 1.684 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006204/0.7535, allocations: 319.7 kB / 0.8238 GB, free: 1.316 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.085e-05/0.7536, allocations: 39 kB / 0.8238 GB, free: 1.27 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=49): time 1.964e-06/0.7536, allocations: 0 / 0.8238 GB, free: 1.27 MB / 0.6387 GB Notification: Performance of matching and sorting (n=49): time 0.001403/0.755, allocations: 0.7987 MB / 0.8246 GB, free: 472 kB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.95e-05/0.755, allocations: 59.84 kB / 0.8247 GB, free: 400 kB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009186/0.756, allocations: 0.7471 MB / 0.8254 GB, free: 15.63 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 5.991e-05/0.756, allocations: 41.64 kB / 0.8254 GB, free: 15.59 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003499/0.7564, allocations: 0.5142 MB / 0.8259 GB, free: 15.06 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001414/0.7565, allocations: 173.5 kB / 0.8261 GB, free: 14.89 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001873/0.7567, allocations: 142.5 kB / 0.8262 GB, free: 14.75 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.00011/0.7569, allocations: 341.9 kB / 0.8266 GB, free: 14.41 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003464/0.7572, allocations: 245.9 kB / 0.8268 GB, free: 14.16 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005757/0.7578, allocations: 0.5508 MB / 0.8273 GB, free: 13.48 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009611/0.7588, allocations: 0.7995 MB / 0.8281 GB, free: 12.57 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.777e-06/0.7588, allocations: 3.938 kB / 0.8281 GB, free: 12.57 MB / 0.6544 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.001185/0.76, allocations: 0.8464 MB / 0.8289 GB, free: 11.71 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 2.407e-05/0.76, allocations: 8 kB / 0.829 GB, free: 11.7 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.128e-05/0.76, allocations: 8 kB / 0.829 GB, free: 11.7 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.184e-05/0.76, allocations: 12 kB / 0.829 GB, free: 11.68 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005417/0.7606, allocations: 151.8 kB / 0.8291 GB, free: 11.54 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.976e-05/0.7606, allocations: 19.92 kB / 0.8291 GB, free: 11.52 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007437/0.7614, allocations: 95.52 kB / 0.8292 GB, free: 11.42 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.568e-05/0.7614, allocations: 36 kB / 0.8293 GB, free: 11.39 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.0004133/0.7619, allocations: 337.4 kB / 0.8296 GB, free: 11.05 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001273/0.762, allocations: 82.97 kB / 0.8297 GB, free: 10.96 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009388/0.7629, allocations: 0.6102 MB / 0.8303 GB, free: 10.35 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.494e-06/0.763, allocations: 8 kB / 0.8303 GB, free: 10.34 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.071e-06/0.763, allocations: 4.875 kB / 0.8303 GB, free: 10.34 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000691/0.7637, allocations: 0.5211 MB / 0.8308 GB, free: 9.805 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002225/0.7659, allocations: 1.671 MB / 0.8324 GB, free: 8.059 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.96e-06/0.7659, allocations: 4 kB / 0.8324 GB, free: 8.055 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005137/0.7664, allocations: 111.8 kB / 0.8325 GB, free: 7.945 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.793e-06/0.7665, allocations: 4 kB / 0.8325 GB, free: 7.941 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.058e-05/0.7665, allocations: 16.94 kB / 0.8325 GB, free: 7.926 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.873e-06/0.7665, allocations: 15.86 kB / 0.8326 GB, free: 7.91 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.194e-06/0.7665, allocations: 0 / 0.8326 GB, free: 7.91 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001276/0.7678, allocations: 1.011 MB / 0.8335 GB, free: 6.859 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002847/0.7681, allocations: 223.9 kB / 0.8338 GB, free: 6.621 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001086/0.7682, allocations: 15.98 kB / 0.8338 GB, free: 6.605 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000448/0.7687, allocations: 23.94 kB / 0.8338 GB, free: 6.586 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.514e-05/0.7687, allocations: 31.95 kB / 0.8338 GB, free: 6.555 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.388e-05/0.7688, allocations: 16 kB / 0.8338 GB, free: 6.539 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0005879/0.7694, allocations: 0.5146 MB / 0.8343 GB, free: 6.027 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.3e-07/0.7694, allocations: 0 / 0.8343 GB, free: 6.027 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0008743/0.7703, allocations: 299.2 kB / 0.8346 GB, free: 5.734 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.0004709/0.7707, allocations: 219.2 kB / 0.8348 GB, free: 5.531 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.00113/0.7719, allocations: 0.7135 MB / 0.8355 GB, free: 4.82 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 3.116e-06/0.7719, allocations: 4.062 kB / 0.8355 GB, free: 4.816 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0003527/0.7723, allocations: 271.7 kB / 0.8358 GB, free: 4.551 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001939/0.7742, allocations: 441.7 kB / 0.8362 GB, free: 4.156 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00286/0.7771, allocations: 1.943 MB / 0.8381 GB, free: 2.164 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007831/0.7779, allocations: 1.129 MB / 0.8392 GB, free: 1.008 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.0008093/0.7787, allocations: 271.1 kB / 0.8395 GB, free: 0.7383 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001887/0.7789, allocations: 67.42 kB / 0.8395 GB, free: 0.6719 MB / 0.6544 GB Notification: Performance of SimCode: time 5.51e-07/0.7789, allocations: 0 / 0.8395 GB, free: 0.6719 MB / 0.6544 GB Notification: Performance of Templates: time 0.02607/0.805, allocations: 15.43 MB / 0.8546 GB, free: 1.492 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)