Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.TemperatureDryBulb.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.TemperatureDryBulb,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.TemperatureDryBulb") translateModel(BuildSysPro.IBPSA.Fluid.Sensors.Examples.TemperatureDryBulb,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.TemperatureDryBulb") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.005894/0.005894, allocations: 107.1 kB / 15.74 MB, free: 5.582 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.001058/0.001058, allocations: 197.1 kB / 16.67 MB, free: 5.508 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.366/1.366, allocations: 222.9 MB / 240.4 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.9426/0.9426, allocations: 143 MB / 433.6 MB, free: 11.95 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001194/0.001194, allocations: 68.16 kB / 0.5955 GB, free: 12.23 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1529/0.1541, allocations: 82.03 MB / 0.6756 GB, free: 10.29 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Sensors.Examples.TemperatureDryBulb): time 0.5808/0.735, allocations: 181.9 MB / 0.8532 GB, free: 6.738 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.005587/0.7406, allocations: 4.457 MB / 0.8576 GB, free: 3.113 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005685/0.7412, allocations: 20.44 kB / 0.8576 GB, free: 3.105 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.0006306/0.7419, allocations: 243.3 kB / 0.8578 GB, free: 2.891 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.001774/0.7437, allocations: 0.7612 MB / 0.8586 GB, free: 2.293 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.00332/0.747, allocations: 1.527 MB / 0.8601 GB, free: 0.8711 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.00129/0.7483, allocations: 1.259 MB / 0.8613 GB, free: 15.61 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005784/0.7489, allocations: 449.3 kB / 0.8617 GB, free: 15.16 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001099/0.75, allocations: 0.5799 MB / 0.8623 GB, free: 14.57 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005204/0.7506, allocations: 410.2 kB / 0.8627 GB, free: 14.17 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 8.697e-05/0.7507, allocations: 51.98 kB / 0.8627 GB, free: 14.12 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00341/0.7541, allocations: 1.535 MB / 0.8642 GB, free: 12.58 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.0002269/0.7543, allocations: 195.4 kB / 0.8644 GB, free: 12.39 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.0003484/0.7547, allocations: 302.5 kB / 0.8647 GB, free: 12.09 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.002169/0.7569, allocations: 1.34 MB / 0.866 GB, free: 10.75 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 5.13e-06/0.7569, allocations: 0 / 0.866 GB, free: 10.75 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.523e-06/0.7569, allocations: 4 kB / 0.866 GB, free: 10.75 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 8.746e-06/0.7569, allocations: 0 / 0.866 GB, free: 10.75 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: 100 * Number of variables: 100 Notification: Performance of Generate backend data structure: time 0.00166/0.7586, allocations: 1.01 MB / 0.867 GB, free: 9.676 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 3.905e-05/0.7586, allocations: 12.03 kB / 0.867 GB, free: 9.664 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001963/0.7606, allocations: 282.9 kB / 0.8673 GB, free: 9.387 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007631/0.7614, allocations: 473.4 kB / 0.8678 GB, free: 8.883 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.824e-05/0.7614, allocations: 29 kB / 0.8678 GB, free: 8.855 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.916e-05/0.7615, allocations: 48 kB / 0.8678 GB, free: 8.809 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009557/0.7624, allocations: 0.5468 MB / 0.8684 GB, free: 8.223 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.444e-05/0.7625, allocations: 3.938 kB / 0.8684 GB, free: 8.219 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.603e-05/0.7625, allocations: 19.98 kB / 0.8684 GB, free: 8.199 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.081e-05/0.7625, allocations: 15.94 kB / 0.8684 GB, free: 8.184 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001015/0.7636, allocations: 459.5 kB / 0.8688 GB, free: 7.738 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.002375/0.7659, allocations: 2.116 MB / 0.8709 GB, free: 5.488 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009532/0.7669, allocations: 414.3 kB / 0.8713 GB, free: 5.074 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004685/0.7674, allocations: 216.7 kB / 0.8715 GB, free: 4.859 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006751/0.7681, allocations: 408.2 kB / 0.8719 GB, free: 4.387 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005905/0.7687, allocations: 290.8 kB / 0.8722 GB, free: 4.09 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=37): time 2.214e-06/0.7687, allocations: 0 / 0.8722 GB, free: 4.09 MB / 0.6387 GB Notification: Performance of matching and sorting (n=37): time 0.001726/0.7704, allocations: 0.6855 MB / 0.8728 GB, free: 3.398 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.055e-05/0.7705, allocations: 63.41 kB / 0.8729 GB, free: 3.324 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005491/0.771, allocations: 494 kB / 0.8734 GB, free: 2.828 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 4.457e-05/0.7711, allocations: 37.7 kB / 0.8734 GB, free: 2.785 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001784/0.7713, allocations: 256.1 kB / 0.8737 GB, free: 2.531 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 9.974e-05/0.7714, allocations: 126.3 kB / 0.8738 GB, free: 2.406 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001835/0.7716, allocations: 90.03 kB / 0.8739 GB, free: 2.312 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001373/0.7717, allocations: 362.8 kB / 0.8742 GB, free: 1.949 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004808/0.7722, allocations: 204.8 kB / 0.8744 GB, free: 1.75 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005565/0.7728, allocations: 316 kB / 0.8747 GB, free: 1.402 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009677/0.7737, allocations: 0.5409 MB / 0.8752 GB, free: 0.8086 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.296e-06/0.7738, allocations: 0 / 0.8752 GB, free: 0.8086 MB / 0.6387 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.001222/0.775, allocations: 0.6483 MB / 0.8759 GB, free: 144 kB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 5.376e-05/0.775, allocations: 63.34 kB / 0.8759 GB, free: 68 kB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.191e-05/0.7751, allocations: 7.625 kB / 0.8759 GB, free: 64 kB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.867e-05/0.7751, allocations: 4 kB / 0.8759 GB, free: 60 kB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004822/0.7756, allocations: 99.88 kB / 0.876 GB, free: 15.96 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.062e-05/0.7756, allocations: 4.25 kB / 0.876 GB, free: 15.95 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005334/0.7761, allocations: 87.31 kB / 0.8761 GB, free: 15.87 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.125e-05/0.7762, allocations: 23.98 kB / 0.8761 GB, free: 15.85 MB / 0.6544 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 10 (m_flow2.count,$PRE.m_flow2.count,m_flow2.T_start,$PRE.m_flow2.T_start,m_flow1.count,$PRE.m_flow1.count,m_flow1.T_start,$PRE.m_flow1.T_start,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (53): * Single equations (assignments): 51 * Array equations: 0 * Algorithm blocks: 2 * 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.0002435/0.7765, allocations: 193 kB / 0.8763 GB, free: 15.65 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.085e-05/0.7765, allocations: 59.28 kB / 0.8764 GB, free: 15.59 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001185/0.7777, allocations: 0.5334 MB / 0.8769 GB, free: 15.05 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.251e-06/0.7778, allocations: 4 kB / 0.8769 GB, free: 15.05 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.6e-06/0.7778, allocations: 0 / 0.8769 GB, free: 15.05 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.06e-06/0.7778, allocations: 0 / 0.8769 GB, free: 15.05 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002216/0.78, allocations: 1.353 MB / 0.8782 GB, free: 13.6 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.96e-06/0.78, allocations: 4 kB / 0.8782 GB, free: 13.59 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003951/0.7804, allocations: 76.27 kB / 0.8783 GB, free: 13.52 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.113e-05/0.7804, allocations: 8 kB / 0.8783 GB, free: 13.51 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.156e-05/0.7805, allocations: 23.86 kB / 0.8783 GB, free: 13.49 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.694e-06/0.7805, allocations: 8.5 kB / 0.8783 GB, free: 13.48 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.198e-06/0.7805, allocations: 4 kB / 0.8783 GB, free: 13.48 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001631/0.7821, allocations: 0.9249 MB / 0.8792 GB, free: 12.49 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002476/0.7824, allocations: 176.3 kB / 0.8794 GB, free: 12.3 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.993e-05/0.7825, allocations: 8 kB / 0.8794 GB, free: 12.29 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004342/0.7829, allocations: 36.52 kB / 0.8795 GB, free: 12.25 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00013/0.783, allocations: 51.83 kB / 0.8795 GB, free: 12.2 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.858e-05/0.7831, allocations: 15.98 kB / 0.8795 GB, free: 12.19 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0003828/0.7835, allocations: 350.9 kB / 0.8799 GB, free: 11.85 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.7e-07/0.7835, allocations: 0 / 0.8799 GB, free: 11.85 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0005758/0.7841, allocations: 143.8 kB / 0.88 GB, free: 11.71 MB / 0.6544 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 15 * Number of states: 2 (temDyn.T,temDynLoss.T) * Number of discrete variables: 6 ($whenCondition2,$whenCondition1,m_flow1.T_start,m_flow1.count,m_flow2.T_start,m_flow2.count) * Number of discrete states: 2 (m_flow2.count,m_flow1.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (37): * Single equations (assignments): 33 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.000451/0.7845, allocations: 211.5 kB / 0.8802 GB, free: 11.5 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.001165/0.7857, allocations: 0.5871 MB / 0.8808 GB, free: 10.89 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.535e-06/0.7857, allocations: 4.062 kB / 0.8808 GB, free: 10.89 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0006463/0.7864, allocations: 291.5 kB / 0.8811 GB, free: 10.61 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001381/0.7878, allocations: 287.7 kB / 0.8813 GB, free: 10.34 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001743/0.7895, allocations: 1.038 MB / 0.8823 GB, free: 9.227 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000393/0.7899, allocations: 0.8665 MB / 0.8832 GB, free: 8.332 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.0004/0.7903, allocations: 132.7 kB / 0.8833 GB, free: 8.203 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001379/0.7905, allocations: 39.44 kB / 0.8833 GB, free: 8.164 MB / 0.6544 GB Notification: Performance of SimCode: time 5.41e-07/0.7905, allocations: 0 / 0.8833 GB, free: 8.164 MB / 0.6544 GB Notification: Performance of Templates: time 0.01753/0.808, allocations: 11.1 MB / 0.8942 GB, free: 13.23 MB / 0.67 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.TemperatureDryBulb.makefile (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.TemperatureDryBulb.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.TemperatureDryBulb.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.TemperatureDryBulb.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.TemperatureDryBulb.sim & ./BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.TemperatureDryBulb -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.TemperatureDryBulb.pipe 2>&1)