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-master/package.mo", uses=false) Using package BuildSysPro with version 3.6.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.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.001521/0.001521, allocations: 105.9 kB / 16.27 MB, free: 5.988 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.001519/0.001519, allocations: 192.3 kB / 17.2 MB, free: 5.613 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.452/1.452, allocations: 222.9 MB / 240.9 MB, free: 15.22 MB / 206.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0-master/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-master/package.mo): time 0.9896/0.9896, allocations: 143.3 MB / 434.4 MB, free: 11.91 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002185/0.002186, allocations: 63.91 kB / 0.5151 GB, free: 15.02 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3586/0.3608, allocations: 82.04 MB / 0.5952 GB, free: 16.02 MB / 446.1 MB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Sensors.Examples.TemperatureDryBulb): time 0.5806/0.9415, allocations: 181.9 MB / 0.7728 GB, free: 1.582 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.006249/0.9478, allocations: 4.47 MB / 0.7771 GB, free: 1.512 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008699/0.9487, allocations: 19.44 kB / 0.7772 GB, free: 1.512 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0008438/0.9496, allocations: 242.3 kB / 0.7774 GB, free: 1.512 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.002123/0.9517, allocations: 0.7576 MB / 0.7781 GB, free: 1.484 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.003936/0.9557, allocations: 1.517 MB / 0.7796 GB, free: 1.43 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.001885/0.9575, allocations: 1.25 MB / 0.7808 GB, free: 1.43 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008369/0.9584, allocations: 447.4 kB / 0.7813 GB, free: 1.395 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001306/0.9597, allocations: 0.5695 MB / 0.7818 GB, free: 1.395 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007348/0.9605, allocations: 407.4 kB / 0.7822 GB, free: 1.395 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0001455/0.9606, allocations: 45.62 kB / 0.7822 GB, free: 1.395 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002883/0.9635, allocations: 1.54 MB / 0.7837 GB, free: 1.383 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0002614/0.9638, allocations: 193.2 kB / 0.7839 GB, free: 1.379 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0005693/0.9644, allocations: 304 kB / 0.7842 GB, free: 1.375 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.002689/0.9671, allocations: 1.323 MB / 0.7855 GB, free: 1.309 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.338e-06/0.9671, allocations: 0 / 0.7855 GB, free: 1.309 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.423e-06/0.9671, allocations: 0.9375 kB / 0.7855 GB, free: 1.309 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 2.336e-05/0.9671, allocations: 0 / 0.7855 GB, free: 1.309 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.00223/0.9694, allocations: 1.023 MB / 0.7865 GB, free: 16.64 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.813e-05/0.9694, allocations: 8.188 kB / 0.7865 GB, free: 16.64 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002109/0.9715, allocations: 283.2 kB / 0.7868 GB, free: 16.61 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007858/0.9723, allocations: 442.4 kB / 0.7872 GB, free: 16.36 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.666e-05/0.9724, allocations: 30.81 kB / 0.7872 GB, free: 16.36 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.578e-05/0.9725, allocations: 53.38 kB / 0.7873 GB, free: 16.35 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009622/0.9734, allocations: 0.5447 MB / 0.7878 GB, free: 16.23 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.676e-05/0.9734, allocations: 0 / 0.7878 GB, free: 16.23 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.706e-05/0.9735, allocations: 19.33 kB / 0.7878 GB, free: 16.23 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.225e-05/0.9735, allocations: 10.19 kB / 0.7879 GB, free: 16.23 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009791/0.9745, allocations: 465 kB / 0.7883 GB, free: 16.23 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.002667/0.9772, allocations: 2.131 MB / 0.7904 GB, free: 14.96 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008773/0.9781, allocations: 410.6 kB / 0.7908 GB, free: 14.93 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004339/0.9785, allocations: 225.3 kB / 0.791 GB, free: 14.93 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008003/0.9793, allocations: 397.8 kB / 0.7914 GB, free: 14.55 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005622/0.9799, allocations: 299.6 kB / 0.7916 GB, free: 14.5 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=37): time 2.014e-06/0.9799, allocations: 4.344 kB / 0.7917 GB, free: 14.5 MB / 0.5919 GB Notification: Performance of matching and sorting (n=37): time 0.001696/0.9816, allocations: 0.6878 MB / 0.7923 GB, free: 14.43 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.14e-05/0.9817, allocations: 53.97 kB / 0.7924 GB, free: 14.37 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005225/0.9822, allocations: 0.4907 MB / 0.7929 GB, free: 14.24 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 5.312e-05/0.9823, allocations: 32.17 kB / 0.7929 GB, free: 14.21 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001695/0.9824, allocations: 260.1 kB / 0.7931 GB, free: 14.08 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 9.103e-05/0.9825, allocations: 129.1 kB / 0.7933 GB, free: 14 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001398/0.9827, allocations: 87.69 kB / 0.7933 GB, free: 13.99 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001682/0.9829, allocations: 367.3 kB / 0.7937 GB, free: 13.67 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004553/0.9833, allocations: 202 kB / 0.7939 GB, free: 13.67 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005074/0.9838, allocations: 313.9 kB / 0.7942 GB, free: 13.57 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009316/0.9848, allocations: 0.5408 MB / 0.7947 GB, free: 13.39 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.159e-06/0.9848, allocations: 4.531 kB / 0.7947 GB, free: 13.39 MB / 0.5919 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.001212/0.986, allocations: 0.6454 MB / 0.7953 GB, free: 13.27 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 6.097e-05/0.9861, allocations: 62.94 kB / 0.7954 GB, free: 13.2 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.798e-06/0.9861, allocations: 2.625 kB / 0.7954 GB, free: 13.2 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.662e-05/0.9861, allocations: 4.031 kB / 0.7954 GB, free: 13.2 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000438/0.9866, allocations: 95.86 kB / 0.7955 GB, free: 13.2 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.187e-05/0.9866, allocations: 9.625 kB / 0.7955 GB, free: 13.2 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00057/0.9872, allocations: 79.53 kB / 0.7956 GB, free: 13.17 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.431e-05/0.9872, allocations: 24.92 kB / 0.7956 GB, free: 13.17 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.0002529/0.9875, allocations: 196.7 kB / 0.7958 GB, free: 13.05 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.056e-05/0.9876, allocations: 55.84 kB / 0.7959 GB, free: 13.03 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001109/0.9887, allocations: 0.5369 MB / 0.7964 GB, free: 12.97 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.16e-06/0.9887, allocations: 3.25 kB / 0.7964 GB, free: 12.97 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.909e-06/0.9888, allocations: 3.219 kB / 0.7964 GB, free: 12.97 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.774e-06/0.9888, allocations: 4.812 kB / 0.7964 GB, free: 12.96 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00217/0.9909, allocations: 1.349 MB / 0.7977 GB, free: 12.53 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.514e-06/0.991, allocations: 5 kB / 0.7977 GB, free: 12.53 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004077/0.9914, allocations: 76.14 kB / 0.7978 GB, free: 12.53 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.205e-06/0.9914, allocations: 10.34 kB / 0.7978 GB, free: 12.53 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.456e-05/0.9914, allocations: 16.83 kB / 0.7978 GB, free: 12.53 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.799e-06/0.9914, allocations: 3.406 kB / 0.7978 GB, free: 12.53 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.33e-06/0.9915, allocations: 9.094 kB / 0.7978 GB, free: 12.53 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001656/0.9931, allocations: 0.93 MB / 0.7987 GB, free: 12.25 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002486/0.9934, allocations: 171.1 kB / 0.7989 GB, free: 12.12 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.866e-05/0.9935, allocations: 13.67 kB / 0.7989 GB, free: 12.12 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004486/0.9939, allocations: 34.89 kB / 0.7989 GB, free: 12.12 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001306/0.9941, allocations: 53.06 kB / 0.799 GB, free: 12.12 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.146e-05/0.9941, allocations: 16.36 kB / 0.799 GB, free: 12.12 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0003966/0.9945, allocations: 347.2 kB / 0.7993 GB, free: 12.03 MB / 0.5919 GB Notification: Performance of sort global known variables: time 2.7e-07/0.9945, allocations: 3.938 kB / 0.7993 GB, free: 12.03 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0006314/0.9952, allocations: 155.4 kB / 0.7995 GB, free: 12.02 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.0004958/0.9957, allocations: 197.6 kB / 0.7997 GB, free: 11.92 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.001197/0.9969, allocations: 0.5912 MB / 0.8003 GB, free: 11.79 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 5.761e-06/0.9969, allocations: 6.719 kB / 0.8003 GB, free: 11.79 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0006092/0.9975, allocations: 260 kB / 0.8005 GB, free: 11.79 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001366/0.9989, allocations: 291.2 kB / 0.8008 GB, free: 11.75 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002044/1.001, allocations: 1.104 MB / 0.8019 GB, free: 11.19 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005287/1.001, allocations: 0.8673 MB / 0.8027 GB, free: 10.48 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001861/1.002, allocations: 51.34 kB / 0.8028 GB, free: 10.47 MB / 0.5919 GB Notification: Performance of SimCode: time 5.11e-07/1.002, allocations: 0 / 0.8028 GB, free: 10.47 MB / 0.5919 GB Notification: Performance of Templates: time 0.01344/1.015, allocations: 9.055 MB / 0.8116 GB, free: 8.582 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 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.TemperatureDryBulb.pipe 2>&1)