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.001176/0.001176, allocations: 107.3 kB / 16.36 MB, free: 5.824 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.001211/0.001211, allocations: 193.1 kB / 17.29 MB, free: 5.48 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.32/1.32, allocations: 222.9 MB / 241 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.8618/0.8618, allocations: 143.1 MB / 434.2 MB, free: 11.99 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001289/0.001289, allocations: 59.91 kB / 0.5156 GB, free: 14.44 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3593/0.3606, allocations: 82.03 MB / 0.5957 GB, free: 16.11 MB / 446.1 MB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Sensors.Examples.TemperatureDryBulb): time 0.5968/0.9574, allocations: 181.9 MB / 0.7733 GB, free: 1.57 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.006456/0.9639, allocations: 4.47 MB / 0.7776 GB, free: 1.496 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007836/0.9647, allocations: 23.72 kB / 0.7777 GB, free: 1.496 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0008875/0.9657, allocations: 245.5 kB / 0.7779 GB, free: 1.496 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.00235/0.9681, allocations: 0.7536 MB / 0.7786 GB, free: 1.469 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.004386/0.9725, allocations: 1.516 MB / 0.7801 GB, free: 1.418 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.001809/0.9743, allocations: 1.263 MB / 0.7813 GB, free: 1.414 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006009/0.9749, allocations: 438.1 kB / 0.7818 GB, free: 1.383 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000983/0.9759, allocations: 0.5773 MB / 0.7823 GB, free: 1.383 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004633/0.9764, allocations: 408.2 kB / 0.7827 GB, free: 1.379 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 7.404e-05/0.9765, allocations: 51.98 kB / 0.7828 GB, free: 1.375 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002756/0.9792, allocations: 1.543 MB / 0.7843 GB, free: 1.359 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0002153/0.9795, allocations: 196.5 kB / 0.7845 GB, free: 1.355 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0003606/0.9798, allocations: 298.9 kB / 0.7847 GB, free: 1.355 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.002148/0.982, allocations: 1.337 MB / 0.786 GB, free: 1.285 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.158e-06/0.982, allocations: 4.094 kB / 0.786 GB, free: 1.285 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.683e-06/0.982, allocations: 0 / 0.786 GB, free: 1.285 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.12e-05/0.982, allocations: 3.719 kB / 0.7861 GB, free: 1.285 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.001674/0.9837, allocations: 1.017 MB / 0.787 GB, free: 16.62 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.408e-05/0.9837, allocations: 9.562 kB / 0.7871 GB, free: 16.62 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001937/0.9857, allocations: 280 kB / 0.7873 GB, free: 16.59 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008442/0.9865, allocations: 470.5 kB / 0.7878 GB, free: 16.34 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.891e-05/0.9866, allocations: 28.12 kB / 0.7878 GB, free: 16.34 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.632e-05/0.9867, allocations: 48.47 kB / 0.7878 GB, free: 16.33 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000911/0.9876, allocations: 0.5514 MB / 0.7884 GB, free: 16.21 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.623e-05/0.9876, allocations: 1.094 kB / 0.7884 GB, free: 16.21 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.681e-05/0.9877, allocations: 20.34 kB / 0.7884 GB, free: 16.21 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.339e-05/0.9877, allocations: 10.78 kB / 0.7884 GB, free: 16.21 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000927/0.9886, allocations: 453.8 kB / 0.7888 GB, free: 16.21 MB / 0.5919 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.002491/0.9911, allocations: 2.121 MB / 0.7909 GB, free: 14.95 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00098/0.9921, allocations: 422.7 kB / 0.7913 GB, free: 14.92 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000499/0.9926, allocations: 224.8 kB / 0.7915 GB, free: 14.91 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008162/0.9935, allocations: 399.1 kB / 0.7919 GB, free: 14.54 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007297/0.9942, allocations: 284.6 kB / 0.7922 GB, free: 14.49 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=37): time 2.986e-06/0.9942, allocations: 0.9375 kB / 0.7922 GB, free: 14.49 MB / 0.5919 GB Notification: Performance of matching and sorting (n=37): time 0.002/0.9962, allocations: 0.6853 MB / 0.7929 GB, free: 14.42 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.525e-05/0.9963, allocations: 61.44 kB / 0.7929 GB, free: 14.36 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006493/0.997, allocations: 494.9 kB / 0.7934 GB, free: 14.23 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 6.104e-05/0.997, allocations: 39.14 kB / 0.7934 GB, free: 14.2 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002246/0.9973, allocations: 258.1 kB / 0.7937 GB, free: 14.07 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001154/0.9974, allocations: 129.4 kB / 0.7938 GB, free: 14 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002006/0.9976, allocations: 87.78 kB / 0.7939 GB, free: 13.98 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0002456/0.9979, allocations: 370.9 kB / 0.7942 GB, free: 13.66 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004991/0.9984, allocations: 194.2 kB / 0.7944 GB, free: 13.66 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005889/0.999, allocations: 324.6 kB / 0.7947 GB, free: 13.55 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001046/1, allocations: 0.5453 MB / 0.7953 GB, free: 13.38 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.027e-06/1, allocations: 0 / 0.7953 GB, free: 13.38 MB / 0.5919 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.001217/1.001, allocations: 0.6468 MB / 0.7959 GB, free: 13.25 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 6.645e-05/1.001, allocations: 63.25 kB / 0.796 GB, free: 13.19 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.608e-06/1.001, allocations: 6.75 kB / 0.796 GB, free: 13.18 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.446e-05/1.001, allocations: 8.188 kB / 0.796 GB, free: 13.18 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004555/1.002, allocations: 96 kB / 0.7961 GB, free: 13.18 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.035e-05/1.002, allocations: 4.312 kB / 0.7961 GB, free: 13.18 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005475/1.002, allocations: 88.03 kB / 0.7961 GB, free: 13.15 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.917e-05/1.002, allocations: 20.36 kB / 0.7962 GB, free: 13.15 MB / 0.5919 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.0002472/1.003, allocations: 193.1 kB / 0.7963 GB, free: 13.04 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.156e-05/1.003, allocations: 53.59 kB / 0.7964 GB, free: 13.01 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001101/1.004, allocations: 0.5382 MB / 0.7969 GB, free: 12.95 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.3e-06/1.004, allocations: 3.406 kB / 0.7969 GB, free: 12.95 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.912e-06/1.004, allocations: 0 / 0.7969 GB, free: 12.95 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.708e-06/1.004, allocations: 7.688 kB / 0.7969 GB, free: 12.95 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002077/1.006, allocations: 1.352 MB / 0.7983 GB, free: 12.52 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.863e-06/1.006, allocations: 5.25 kB / 0.7983 GB, free: 12.52 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003657/1.006, allocations: 70.73 kB / 0.7983 GB, free: 12.52 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.386e-06/1.006, allocations: 6.531 kB / 0.7983 GB, free: 12.52 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.486e-05/1.007, allocations: 15.28 kB / 0.7983 GB, free: 12.52 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.568e-06/1.007, allocations: 12.66 kB / 0.7984 GB, free: 12.51 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.147e-06/1.007, allocations: 5.625 kB / 0.7984 GB, free: 12.51 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001445/1.008, allocations: 0.9308 MB / 0.7993 GB, free: 12.23 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002293/1.008, allocations: 177.3 kB / 0.7994 GB, free: 12.1 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.567e-05/1.008, allocations: 10.25 kB / 0.7995 GB, free: 12.1 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004034/1.009, allocations: 36.69 kB / 0.7995 GB, free: 12.1 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001299/1.009, allocations: 48.83 kB / 0.7995 GB, free: 12.1 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.963e-05/1.009, allocations: 19.03 kB / 0.7996 GB, free: 12.1 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0003607/1.009, allocations: 343.2 kB / 0.7999 GB, free: 12.01 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.5e-07/1.009, allocations: 2.562 kB / 0.7999 GB, free: 12.01 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0005829/1.01, allocations: 150.5 kB / 0.8 GB, free: 12 MB / 0.5919 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.0004402/1.01, allocations: 201.8 kB / 0.8002 GB, free: 11.91 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.001016/1.011, allocations: 0.5771 MB / 0.8008 GB, free: 11.79 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 3.136e-06/1.011, allocations: 3.547 kB / 0.8008 GB, free: 11.79 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0005694/1.012, allocations: 289 kB / 0.8011 GB, free: 11.78 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00117/1.013, allocations: 292.3 kB / 0.8013 GB, free: 11.75 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001647/1.015, allocations: 1.055 MB / 0.8024 GB, free: 11.23 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003681/1.015, allocations: 0.8681 MB / 0.8032 GB, free: 10.52 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0004047/1.016, allocations: 130.5 kB / 0.8033 GB, free: 10.48 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000138/1.016, allocations: 47.25 kB / 0.8034 GB, free: 10.48 MB / 0.5919 GB Notification: Performance of SimCode: time 2.6e-07/1.016, allocations: 0 / 0.8034 GB, free: 10.48 MB / 0.5919 GB Notification: Performance of Templates: time 0.01697/1.033, allocations: 10.81 MB / 0.8139 GB, free: 7.891 MB / 0.5919 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 -s cvode -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.TemperatureDryBulb.pipe 2>&1)