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.001047/0.001047, allocations: 107.3 kB / 16.41 MB, free: 6.438 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.00106/0.00106, allocations: 189.5 kB / 17.34 MB, free: 5.707 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.266/1.266, allocations: 222.9 MB / 241 MB, free: 15.14 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.8262/0.8262, allocations: 143.1 MB / 434.3 MB, free: 11.99 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001138/0.001138, allocations: 67.45 kB / 0.5962 GB, free: 12.28 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1575/0.1587, allocations: 82.03 MB / 0.6763 GB, free: 10.34 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Sensors.Examples.TraceSubstances): time 0.5332/0.692, allocations: 195.2 MB / 0.867 GB, free: 10.53 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.01691/0.7089, allocations: 14.35 MB / 0.881 GB, free: 12.13 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001363/0.7103, allocations: 35.81 kB / 0.881 GB, free: 12.1 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.001551/0.7119, allocations: 0.5007 MB / 0.8815 GB, free: 11.59 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.004834/0.7168, allocations: 1.886 MB / 0.8833 GB, free: 9.699 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.00242/0.7192, allocations: 0.8679 MB / 0.8842 GB, free: 8.836 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.003295/0.7225, allocations: 2.575 MB / 0.8867 GB, free: 6.254 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001477/0.724, allocations: 1.108 MB / 0.8878 GB, free: 5.125 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004657/0.7287, allocations: 1.616 MB / 0.8894 GB, free: 3.523 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001658/0.7303, allocations: 0.923 MB / 0.8903 GB, free: 2.602 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.000189/0.7305, allocations: 108 kB / 0.8904 GB, free: 2.496 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00252/0.7331, allocations: 1.099 MB / 0.8914 GB, free: 1.395 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.000502/0.7336, allocations: 0.4988 MB / 0.8919 GB, free: 0.8945 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0007351/0.7343, allocations: 0.6377 MB / 0.8925 GB, free: 260 kB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.002721/0.7371, allocations: 1.985 MB / 0.8945 GB, free: 14.27 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 5.46e-06/0.7371, allocations: 0 / 0.8945 GB, free: 14.27 MB / 0.67 GB Notification: Performance of FrontEnd: time 2.494e-06/0.7371, allocations: 0 / 0.8945 GB, free: 14.27 MB / 0.67 GB Notification: Performance of Transformations before backend: time 2.27e-05/0.7371, allocations: 0 / 0.8945 GB, free: 14.27 MB / 0.67 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.002158/0.7393, allocations: 1.457 MB / 0.8959 GB, free: 12.76 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 3.915e-05/0.7393, allocations: 8.031 kB / 0.8959 GB, free: 12.75 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001317/0.7406, allocations: 250.4 kB / 0.8962 GB, free: 12.5 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001235/0.7419, allocations: 0.7881 MB / 0.8969 GB, free: 11.67 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.391e-05/0.742, allocations: 77.98 kB / 0.897 GB, free: 11.6 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001232/0.7421, allocations: 92 kB / 0.8971 GB, free: 11.51 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0017/0.7438, allocations: 1.169 MB / 0.8982 GB, free: 10.27 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.899e-05/0.7439, allocations: 7.922 kB / 0.8982 GB, free: 10.26 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.892e-05/0.7439, allocations: 40 kB / 0.8983 GB, free: 10.22 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.299e-05/0.744, allocations: 37.94 kB / 0.8983 GB, free: 10.18 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001318/0.7453, allocations: 0.9054 MB / 0.8992 GB, free: 9.277 MB / 0.67 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.00554/0.7509, allocations: 5.743 MB / 0.9048 GB, free: 3.082 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008331/0.7517, allocations: 0.5383 MB / 0.9053 GB, free: 2.535 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003988/0.7521, allocations: 322.5 kB / 0.9056 GB, free: 2.219 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005509/0.7527, allocations: 319.7 kB / 0.9059 GB, free: 1.852 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.21e-05/0.7527, allocations: 35 kB / 0.906 GB, free: 1.809 MB / 0.67 GB Notification: Performance of pre-optimization done (n=49): time 2.474e-06/0.7527, allocations: 0 / 0.906 GB, free: 1.809 MB / 0.67 GB Notification: Performance of matching and sorting (n=49): time 0.001435/0.7542, allocations: 0.7987 MB / 0.9068 GB, free: 1.004 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.608e-05/0.7542, allocations: 67.84 kB / 0.9068 GB, free: 0.9258 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008755/0.7551, allocations: 0.7508 MB / 0.9076 GB, free: 168 kB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 5.814e-05/0.7552, allocations: 37.7 kB / 0.9076 GB, free: 124 kB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003612/0.7556, allocations: 0.5026 MB / 0.9081 GB, free: 15.61 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001662/0.7557, allocations: 177.5 kB / 0.9082 GB, free: 15.43 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001984/0.7559, allocations: 146.5 kB / 0.9084 GB, free: 15.29 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 0.0001274/0.7561, allocations: 337.9 kB / 0.9087 GB, free: 14.95 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003549/0.7564, allocations: 245.8 kB / 0.9089 GB, free: 14.71 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005771/0.757, allocations: 0.5547 MB / 0.9095 GB, free: 14.02 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009961/0.758, allocations: 0.7995 MB / 0.9103 GB, free: 13.11 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.544e-06/0.758, allocations: 4 kB / 0.9103 GB, free: 13.11 MB / 0.6856 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.001421/0.7595, allocations: 0.8428 MB / 0.9111 GB, free: 12.25 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 2.344e-05/0.7595, allocations: 8 kB / 0.9111 GB, free: 12.25 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.221e-05/0.7595, allocations: 8 kB / 0.9111 GB, free: 12.24 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.851e-05/0.7596, allocations: 15.94 kB / 0.9111 GB, free: 12.22 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005608/0.7601, allocations: 159.7 kB / 0.9113 GB, free: 12.07 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.809e-05/0.7602, allocations: 15.94 kB / 0.9113 GB, free: 12.05 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000711/0.7609, allocations: 83.2 kB / 0.9114 GB, free: 11.97 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.867e-05/0.7609, allocations: 39.98 kB / 0.9114 GB, free: 11.93 MB / 0.6856 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.0004583/0.7614, allocations: 333.5 kB / 0.9117 GB, free: 11.59 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001378/0.7616, allocations: 86.88 kB / 0.9118 GB, free: 11.51 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009995/0.7626, allocations: 0.618 MB / 0.9124 GB, free: 10.88 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.6e-06/0.7626, allocations: 4 kB / 0.9124 GB, free: 10.88 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.793e-06/0.7626, allocations: 0 / 0.9124 GB, free: 10.88 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00068/0.7633, allocations: 0.5211 MB / 0.9129 GB, free: 10.34 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002357/0.7656, allocations: 1.667 MB / 0.9146 GB, free: 8.598 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.797e-06/0.7657, allocations: 4 kB / 0.9146 GB, free: 8.594 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005173/0.7662, allocations: 116 kB / 0.9147 GB, free: 8.48 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.432e-06/0.7662, allocations: 4 kB / 0.9147 GB, free: 8.477 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.964e-05/0.7663, allocations: 19.98 kB / 0.9147 GB, free: 8.457 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.973e-06/0.7663, allocations: 8 kB / 0.9147 GB, free: 8.449 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.536e-06/0.7663, allocations: 4 kB / 0.9147 GB, free: 8.445 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001316/0.7676, allocations: 1.019 MB / 0.9157 GB, free: 7.391 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003348/0.7679, allocations: 227.9 kB / 0.9159 GB, free: 7.148 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.825e-05/0.768, allocations: 8 kB / 0.9159 GB, free: 7.141 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004286/0.7685, allocations: 26.36 kB / 0.9159 GB, free: 7.117 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.753e-05/0.7686, allocations: 35.91 kB / 0.916 GB, free: 7.082 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.664e-05/0.7686, allocations: 20.12 kB / 0.916 GB, free: 7.062 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.0006327/0.7692, allocations: 0.5107 MB / 0.9165 GB, free: 6.559 MB / 0.6856 GB Notification: Performance of sort global known variables: time 1.2e-07/0.7692, allocations: 0 / 0.9165 GB, free: 6.559 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.0008856/0.7701, allocations: 295.4 kB / 0.9168 GB, free: 6.27 MB / 0.6856 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.0005026/0.7706, allocations: 211.3 kB / 0.917 GB, free: 6.07 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.0009499/0.7716, allocations: 0.6156 MB / 0.9176 GB, free: 5.453 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 4.228e-06/0.7716, allocations: 0 / 0.9176 GB, free: 5.453 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.000344/0.772, allocations: 276.4 kB / 0.9178 GB, free: 5.184 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001804/0.7738, allocations: 441.4 kB / 0.9183 GB, free: 4.758 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003031/0.7768, allocations: 2.002 MB / 0.9202 GB, free: 2.699 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006876/0.7775, allocations: 1.126 MB / 0.9213 GB, free: 1.547 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000246/0.7778, allocations: 79.42 kB / 0.9214 GB, free: 1.469 MB / 0.6856 GB Notification: Performance of SimCode: time 1.092e-06/0.7778, allocations: 0 / 0.9214 GB, free: 1.469 MB / 0.6856 GB Notification: Performance of Templates: time 0.02215/0.7999, allocations: 14.81 MB / 0.9359 GB, free: 2.785 MB / 0.7012 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)