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/BuildSysPro 3.5.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package BuildSysPro with version 3.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/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/BuildSysPro 3.5.0/package.mo): time 0.7048/0.7048, allocations: 128.7 MB / 144.5 MB, free: 1.371 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001089/0.001089, allocations: 186.5 kB / 174.2 MB, free: 5.926 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.431/1.431, allocations: 205 MB / 408.9 MB, free: 9.715 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.00097/0.0009698, allocations: 104.5 kB / 485.1 MB, free: 13.58 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001031/0.001032, allocations: 59.73 kB / 0.558 GB, free: 97.4 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1342/0.1352, allocations: 75.47 MB / 0.6317 GB, free: 33.06 MB / 442.7 MB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Sensors.Examples.TemperatureDryBulb): time 0.4658/0.6011, allocations: 193.7 MB / 0.8209 GB, free: 9.383 MB / 0.5261 GB Notification: Performance of NFInst.instExpressions: time 0.005614/0.6067, allocations: 4.557 MB / 0.8253 GB, free: 8.523 MB / 0.5261 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006843/0.6075, allocations: 18.22 kB / 0.8253 GB, free: 8.516 MB / 0.5261 GB Notification: Performance of NFTyping.typeComponents: time 0.0006097/0.6081, allocations: 196.4 kB / 0.8255 GB, free: 8.398 MB / 0.5261 GB Notification: Performance of NFTyping.typeBindings: time 0.001677/0.6098, allocations: 0.7092 MB / 0.8262 GB, free: 8.066 MB / 0.5261 GB Notification: Performance of NFTyping.typeClassSections: time 0.002969/0.6128, allocations: 1.35 MB / 0.8275 GB, free: 7.527 MB / 0.5261 GB Notification: Performance of NFFlatten.flatten: time 0.001667/0.6145, allocations: 1.804 MB / 0.8293 GB, free: 6.582 MB / 0.5261 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005325/0.615, allocations: 398.2 kB / 0.8297 GB, free: 6.348 MB / 0.5261 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008451/0.6159, allocations: 0.5378 MB / 0.8302 GB, free: 6.082 MB / 0.5261 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004442/0.6163, allocations: 430.2 kB / 0.8306 GB, free: 5.863 MB / 0.5261 GB Notification: Performance of NFPackage.collectConstants: time 6.098e-05/0.6164, allocations: 29.88 kB / 0.8306 GB, free: 5.863 MB / 0.5261 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003255/0.6197, allocations: 1.811 MB / 0.8324 GB, free: 5.016 MB / 0.5261 GB Notification: Performance of NFScalarize.scalarize: time 0.0002066/0.6199, allocations: 173.5 kB / 0.8326 GB, free: 4.902 MB / 0.5261 GB Notification: Performance of NFVerifyModel.verify: time 0.0003241/0.6202, allocations: 288 kB / 0.8329 GB, free: 4.73 MB / 0.5261 GB Notification: Performance of NFConvertDAE.convert: time 0.002261/0.6225, allocations: 1.395 MB / 0.8342 GB, free: 3.984 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 3.677e-06/0.6225, allocations: 0 / 0.8342 GB, free: 3.984 MB / 0.5261 GB Notification: Performance of FrontEnd: time 7.31e-07/0.6225, allocations: 0 / 0.8342 GB, free: 3.984 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 7.153e-06/0.6226, allocations: 4 kB / 0.8342 GB, free: 3.98 MB / 0.5261 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.001706/0.6243, allocations: 1.014 MB / 0.8352 GB, free: 3.145 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 3.637e-05/0.6243, allocations: 10.09 kB / 0.8352 GB, free: 3.145 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001801/0.6261, allocations: 275.3 kB / 0.8355 GB, free: 3.027 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000751/0.6269, allocations: 435.6 kB / 0.8359 GB, free: 2.664 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.529e-05/0.6269, allocations: 34.88 kB / 0.8359 GB, free: 2.648 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001079/0.627, allocations: 43.53 kB / 0.836 GB, free: 2.633 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009891/0.628, allocations: 0.5478 MB / 0.8365 GB, free: 2.266 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.415e-05/0.6281, allocations: 3.062 kB / 0.8365 GB, free: 2.266 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.732e-05/0.6281, allocations: 22.64 kB / 0.8365 GB, free: 2.246 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.317e-05/0.6281, allocations: 9.344 kB / 0.8365 GB, free: 2.246 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001019/0.6292, allocations: 470.5 kB / 0.837 GB, free: 2.027 MB / 0.5261 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.002709/0.6319, allocations: 2.107 MB / 0.839 GB, free: 208 kB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001037/0.6329, allocations: 460.7 kB / 0.8395 GB, free: 15.97 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004635/0.6334, allocations: 221.7 kB / 0.8397 GB, free: 15.87 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006351/0.6341, allocations: 395.9 kB / 0.8401 GB, free: 15.46 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006139/0.6347, allocations: 304.8 kB / 0.8404 GB, free: 15.27 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=35): time 2.364e-06/0.6347, allocations: 0 / 0.8404 GB, free: 15.27 MB / 0.5417 GB Notification: Performance of matching and sorting (n=35): time 0.001732/0.6364, allocations: 0.663 MB / 0.841 GB, free: 14.95 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.991e-05/0.6365, allocations: 60.45 kB / 0.8411 GB, free: 14.88 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005184/0.637, allocations: 490.7 kB / 0.8415 GB, free: 14.59 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 4.029e-05/0.6371, allocations: 35.77 kB / 0.8416 GB, free: 14.55 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001887/0.6373, allocations: 267.4 kB / 0.8418 GB, free: 14.32 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001019/0.6374, allocations: 121.6 kB / 0.8419 GB, free: 14.21 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001381/0.6375, allocations: 81.47 kB / 0.842 GB, free: 14.16 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0001715/0.6377, allocations: 367 kB / 0.8424 GB, free: 13.81 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004533/0.6382, allocations: 195.6 kB / 0.8426 GB, free: 13.72 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005146/0.6387, allocations: 295.6 kB / 0.8428 GB, free: 13.52 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009401/0.6396, allocations: 0.5309 MB / 0.8434 GB, free: 13.15 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.625e-06/0.6397, allocations: 0 / 0.8434 GB, free: 13.15 MB / 0.5417 GB Notification: Performance of matching and sorting (n=53) (initialization): time 0.001175/0.6408, allocations: 0.6332 MB / 0.844 GB, free: 12.79 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 4.708e-05/0.6409, allocations: 61.53 kB / 0.844 GB, free: 12.73 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.051e-05/0.6409, allocations: 3.984 kB / 0.844 GB, free: 12.73 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.825e-05/0.6409, allocations: 8.781 kB / 0.844 GB, free: 12.72 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004753/0.6414, allocations: 96.55 kB / 0.8441 GB, free: 12.7 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.564e-05/0.6414, allocations: 10.89 kB / 0.8441 GB, free: 12.69 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005086/0.642, allocations: 77.92 kB / 0.8442 GB, free: 12.64 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.701e-05/0.642, allocations: 20.91 kB / 0.8442 GB, free: 12.64 MB / 0.5417 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * 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 (51): * Single equations (assignments): 49 * 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.0002257/0.6422, allocations: 193.2 kB / 0.8444 GB, free: 12.48 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.538e-05/0.6423, allocations: 52.81 kB / 0.8445 GB, free: 12.45 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001242/0.6436, allocations: 0.5295 MB / 0.845 GB, free: 12.14 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.061e-06/0.6436, allocations: 4.719 kB / 0.845 GB, free: 12.14 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.304e-06/0.6436, allocations: 8 kB / 0.845 GB, free: 12.13 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.589e-06/0.6436, allocations: 0 / 0.845 GB, free: 12.13 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002207/0.6458, allocations: 1.272 MB / 0.8462 GB, free: 11.21 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.682e-06/0.6458, allocations: 8.297 kB / 0.8463 GB, free: 11.21 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004001/0.6463, allocations: 70.3 kB / 0.8463 GB, free: 11.19 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.176e-06/0.6463, allocations: 5.219 kB / 0.8463 GB, free: 11.19 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.315e-05/0.6463, allocations: 8.969 kB / 0.8463 GB, free: 11.19 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.41e-06/0.6463, allocations: 5.281 kB / 0.8463 GB, free: 11.19 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.991e-06/0.6463, allocations: 8.25 kB / 0.8463 GB, free: 11.18 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01151/0.6578, allocations: 4.471 MB / 0.8507 GB, free: 6.688 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001396/0.658, allocations: 136.3 kB / 0.8508 GB, free: 6.535 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.431e-05/0.6581, allocations: 15.94 kB / 0.8509 GB, free: 6.52 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004391/0.6586, allocations: 44.02 kB / 0.8509 GB, free: 6.477 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000138/0.6587, allocations: 39.94 kB / 0.8509 GB, free: 6.438 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.349e-05/0.6587, allocations: 23.88 kB / 0.851 GB, free: 6.414 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.0004714/0.6592, allocations: 350.8 kB / 0.8513 GB, free: 6.074 MB / 0.5417 GB Notification: Performance of sort global known variables: time 2.71e-07/0.6592, allocations: 0 / 0.8513 GB, free: 6.074 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.0007852/0.66, allocations: 215.8 kB / 0.8515 GB, free: 5.863 MB / 0.5417 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 13 * 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 (35): * Single equations (assignments): 31 * 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.0004732/0.6605, allocations: 194.3 kB / 0.8517 GB, free: 5.68 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.001181/0.6617, allocations: 0.5608 MB / 0.8522 GB, free: 5.094 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 3.557e-06/0.6617, allocations: 0 / 0.8522 GB, free: 5.094 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.000627/0.6623, allocations: 276.6 kB / 0.8525 GB, free: 4.824 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001415/0.6638, allocations: 275.8 kB / 0.8528 GB, free: 4.559 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002002/0.6658, allocations: 1.425 MB / 0.8542 GB, free: 3.062 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004099/0.6662, allocations: 0.8665 MB / 0.855 GB, free: 2.164 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.0004882/0.6667, allocations: 124.6 kB / 0.8551 GB, free: 2.039 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001526/0.6669, allocations: 43.42 kB / 0.8552 GB, free: 2 MB / 0.5417 GB Notification: Performance of SimCode: time 4.81e-07/0.6669, allocations: 0 / 0.8552 GB, free: 2 MB / 0.5417 GB Notification: Performance of Templates: time 0.01828/0.6852, allocations: 10.75 MB / 0.8657 GB, free: 7.402 MB / 0.5573 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)