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.5.0-master/package.mo", uses=false) Using package BuildSysPro with version 3.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.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.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.001236/0.001236, allocations: 98.77 kB / 15.05 MB, free: 1.105 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.001439/0.001439, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.325/1.325, allocations: 223.2 MB / 239.9 MB, free: 5.25 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0-master/package.mo): time 1.076/1.076, allocations: 143.3 MB / 434.3 MB, free: 13.57 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004274/0.0004275, allocations: 11.98 kB / 0.5158 GB, free: 11.27 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1719/0.1724, allocations: 83.41 MB / 0.5973 GB, free: 7.805 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Sensors.Examples.TemperatureDryBulb): time 0.4047/0.5771, allocations: 151.4 MB / 0.7452 GB, free: 3.258 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.006021/0.5832, allocations: 4.125 MB / 0.7492 GB, free: 15.54 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006763/0.5839, allocations: 15.88 kB / 0.7492 GB, free: 15.52 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.001121/0.585, allocations: 282.3 kB / 0.7495 GB, free: 15.32 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.00196/0.587, allocations: 0.5819 MB / 0.75 GB, free: 14.84 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.003368/0.5904, allocations: 0.9786 MB / 0.751 GB, free: 14.08 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.001402/0.5918, allocations: 0.7393 MB / 0.7517 GB, free: 13.44 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005739/0.5924, allocations: 363.7 kB / 0.7521 GB, free: 13.17 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001813/0.5942, allocations: 0.6572 MB / 0.7527 GB, free: 12.62 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004485/0.5947, allocations: 281.3 kB / 0.753 GB, free: 12.39 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 6.782e-05/0.5947, allocations: 28 kB / 0.753 GB, free: 12.36 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002063/0.5968, allocations: 0.5968 MB / 0.7536 GB, free: 11.85 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0001976/0.597, allocations: 154.1 kB / 0.7537 GB, free: 11.74 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.000186/0.5972, allocations: 133.4 kB / 0.7539 GB, free: 11.6 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.001035/0.5983, allocations: 0.6583 MB / 0.7545 GB, free: 11.07 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 2.735e-06/0.5983, allocations: 0 / 0.7545 GB, free: 11.07 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.673e-06/0.5983, allocations: 0 / 0.7545 GB, free: 11.07 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 9.969e-06/0.5983, allocations: 0 / 0.7545 GB, free: 11.07 MB / 0.5762 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.001623/0.5999, allocations: 0.8926 MB / 0.7554 GB, free: 10.11 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.613e-05/0.6, allocations: 12.03 kB / 0.7554 GB, free: 10.1 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002014/0.602, allocations: 299.4 kB / 0.7557 GB, free: 9.809 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007295/0.6027, allocations: 425.8 kB / 0.7561 GB, free: 9.352 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.59e-05/0.6028, allocations: 36.95 kB / 0.7561 GB, free: 9.316 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.246e-05/0.6029, allocations: 43.94 kB / 0.7562 GB, free: 9.273 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001014/0.6039, allocations: 0.5624 MB / 0.7567 GB, free: 8.68 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.211e-05/0.6039, allocations: 4 kB / 0.7567 GB, free: 8.676 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.699e-05/0.604, allocations: 16.5 kB / 0.7567 GB, free: 8.66 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.948e-06/0.604, allocations: 8 kB / 0.7567 GB, free: 8.652 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001058/0.605, allocations: 487.5 kB / 0.7572 GB, free: 8.172 MB / 0.5762 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.002505/0.6076, allocations: 2.131 MB / 0.7593 GB, free: 5.91 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00103/0.6086, allocations: 459 kB / 0.7597 GB, free: 5.453 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004215/0.609, allocations: 133 kB / 0.7598 GB, free: 5.305 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006449/0.6097, allocations: 327.8 kB / 0.7602 GB, free: 4.969 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=37): time 1.904e-06/0.6097, allocations: 4 kB / 0.7602 GB, free: 4.965 MB / 0.5762 GB Notification: Performance of matching and sorting (n=37): time 0.001899/0.6116, allocations: 0.7415 MB / 0.7609 GB, free: 4.219 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.991e-05/0.6117, allocations: 85.09 kB / 0.761 GB, free: 4.117 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005857/0.6123, allocations: 490.1 kB / 0.7614 GB, free: 3.629 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 4.525e-05/0.6123, allocations: 29.7 kB / 0.7615 GB, free: 3.594 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001817/0.6125, allocations: 268.1 kB / 0.7617 GB, free: 3.328 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 9.999e-05/0.6126, allocations: 126.2 kB / 0.7618 GB, free: 3.203 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.123e-05/0.6127, allocations: 8 kB / 0.7618 GB, free: 3.195 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001491/0.6128, allocations: 362.8 kB / 0.7622 GB, free: 2.832 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004964/0.6133, allocations: 216.8 kB / 0.7624 GB, free: 2.621 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005764/0.6139, allocations: 329.2 kB / 0.7627 GB, free: 2.262 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005454/0.6145, allocations: 292.3 kB / 0.763 GB, free: 1.965 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.309e-06/0.6145, allocations: 0 / 0.763 GB, free: 1.965 MB / 0.5762 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.001287/0.6158, allocations: 0.6841 MB / 0.7637 GB, free: 1.266 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 4.631e-05/0.6158, allocations: 67.33 kB / 0.7637 GB, free: 1.188 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.456e-06/0.6158, allocations: 4.625 kB / 0.7637 GB, free: 1.184 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.504e-05/0.6159, allocations: 4 kB / 0.7637 GB, free: 1.18 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000491/0.6164, allocations: 112.6 kB / 0.7638 GB, free: 1.07 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.014e-05/0.6164, allocations: 4 kB / 0.7638 GB, free: 1.066 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005685/0.617, allocations: 99.33 kB / 0.7639 GB, free: 0.9688 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.125e-05/0.617, allocations: 23.98 kB / 0.764 GB, free: 0.9453 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition2,$whenCondition1,$PRE.m_flow1.T_start,m_flow1.T_start,$PRE.m_flow1.count,m_flow1.count,$PRE.m_flow2.T_start,m_flow2.T_start,$PRE.m_flow2.count,m_flow2.count) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002337/0.6173, allocations: 189.7 kB / 0.7641 GB, free: 0.75 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.838e-05/0.6173, allocations: 55.3 kB / 0.7642 GB, free: 0.6953 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001088/0.6184, allocations: 0.5243 MB / 0.7647 GB, free: 164 kB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.793e-06/0.6184, allocations: 5.75 kB / 0.7647 GB, free: 160 kB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.589e-06/0.6185, allocations: 4 kB / 0.7647 GB, free: 156 kB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.033e-06/0.6185, allocations: 3.984 kB / 0.7647 GB, free: 152 kB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002288/0.6208, allocations: 1.476 MB / 0.7662 GB, free: 14.56 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.811e-06/0.6208, allocations: 4 kB / 0.7662 GB, free: 14.56 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004168/0.6212, allocations: 87.88 kB / 0.7662 GB, free: 14.47 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.031e-05/0.6212, allocations: 11.95 kB / 0.7663 GB, free: 14.46 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.416e-05/0.6213, allocations: 12 kB / 0.7663 GB, free: 14.45 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.885e-06/0.6213, allocations: 11.92 kB / 0.7663 GB, free: 14.44 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.927e-06/0.6213, allocations: 8 kB / 0.7663 GB, free: 14.43 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001826/0.6231, allocations: 1.241 MB / 0.7675 GB, free: 13 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002242/0.6234, allocations: 172.3 kB / 0.7677 GB, free: 12.81 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.469e-05/0.6234, allocations: 15.98 kB / 0.7677 GB, free: 12.79 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005012/0.624, allocations: 59.39 kB / 0.7677 GB, free: 12.74 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001198/0.6241, allocations: 51.83 kB / 0.7678 GB, free: 12.69 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.353e-05/0.6241, allocations: 16 kB / 0.7678 GB, free: 12.67 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0003966/0.6245, allocations: 346.8 kB / 0.7681 GB, free: 12.34 MB / 0.5919 GB Notification: Performance of sort global known variables: time 3.21e-07/0.6245, allocations: 4 kB / 0.7681 GB, free: 12.33 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0006863/0.6252, allocations: 147.8 kB / 0.7683 GB, free: 12.19 MB / 0.5919 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 20 * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005189/0.6258, allocations: 204.4 kB / 0.7685 GB, free: 11.99 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.001264/0.627, allocations: 0.6068 MB / 0.7691 GB, free: 11.36 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 5.741e-06/0.6271, allocations: 7.938 kB / 0.7691 GB, free: 11.36 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0007073/0.6278, allocations: 325.1 kB / 0.7694 GB, free: 11.04 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001277/0.6291, allocations: 268.9 kB / 0.7696 GB, free: 10.77 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001905/0.631, allocations: 1.259 MB / 0.7709 GB, free: 9.441 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004288/0.6314, allocations: 0.8746 MB / 0.7717 GB, free: 8.539 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0004908/0.6319, allocations: 126.1 kB / 0.7718 GB, free: 8.414 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001424/0.6321, allocations: 47.42 kB / 0.7719 GB, free: 8.371 MB / 0.5919 GB Notification: Performance of SimCode: time 6.42e-07/0.6321, allocations: 0 / 0.7719 GB, free: 8.371 MB / 0.5919 GB Notification: Performance of Templates: time 0.01639/0.6485, allocations: 9.867 MB / 0.7815 GB, free: 14.7 MB / 0.6075 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.TemperatureDryBulb.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: