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.001464/0.001464, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001756/0.001756, allocations: 194.7 kB / 16.14 MB, free: 6.668 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.344/1.344, allocations: 222.9 MB / 239.8 MB, free: 4.59 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.9929/0.9929, allocations: 143 MB / 433 MB, free: 11.51 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00119/0.00119, allocations: 59.91 kB / 0.5135 GB, free: 12.14 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1666/0.1678, allocations: 82.04 MB / 0.5936 GB, free: 10.07 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Sensors.Examples.TemperatureDryBulb): time 0.4878/0.6556, allocations: 179.6 MB / 0.769 GB, free: 10.14 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.005868/0.6615, allocations: 4.487 MB / 0.7734 GB, free: 5.645 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000593/0.6621, allocations: 19.88 kB / 0.7734 GB, free: 5.625 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.0005875/0.6627, allocations: 194.7 kB / 0.7736 GB, free: 5.434 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.001684/0.6644, allocations: 0.7156 MB / 0.7743 GB, free: 4.715 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.003218/0.6677, allocations: 1.4 MB / 0.7756 GB, free: 3.316 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.001602/0.6693, allocations: 1.691 MB / 0.7773 GB, free: 1.621 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004977/0.6698, allocations: 378.2 kB / 0.7777 GB, free: 1.254 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008533/0.6707, allocations: 0.5174 MB / 0.7782 GB, free: 0.7344 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004639/0.6711, allocations: 426.2 kB / 0.7786 GB, free: 324 kB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 6.691e-05/0.6712, allocations: 32 kB / 0.7786 GB, free: 292 kB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002821/0.674, allocations: 1.808 MB / 0.7804 GB, free: 14.47 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0001811/0.6742, allocations: 167.4 kB / 0.7805 GB, free: 14.31 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0002752/0.6745, allocations: 286.5 kB / 0.7808 GB, free: 14.03 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.001874/0.6764, allocations: 1.41 MB / 0.7822 GB, free: 12.61 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.787e-06/0.6764, allocations: 0 / 0.7822 GB, free: 12.61 MB / 0.6075 GB Notification: Performance of FrontEnd: time 8.81e-07/0.6764, allocations: 0 / 0.7822 GB, free: 12.61 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 9.668e-06/0.6764, allocations: 0 / 0.7822 GB, free: 12.61 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.001583/0.678, allocations: 1.017 MB / 0.7832 GB, free: 11.54 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.362e-05/0.6781, allocations: 8.031 kB / 0.7832 GB, free: 11.53 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002032/0.6801, allocations: 294.8 kB / 0.7835 GB, free: 11.24 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000676/0.6808, allocations: 441.5 kB / 0.7839 GB, free: 10.77 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.683e-05/0.6808, allocations: 37 kB / 0.7839 GB, free: 10.73 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.151e-05/0.6809, allocations: 40 kB / 0.7839 GB, free: 10.69 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001005/0.6819, allocations: 0.5507 MB / 0.7845 GB, free: 10.11 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.479e-05/0.6819, allocations: 7.938 kB / 0.7845 GB, free: 10.1 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.366e-05/0.682, allocations: 19.94 kB / 0.7845 GB, free: 10.08 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.138e-05/0.682, allocations: 11.94 kB / 0.7845 GB, free: 10.07 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001029/0.683, allocations: 455.6 kB / 0.785 GB, free: 9.621 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.002389/0.6854, allocations: 2.127 MB / 0.787 GB, free: 7.359 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009498/0.6864, allocations: 399.1 kB / 0.7874 GB, free: 6.961 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004853/0.6869, allocations: 224.7 kB / 0.7876 GB, free: 6.738 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000688/0.6876, allocations: 404.3 kB / 0.788 GB, free: 6.27 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006172/0.6882, allocations: 297.6 kB / 0.7883 GB, free: 5.969 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=37): time 1.753e-06/0.6882, allocations: 0 / 0.7883 GB, free: 5.969 MB / 0.6075 GB Notification: Performance of matching and sorting (n=37): time 0.001707/0.69, allocations: 0.6864 MB / 0.789 GB, free: 5.277 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.175e-05/0.69, allocations: 55.41 kB / 0.789 GB, free: 5.211 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005229/0.6905, allocations: 498 kB / 0.7895 GB, free: 4.715 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 4.858e-05/0.6906, allocations: 37.7 kB / 0.7895 GB, free: 4.672 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001762/0.6908, allocations: 256.1 kB / 0.7898 GB, free: 4.418 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 9.798e-05/0.6909, allocations: 126.2 kB / 0.7899 GB, free: 4.293 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001556/0.691, allocations: 90.12 kB / 0.79 GB, free: 4.199 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001378/0.6912, allocations: 366.8 kB / 0.7903 GB, free: 3.832 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004869/0.6917, allocations: 196.8 kB / 0.7905 GB, free: 3.641 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005619/0.6922, allocations: 320.1 kB / 0.7908 GB, free: 3.289 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009625/0.6932, allocations: 0.5422 MB / 0.7914 GB, free: 2.695 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.404e-06/0.6932, allocations: 0 / 0.7914 GB, free: 2.695 MB / 0.6075 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.00122/0.6944, allocations: 0.6477 MB / 0.792 GB, free: 2.031 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 4.402e-05/0.6945, allocations: 63.39 kB / 0.7921 GB, free: 1.957 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.116e-06/0.6945, allocations: 4 kB / 0.7921 GB, free: 1.953 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.297e-05/0.6945, allocations: 4.375 kB / 0.7921 GB, free: 1.949 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004557/0.695, allocations: 103.8 kB / 0.7922 GB, free: 1.848 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.197e-06/0.695, allocations: 4 kB / 0.7922 GB, free: 1.844 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005388/0.6956, allocations: 83.39 kB / 0.7922 GB, free: 1.762 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.975e-05/0.6956, allocations: 23.98 kB / 0.7923 GB, free: 1.738 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.0002074/0.6958, allocations: 194.2 kB / 0.7924 GB, free: 1.539 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.281e-05/0.6959, allocations: 59.28 kB / 0.7925 GB, free: 1.48 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001156/0.6971, allocations: 0.5343 MB / 0.793 GB, free: 0.9375 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.851e-06/0.6971, allocations: 8 kB / 0.793 GB, free: 0.9297 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.14e-06/0.6971, allocations: 0 / 0.793 GB, free: 0.9297 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.037e-06/0.6971, allocations: 0 / 0.793 GB, free: 0.9297 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002119/0.6992, allocations: 1.353 MB / 0.7944 GB, free: 15.48 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.93e-06/0.6992, allocations: 4 kB / 0.7944 GB, free: 15.48 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004197/0.6997, allocations: 79.77 kB / 0.7944 GB, free: 15.4 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.307e-06/0.6997, allocations: 11.98 kB / 0.7944 GB, free: 15.39 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.522e-05/0.6997, allocations: 11.98 kB / 0.7945 GB, free: 15.38 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.244e-06/0.6997, allocations: 12.38 kB / 0.7945 GB, free: 15.36 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.858e-06/0.6998, allocations: 0.625 kB / 0.7945 GB, free: 15.36 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001619/0.7014, allocations: 0.9367 MB / 0.7954 GB, free: 14.36 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002095/0.7016, allocations: 180.2 kB / 0.7956 GB, free: 14.17 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.843e-05/0.7017, allocations: 15.98 kB / 0.7956 GB, free: 14.15 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000475/0.7022, allocations: 47.95 kB / 0.7956 GB, free: 14.11 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000129/0.7023, allocations: 44.77 kB / 0.7957 GB, free: 14.06 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.272e-05/0.7024, allocations: 15.98 kB / 0.7957 GB, free: 14.05 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0003935/0.7028, allocations: 346.8 kB / 0.796 GB, free: 13.71 MB / 0.6231 GB Notification: Performance of sort global known variables: time 2.11e-07/0.7028, allocations: 4 kB / 0.796 GB, free: 13.71 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0005798/0.7033, allocations: 151.8 kB / 0.7962 GB, free: 13.56 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.0004206/0.7038, allocations: 203.9 kB / 0.7964 GB, free: 13.36 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.001151/0.7049, allocations: 0.5774 MB / 0.7969 GB, free: 12.76 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/0.705, allocations: 0 / 0.7969 GB, free: 12.76 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0006637/0.7056, allocations: 288.9 kB / 0.7972 GB, free: 12.48 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00134/0.707, allocations: 267.9 kB / 0.7974 GB, free: 12.22 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00176/0.7087, allocations: 1.225 MB / 0.7986 GB, free: 10.94 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003797/0.7091, allocations: 0.8667 MB / 0.7995 GB, free: 10.04 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0004886/0.7096, allocations: 127.2 kB / 0.7996 GB, free: 9.918 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001516/0.7098, allocations: 43.44 kB / 0.7997 GB, free: 9.875 MB / 0.6231 GB Notification: Performance of SimCode: time 3.4e-07/0.7098, allocations: 4 kB / 0.7997 GB, free: 9.871 MB / 0.6231 GB Notification: Performance of Templates: time 0.01652/0.7263, allocations: 10.23 MB / 0.8096 GB, free: 15.83 MB / 0.6387 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)