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.001147/0.001147, allocations: 106.3 kB / 16.36 MB, free: 6.289 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.001144/0.001144, allocations: 192.5 kB / 17.29 MB, free: 5.863 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.298/1.298, allocations: 222.9 MB / 241 MB, free: 15.17 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.862/0.862, allocations: 143.1 MB / 434.2 MB, free: 12 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00137/0.00137, allocations: 63.89 kB / 0.5156 GB, free: 14.44 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3103/0.3117, allocations: 82.04 MB / 0.5957 GB, free: 16.12 MB / 446.1 MB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Sensors.Examples.TemperatureDryBulb): time 0.4947/0.8064, allocations: 181.8 MB / 0.7733 GB, free: 1.559 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.005571/0.812, allocations: 4.468 MB / 0.7776 GB, free: 1.488 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004862/0.8126, allocations: 19.97 kB / 0.7777 GB, free: 1.488 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0006373/0.8132, allocations: 244.9 kB / 0.7779 GB, free: 1.488 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.001594/0.8148, allocations: 0.7567 MB / 0.7786 GB, free: 1.461 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0032/0.8181, allocations: 1.522 MB / 0.7801 GB, free: 1.406 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.001477/0.8195, allocations: 1.262 MB / 0.7813 GB, free: 1.402 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005138/0.8201, allocations: 438.3 kB / 0.7818 GB, free: 1.371 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007879/0.8209, allocations: 0.572 MB / 0.7823 GB, free: 1.371 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004115/0.8213, allocations: 406.8 kB / 0.7827 GB, free: 1.371 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 6.626e-05/0.8214, allocations: 47.44 kB / 0.7828 GB, free: 1.371 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002113/0.8235, allocations: 1.545 MB / 0.7843 GB, free: 1.355 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0001876/0.8237, allocations: 190.1 kB / 0.7844 GB, free: 1.352 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0003449/0.824, allocations: 302.7 kB / 0.7847 GB, free: 1.352 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.001702/0.8257, allocations: 1.338 MB / 0.786 GB, free: 1.281 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.538e-06/0.8258, allocations: 3.062 kB / 0.786 GB, free: 1.281 MB / 0.5762 GB Notification: Performance of FrontEnd: time 2.315e-06/0.8258, allocations: 0 / 0.786 GB, free: 1.281 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.567e-05/0.8258, allocations: 0 / 0.786 GB, free: 1.281 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.001661/0.8275, allocations: 1.019 MB / 0.787 GB, free: 16.62 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.549e-05/0.8275, allocations: 11.09 kB / 0.787 GB, free: 16.62 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001941/0.8295, allocations: 279.2 kB / 0.7873 GB, free: 16.59 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007487/0.8302, allocations: 469.7 kB / 0.7878 GB, free: 16.33 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.018e-05/0.8303, allocations: 29.97 kB / 0.7878 GB, free: 16.33 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.537e-05/0.8303, allocations: 46.91 kB / 0.7878 GB, free: 16.33 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008384/0.8312, allocations: 0.5503 MB / 0.7884 GB, free: 16.21 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.257e-05/0.8312, allocations: 0.7812 kB / 0.7884 GB, free: 16.21 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.07e-05/0.8313, allocations: 21.7 kB / 0.7884 GB, free: 16.21 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.207e-06/0.8313, allocations: 13.08 kB / 0.7884 GB, free: 16.21 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008878/0.8322, allocations: 456.1 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.002257/0.8344, allocations: 2.127 MB / 0.7909 GB, free: 14.94 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008807/0.8353, allocations: 409.5 kB / 0.7913 GB, free: 14.91 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004357/0.8358, allocations: 228.1 kB / 0.7915 GB, free: 14.91 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006664/0.8364, allocations: 399.7 kB / 0.7919 GB, free: 14.53 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005475/0.837, allocations: 291.5 kB / 0.7922 GB, free: 14.48 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=37): time 1.834e-06/0.837, allocations: 0 / 0.7922 GB, free: 14.48 MB / 0.5919 GB Notification: Performance of matching and sorting (n=37): time 0.001549/0.8386, allocations: 0.6804 MB / 0.7929 GB, free: 14.41 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.329e-05/0.8386, allocations: 62.5 kB / 0.7929 GB, free: 14.35 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000453/0.8391, allocations: 496.5 kB / 0.7934 GB, free: 14.22 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 4.385e-05/0.8391, allocations: 39.14 kB / 0.7934 GB, free: 14.19 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001425/0.8393, allocations: 258.6 kB / 0.7937 GB, free: 14.07 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 7.773e-05/0.8394, allocations: 132.6 kB / 0.7938 GB, free: 13.99 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001328/0.8395, allocations: 83.83 kB / 0.7939 GB, free: 13.97 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001247/0.8396, allocations: 370.7 kB / 0.7942 GB, free: 13.66 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004177/0.8401, allocations: 197.9 kB / 0.7944 GB, free: 13.65 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005073/0.8406, allocations: 321.5 kB / 0.7947 GB, free: 13.54 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008777/0.8415, allocations: 0.5449 MB / 0.7953 GB, free: 13.37 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.955e-06/0.8415, allocations: 0 / 0.7953 GB, free: 13.37 MB / 0.5919 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.001112/0.8426, allocations: 0.6425 MB / 0.7959 GB, free: 13.24 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 5.383e-05/0.8427, allocations: 66.7 kB / 0.7959 GB, free: 13.18 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.416e-06/0.8427, allocations: 7.078 kB / 0.796 GB, free: 13.18 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.637e-05/0.8427, allocations: 3.438 kB / 0.796 GB, free: 13.18 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004219/0.8431, allocations: 103.5 kB / 0.7961 GB, free: 13.18 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.004e-05/0.8432, allocations: 8.594 kB / 0.7961 GB, free: 13.18 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004746/0.8436, allocations: 78.88 kB / 0.7961 GB, free: 13.14 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.917e-05/0.8437, allocations: 24.03 kB / 0.7962 GB, free: 13.14 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.0001925/0.8439, allocations: 191.3 kB / 0.7963 GB, free: 13.03 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.855e-05/0.844, allocations: 57.94 kB / 0.7964 GB, free: 13 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00106/0.845, allocations: 0.5284 MB / 0.7969 GB, free: 12.94 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.77e-06/0.8451, allocations: 8.234 kB / 0.7969 GB, free: 12.94 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.94e-06/0.8451, allocations: 0 / 0.7969 GB, free: 12.94 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.833e-06/0.8451, allocations: 7.609 kB / 0.7969 GB, free: 12.93 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001994/0.8471, allocations: 1.351 MB / 0.7983 GB, free: 12.5 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.829e-06/0.8471, allocations: 5.25 kB / 0.7983 GB, free: 12.5 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003813/0.8475, allocations: 75.41 kB / 0.7983 GB, free: 12.5 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.68e-06/0.8475, allocations: 5.281 kB / 0.7983 GB, free: 12.5 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.479e-05/0.8475, allocations: 15.97 kB / 0.7983 GB, free: 12.5 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.354e-06/0.8475, allocations: 13.72 kB / 0.7984 GB, free: 12.5 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.497e-06/0.8476, allocations: 4.312 kB / 0.7984 GB, free: 12.5 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001507/0.8491, allocations: 0.9293 MB / 0.7993 GB, free: 12.21 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000218/0.8493, allocations: 178.2 kB / 0.7994 GB, free: 12.09 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.077e-05/0.8494, allocations: 17.3 kB / 0.7995 GB, free: 12.09 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004218/0.8498, allocations: 29.67 kB / 0.7995 GB, free: 12.09 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001151/0.8499, allocations: 54.5 kB / 0.7995 GB, free: 12.08 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.845e-05/0.85, allocations: 11.28 kB / 0.7996 GB, free: 12.08 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0003411/0.8503, allocations: 351.7 kB / 0.7999 GB, free: 12 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.5e-07/0.8503, allocations: 0.8125 kB / 0.7999 GB, free: 12 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0005136/0.8508, allocations: 146.8 kB / 0.8 GB, free: 11.99 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.0004116/0.8513, allocations: 206.2 kB / 0.8002 GB, free: 11.89 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.001023/0.8523, allocations: 0.5785 MB / 0.8008 GB, free: 11.77 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 3.787e-06/0.8523, allocations: 0.9688 kB / 0.8008 GB, free: 11.77 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0005983/0.8529, allocations: 289.2 kB / 0.8011 GB, free: 11.77 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001147/0.8541, allocations: 290.4 kB / 0.8013 GB, free: 11.73 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001688/0.8558, allocations: 1.045 MB / 0.8024 GB, free: 11.23 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003923/0.8562, allocations: 0.8732 MB / 0.8032 GB, free: 10.51 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0003906/0.8566, allocations: 130.1 kB / 0.8033 GB, free: 10.48 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001351/0.8567, allocations: 43.22 kB / 0.8034 GB, free: 10.47 MB / 0.5919 GB Notification: Performance of SimCode: time 9.52e-07/0.8567, allocations: 1.203 kB / 0.8034 GB, free: 10.47 MB / 0.5919 GB Notification: Performance of Templates: time 0.01526/0.872, 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 gbode -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.TemperatureDryBulb.pipe 2>&1)