Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatExchangers.Examples.AirHeater_T.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.HeatExchangers.Examples.AirHeater_T,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatExchangers.Examples.AirHeater_T") translateModel(BuildSysPro.IBPSA.Fluid.HeatExchangers.Examples.AirHeater_T,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatExchangers.Examples.AirHeater_T") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00108/0.00108, allocations: 115.3 kB / 16.42 MB, free: 6.02 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.001182/0.001182, allocations: 186.1 kB / 17.35 MB, free: 5.633 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.309/1.309, allocations: 222.9 MB / 241 MB, free: 15.16 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.8483/0.8483, allocations: 143 MB / 434.3 MB, free: 12.03 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001185/0.001185, allocations: 72.17 kB / 0.5962 GB, free: 12.28 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1361/0.1373, allocations: 82.04 MB / 0.6763 GB, free: 10.33 MB / 0.5137 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Blocks/Math.mo:543:5-544:48:writable] Warning: Parameter mov.gaiSpe.k has no value, and is fixed during initialization (fixed=true), using available start value (start=1) as default value. Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.HeatExchangers.Examples.AirHeater_T): time 0.5482/0.6855, allocations: 236.7 MB / 0.9075 GB, free: 1.09 MB / 0.67 GB Notification: Performance of NFInst.instExpressions: time 0.02619/0.7118, allocations: 17.63 MB / 0.9247 GB, free: 15.42 MB / 0.7012 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002934/0.7147, allocations: 87.5 kB / 0.9248 GB, free: 15.33 MB / 0.7012 GB Notification: Performance of NFTyping.typeComponents: time 0.005884/0.7206, allocations: 2.163 MB / 0.9269 GB, free: 13.17 MB / 0.7012 GB Notification: Performance of NFTyping.typeBindings: time 0.009715/0.7304, allocations: 3.72 MB / 0.9305 GB, free: 9.438 MB / 0.7012 GB Notification: Performance of NFTyping.typeClassSections: time 0.006705/0.7371, allocations: 2.598 MB / 0.933 GB, free: 6.852 MB / 0.7012 GB Notification: Performance of NFFlatten.flatten: time 0.01114/0.7482, allocations: 7.92 MB / 0.9408 GB, free: 14.91 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003233/0.7515, allocations: 1.953 MB / 0.9427 GB, free: 12.92 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006116/0.7576, allocations: 2.791 MB / 0.9454 GB, free: 10.12 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003486/0.7611, allocations: 1.635 MB / 0.947 GB, free: 8.48 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.0007614/0.7619, allocations: 208 kB / 0.9472 GB, free: 8.277 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007236/0.7692, allocations: 3.621 MB / 0.9507 GB, free: 4.648 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.001301/0.7705, allocations: 0.8958 MB / 0.9516 GB, free: 3.75 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.002507/0.773, allocations: 1.395 MB / 0.953 GB, free: 2.348 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.008726/0.7817, allocations: 5.118 MB / 0.958 GB, free: 13.21 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 5.35e-06/0.7818, allocations: 0 / 0.958 GB, free: 13.21 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.593e-06/0.7818, allocations: 0 / 0.958 GB, free: 13.21 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 0.0001339/0.7819, allocations: 0 / 0.958 GB, free: 13.21 MB / 0.7325 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 337 * Number of variables: 337 Notification: Performance of Generate backend data structure: time 0.007343/0.7893, allocations: 3.269 MB / 0.9612 GB, free: 9.867 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.227e-05/0.7893, allocations: 8.031 kB / 0.9612 GB, free: 9.859 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005804/0.7951, allocations: 0.8863 MB / 0.962 GB, free: 8.969 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005801/0.801, allocations: 2.81 MB / 0.9648 GB, free: 6.086 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001179/0.8011, allocations: 106.6 kB / 0.9649 GB, free: 5.98 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003834/0.8015, allocations: 136 kB / 0.965 GB, free: 5.848 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003761/0.8053, allocations: 1.679 MB / 0.9667 GB, free: 4.09 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.399e-05/0.8053, allocations: 0 / 0.9667 GB, free: 4.09 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001773/0.8055, allocations: 55.98 kB / 0.9667 GB, free: 4.035 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.505e-05/0.8056, allocations: 58.45 kB / 0.9668 GB, free: 3.977 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003595/0.8092, allocations: 1.458 MB / 0.9682 GB, free: 2.512 MB / 0.7325 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.01236/0.8216, allocations: 8.117 MB / 0.9761 GB, free: 9.809 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002802/0.8244, allocations: 1.56 MB / 0.9776 GB, free: 8.105 MB / 0.7481 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001153/0.8256, allocations: 0.5103 MB / 0.9781 GB, free: 7.594 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001294/0.8269, allocations: 0.7747 MB / 0.9789 GB, free: 6.672 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001271/0.8282, allocations: 0.5314 MB / 0.9794 GB, free: 6.129 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=82): time 4.138e-06/0.8282, allocations: 0 / 0.9794 GB, free: 6.129 MB / 0.7481 GB Notification: Performance of matching and sorting (n=82): time 0.004361/0.8326, allocations: 1.617 MB / 0.981 GB, free: 4.48 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.545e-05/0.8326, allocations: 60.06 kB / 0.9811 GB, free: 4.41 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003661/0.8363, allocations: 2.18 MB / 0.9832 GB, free: 2.207 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 0.0001968/0.8365, allocations: 45.7 kB / 0.9832 GB, free: 2.156 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.001022/0.8375, allocations: 1.066 MB / 0.9843 GB, free: 1.074 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003638/0.8379, allocations: 291.8 kB / 0.9845 GB, free: 0.7852 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00053/0.8385, allocations: 322.6 kB / 0.9849 GB, free: 476 kB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 9.24e-05/0.8386, allocations: 301.1 kB / 0.9851 GB, free: 172 kB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001337/0.8399, allocations: 0.6197 MB / 0.9857 GB, free: 15.54 MB / 0.7637 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001555/0.8415, allocations: 1.01 MB / 0.9867 GB, free: 14.38 MB / 0.7637 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002658/0.8441, allocations: 1.551 MB / 0.9882 GB, free: 12.7 MB / 0.7637 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.106e-05/0.8442, allocations: 4 kB / 0.9882 GB, free: 12.7 MB / 0.7637 GB Notification: Performance of matching and sorting (n=199) (initialization): time 0.003748/0.8479, allocations: 1.902 MB / 0.9901 GB, free: 10.78 MB / 0.7637 GB Notification: Performance of prepare postOptimizeDAE: time 5.688e-05/0.848, allocations: 41.7 kB / 0.9901 GB, free: 10.73 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.827e-05/0.848, allocations: 8 kB / 0.9902 GB, free: 10.72 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.358e-05/0.8481, allocations: 20.03 kB / 0.9902 GB, free: 10.7 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001297/0.8494, allocations: 327.4 kB / 0.9905 GB, free: 10.38 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.938e-05/0.8494, allocations: 19.94 kB / 0.9905 GB, free: 10.36 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001714/0.8511, allocations: 186.5 kB / 0.9907 GB, free: 10.18 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001189/0.8513, allocations: 59.98 kB / 0.9907 GB, free: 10.12 MB / 0.7637 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002082/0.8534, allocations: 1.113 MB / 0.9918 GB, free: 9.004 MB / 0.7637 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.00151/0.8549, allocations: 1.003 MB / 0.9928 GB, free: 7.844 MB / 0.7637 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002595/0.8575, allocations: 1.546 MB / 0.9943 GB, free: 6.164 MB / 0.7637 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 8.697e-06/0.8575, allocations: 4 kB / 0.9943 GB, free: 6.16 MB / 0.7637 GB Notification: Performance of matching and sorting (n=199) (initialization_lambda0): time 0.003756/0.8613, allocations: 1.913 MB / 0.9962 GB, free: 4.238 MB / 0.7637 GB Notification: Performance of prepare postOptimizeDAE: time 3.636e-05/0.8613, allocations: 37.7 kB / 0.9962 GB, free: 4.195 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.605e-05/0.8613, allocations: 13.19 kB / 0.9962 GB, free: 4.184 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.928e-05/0.8614, allocations: 16 kB / 0.9963 GB, free: 4.168 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001288/0.8627, allocations: 331.7 kB / 0.9966 GB, free: 3.844 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.601e-05/0.8627, allocations: 23.88 kB / 0.9966 GB, free: 3.82 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001689/0.8644, allocations: 163 kB / 0.9967 GB, free: 3.66 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001195/0.8645, allocations: 55.98 kB / 0.9968 GB, free: 3.605 MB / 0.7637 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 42 * Number of states: 0 () * Number of discrete variables: 6 (TSet.count,$PRE.TSet.count,TSet.T_start,$PRE.TSet.T_start,$whenCondition1,conPI.I.trigger_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (165): * Single equations (assignments): 162 * Array equations: 1 * Algorithm blocks: 1 * Record equations: 1 * 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.0003177/0.8649, allocations: 259.8 kB / 0.997 GB, free: 3.344 MB / 0.7637 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000472/0.8653, allocations: 217.2 kB / 0.9973 GB, free: 3.129 MB / 0.7637 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002906/0.8682, allocations: 1.189 MB / 0.9984 GB, free: 1.926 MB / 0.7637 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002268/0.8705, allocations: 1.231 MB / 0.9996 GB, free: 0.6094 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.869e-06/0.8705, allocations: 0 / 0.9996 GB, free: 0.6094 MB / 0.7637 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009549/0.8715, allocations: 402.1 kB / 1 GB, free: 200 kB / 0.7637 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004431/0.872, allocations: 23.94 kB / 1 GB, free: 176 kB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001216/0.8732, allocations: 71.92 kB / 1 GB, free: 104 kB / 0.7637 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001439/0.8733, allocations: 56.92 kB / 1 GB, free: 48 kB / 0.7637 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.003232/0.8766, allocations: 1.197 MB / 1.001 GB, free: 14.84 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.003621/0.8802, allocations: 1.808 MB / 1.003 GB, free: 13.02 MB / 0.7794 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001004/0.8812, allocations: 483.7 kB / 1.004 GB, free: 12.54 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.002667/0.8839, allocations: 1.457 MB / 1.005 GB, free: 11.07 MB / 0.7794 GB Notification: Performance of Backend: time 7.21e-07/0.8839, allocations: 0 / 1.005 GB, free: 11.07 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.007484/0.8914, allocations: 3.14 MB / 1.008 GB, free: 8.078 MB / 0.7794 GB Notification: Performance of SimCode: time 0.008927/0.9004, allocations: 5.126 MB / 1.013 GB, free: 2.918 MB / 0.7794 GB Notification: Performance of Templates: time 0.07826/0.9787, allocations: 51.37 MB / 1.063 GB, free: 20 kB / 0.8262 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatExchangers.Examples.AirHeater_T.makefile (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatExchangers.Examples.AirHeater_T.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatExchangers.Examples.AirHeater_T.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatExchangers.Examples.AirHeater_T.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatExchangers.Examples.AirHeater_T.sim & ./BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatExchangers.Examples.AirHeater_T -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatExchangers.Examples.AirHeater_T.pipe 2>&1)