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.004933/0.004933, allocations: 101.4 kB / 15.88 MB, free: 5.867 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.00111/0.00111, allocations: 192.3 kB / 16.79 MB, free: 5.809 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.317/1.317, allocations: 222.9 MB / 240.5 MB, free: 4.57 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.9711/0.9711, allocations: 143 MB / 433.7 MB, free: 11.5 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00119/0.00119, allocations: 63.91 kB / 0.5142 GB, free: 12.13 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1607/0.1619, allocations: 82.03 MB / 0.5943 GB, free: 10.07 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Sensors.Examples.TemperatureDryBulb): time 0.451/0.6129, allocations: 179.6 MB / 0.7697 GB, free: 10.18 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.006127/0.6191, allocations: 4.483 MB / 0.774 GB, free: 5.691 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007192/0.6199, allocations: 19.88 kB / 0.7741 GB, free: 5.672 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.0006906/0.6206, allocations: 194.7 kB / 0.7742 GB, free: 5.48 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.001763/0.6224, allocations: 0.7117 MB / 0.7749 GB, free: 4.766 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.003244/0.6256, allocations: 1.398 MB / 0.7763 GB, free: 3.367 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.001649/0.6273, allocations: 1.687 MB / 0.7779 GB, free: 1.676 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005415/0.6279, allocations: 382.2 kB / 0.7783 GB, free: 1.305 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009547/0.6288, allocations: 0.5213 MB / 0.7788 GB, free: 0.7812 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004578/0.6293, allocations: 426.2 kB / 0.7792 GB, free: 372 kB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 6.864e-05/0.6294, allocations: 32 kB / 0.7793 GB, free: 340 kB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002931/0.6323, allocations: 1.804 MB / 0.781 GB, free: 14.52 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0001962/0.6325, allocations: 179.2 kB / 0.7812 GB, free: 14.35 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0003021/0.6328, allocations: 282.5 kB / 0.7815 GB, free: 14.07 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.001178/0.634, allocations: 0.9239 MB / 0.7824 GB, free: 13.14 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.198e-06/0.634, allocations: 0 / 0.7824 GB, free: 13.14 MB / 0.6075 GB Notification: Performance of FrontEnd: time 9.52e-07/0.634, allocations: 4 kB / 0.7824 GB, free: 13.14 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 8.506e-06/0.6341, allocations: 0 / 0.7824 GB, free: 13.14 MB / 0.6075 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.00171/0.6358, allocations: 1.021 MB / 0.7834 GB, free: 12.06 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.021e-05/0.6358, allocations: 8.031 kB / 0.7834 GB, free: 12.05 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002066/0.6379, allocations: 286.9 kB / 0.7836 GB, free: 11.77 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007035/0.6386, allocations: 449.3 kB / 0.7841 GB, free: 11.29 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.345e-05/0.6387, allocations: 37 kB / 0.7841 GB, free: 11.26 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.212e-05/0.6388, allocations: 43.98 kB / 0.7841 GB, free: 11.21 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009872/0.6397, allocations: 0.5468 MB / 0.7847 GB, free: 10.64 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.342e-05/0.6398, allocations: 0 / 0.7847 GB, free: 10.64 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.646e-05/0.6398, allocations: 16 kB / 0.7847 GB, free: 10.62 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.409e-05/0.6398, allocations: 15.94 kB / 0.7847 GB, free: 10.61 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001016/0.6409, allocations: 459.5 kB / 0.7852 GB, free: 10.15 MB / 0.6075 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.00258/0.6435, allocations: 2.116 MB / 0.7872 GB, free: 7.902 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009684/0.6444, allocations: 415 kB / 0.7876 GB, free: 7.488 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004723/0.6449, allocations: 220.7 kB / 0.7878 GB, free: 7.27 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006904/0.6456, allocations: 408.2 kB / 0.7882 GB, free: 6.797 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006181/0.6463, allocations: 285.6 kB / 0.7885 GB, free: 6.508 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=37): time 2.535e-06/0.6463, allocations: 4 kB / 0.7885 GB, free: 6.504 MB / 0.6075 GB Notification: Performance of matching and sorting (n=37): time 0.001836/0.6481, allocations: 0.6903 MB / 0.7892 GB, free: 5.809 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.616e-05/0.6482, allocations: 55.41 kB / 0.7892 GB, free: 5.742 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005558/0.6487, allocations: 0.4902 MB / 0.7897 GB, free: 5.242 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 5.27e-05/0.6488, allocations: 33.7 kB / 0.7897 GB, free: 5.203 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001883/0.649, allocations: 256.1 kB / 0.79 GB, free: 4.949 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001044/0.6491, allocations: 134.2 kB / 0.7901 GB, free: 4.816 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001579/0.6493, allocations: 90.12 kB / 0.7902 GB, free: 4.723 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001303/0.6494, allocations: 358.8 kB / 0.7905 GB, free: 4.363 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004707/0.6499, allocations: 200.8 kB / 0.7907 GB, free: 4.168 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005571/0.6504, allocations: 312 kB / 0.791 GB, free: 3.824 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009648/0.6514, allocations: 0.5423 MB / 0.7915 GB, free: 3.23 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.507e-06/0.6514, allocations: 4 kB / 0.7915 GB, free: 3.227 MB / 0.6075 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.001258/0.6527, allocations: 0.6515 MB / 0.7922 GB, free: 2.559 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 4.758e-05/0.6528, allocations: 59.78 kB / 0.7922 GB, free: 2.488 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.947e-06/0.6528, allocations: 4 kB / 0.7922 GB, free: 2.484 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.862e-05/0.6528, allocations: 8 kB / 0.7923 GB, free: 2.477 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004649/0.6533, allocations: 91.88 kB / 0.7923 GB, free: 2.387 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.403e-05/0.6533, allocations: 11.94 kB / 0.7924 GB, free: 2.375 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005745/0.6539, allocations: 87.38 kB / 0.7924 GB, free: 2.289 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.347e-05/0.6539, allocations: 20 kB / 0.7925 GB, free: 2.27 MB / 0.6075 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.0002347/0.6542, allocations: 193.7 kB / 0.7926 GB, free: 2.07 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.483e-05/0.6543, allocations: 55.28 kB / 0.7927 GB, free: 2.016 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001174/0.6554, allocations: 0.5357 MB / 0.7932 GB, free: 1.469 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.127e-06/0.6555, allocations: 4 kB / 0.7932 GB, free: 1.465 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.28e-06/0.6555, allocations: 4 kB / 0.7932 GB, free: 1.461 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.312e-06/0.6555, allocations: 7.922 kB / 0.7932 GB, free: 1.453 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002184/0.6577, allocations: 1.35 MB / 0.7945 GB, free: 8 kB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.792e-06/0.6577, allocations: 3.938 kB / 0.7946 GB, free: 8 kB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004422/0.6581, allocations: 87.75 kB / 0.7946 GB, free: 15.92 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.495e-06/0.6582, allocations: 4.438 kB / 0.7946 GB, free: 15.92 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.379e-05/0.6582, allocations: 16 kB / 0.7947 GB, free: 15.9 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.053e-06/0.6582, allocations: 7.938 kB / 0.7947 GB, free: 15.89 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.837e-06/0.6582, allocations: 4 kB / 0.7947 GB, free: 15.89 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001615/0.6598, allocations: 0.9367 MB / 0.7956 GB, free: 14.89 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002402/0.6601, allocations: 172.2 kB / 0.7957 GB, free: 14.7 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.664e-05/0.6602, allocations: 15.98 kB / 0.7958 GB, free: 14.69 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004677/0.6607, allocations: 44.02 kB / 0.7958 GB, free: 14.64 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001289/0.6608, allocations: 51.81 kB / 0.7959 GB, free: 14.59 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.408e-05/0.6608, allocations: 20 kB / 0.7959 GB, free: 14.57 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0003976/0.6612, allocations: 342.8 kB / 0.7962 GB, free: 14.24 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.61e-07/0.6612, allocations: 0 / 0.7962 GB, free: 14.24 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0005948/0.6618, allocations: 155.8 kB / 0.7963 GB, free: 14.09 MB / 0.6231 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.0004479/0.6623, allocations: 194.6 kB / 0.7965 GB, free: 13.9 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.001174/0.6635, allocations: 0.5691 MB / 0.7971 GB, free: 13.31 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 4.248e-06/0.6635, allocations: 4.188 kB / 0.7971 GB, free: 13.3 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0005759/0.6641, allocations: 263.6 kB / 0.7973 GB, free: 13.05 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001326/0.6654, allocations: 281 kB / 0.7976 GB, free: 12.77 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001909/0.6673, allocations: 1.247 MB / 0.7988 GB, free: 11.46 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004025/0.6678, allocations: 0.8668 MB / 0.7997 GB, free: 10.57 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001935/0.668, allocations: 47.44 kB / 0.7997 GB, free: 10.52 MB / 0.6231 GB Notification: Performance of SimCode: time 3.01e-07/0.668, allocations: 0 / 0.7997 GB, free: 10.52 MB / 0.6231 GB Notification: Performance of Templates: time 0.01275/0.6807, allocations: 9.042 MB / 0.8086 GB, free: 1.605 MB / 0.6231 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)