Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatExchangers.Examples.AirHeater_u.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_u,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatExchangers.Examples.AirHeater_u") translateModel(BuildSysPro.IBPSA.Fluid.HeatExchangers.Examples.AirHeater_u,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatExchangers.Examples.AirHeater_u") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001468/0.001469, allocations: 116.2 kB / 16.42 MB, free: 6.492 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.001594/0.001594, allocations: 183.9 kB / 17.35 MB, free: 5.762 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.319/1.319, 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.8503/0.8503, allocations: 143.1 MB / 434.3 MB, free: 11.99 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001218/0.001218, allocations: 67.33 kB / 0.5962 GB, free: 12.39 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1328/0.1341, allocations: 82.04 MB / 0.6763 GB, free: 10.44 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_u): time 0.5394/0.6735, allocations: 261.2 MB / 0.9314 GB, free: 8.375 MB / 0.7012 GB Notification: Performance of NFInst.instExpressions: time 0.02638/0.6999, allocations: 18.89 MB / 0.9499 GB, free: 5.441 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002787/0.7027, allocations: 95.5 kB / 0.95 GB, free: 5.348 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.005688/0.7084, allocations: 2.297 MB / 0.9522 GB, free: 3.043 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.009842/0.7183, allocations: 4.341 MB / 0.9564 GB, free: 14.68 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.006156/0.7245, allocations: 2.668 MB / 0.9591 GB, free: 12.03 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.01151/0.736, allocations: 8.839 MB / 0.9677 GB, free: 3.176 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00317/0.7392, allocations: 2.195 MB / 0.9698 GB, free: 0.9336 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005198/0.7444, allocations: 2.845 MB / 0.9726 GB, free: 14.08 MB / 0.7481 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003039/0.7474, allocations: 1.871 MB / 0.9744 GB, free: 12.21 MB / 0.7481 GB Notification: Performance of NFPackage.collectConstants: time 0.0003802/0.7478, allocations: 248 kB / 0.9747 GB, free: 11.96 MB / 0.7481 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007002/0.7548, allocations: 4.245 MB / 0.9788 GB, free: 7.711 MB / 0.7481 GB Notification: Performance of NFScalarize.scalarize: time 0.0009474/0.7558, allocations: 1.017 MB / 0.9798 GB, free: 6.691 MB / 0.7481 GB Notification: Performance of NFVerifyModel.verify: time 0.001632/0.7574, allocations: 1.563 MB / 0.9813 GB, free: 5.121 MB / 0.7481 GB Notification: Performance of NFConvertDAE.convert: time 0.00728/0.7647, allocations: 5.843 MB / 0.987 GB, free: 15.26 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 6.071e-06/0.7648, allocations: 4 kB / 0.987 GB, free: 15.26 MB / 0.7637 GB Notification: Performance of FrontEnd: time 1.252e-06/0.7648, allocations: 0 / 0.987 GB, free: 15.26 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 3.942e-05/0.7648, allocations: 0 / 0.987 GB, free: 15.26 MB / 0.7637 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 381 * Number of variables: 381 Notification: Performance of Generate backend data structure: time 0.005785/0.7706, allocations: 3.545 MB / 0.9905 GB, free: 11.62 MB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 3.817e-05/0.7707, allocations: 8.031 kB / 0.9905 GB, free: 11.62 MB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005655/0.7763, allocations: 0.9017 MB / 0.9914 GB, free: 10.71 MB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004914/0.7812, allocations: 2.96 MB / 0.9943 GB, free: 7.68 MB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001059/0.7814, allocations: 123 kB / 0.9944 GB, free: 7.559 MB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002612/0.7816, allocations: 163.9 kB / 0.9946 GB, free: 7.398 MB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003461/0.7851, allocations: 1.851 MB / 0.9964 GB, free: 5.48 MB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.307e-05/0.7851, allocations: 0 / 0.9964 GB, free: 5.48 MB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001519/0.7853, allocations: 64 kB / 0.9964 GB, free: 5.418 MB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.778e-05/0.7854, allocations: 66.81 kB / 0.9965 GB, free: 5.352 MB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003535/0.7889, allocations: 1.584 MB / 0.998 GB, free: 3.762 MB / 0.7637 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.01173/0.8007, allocations: 8.746 MB / 1.007 GB, free: 10.39 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002788/0.8035, allocations: 1.736 MB / 1.008 GB, free: 8.504 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001418/0.8049, allocations: 0.6708 MB / 1.009 GB, free: 7.832 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005117/0.8054, allocations: 231.1 kB / 1.009 GB, free: 7.57 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001485/0.8069, allocations: 0.6493 MB / 1.01 GB, free: 6.91 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=99): time 3.446e-06/0.8069, allocations: 4 kB / 1.01 GB, free: 6.906 MB / 0.7794 GB Notification: Performance of matching and sorting (n=102): time 0.009002/0.816, allocations: 3.726 MB / 1.013 GB, free: 3.094 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.424e-05/0.816, allocations: 60.41 kB / 1.013 GB, free: 3.023 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003096/0.8191, allocations: 2.168 MB / 1.016 GB, free: 0.8359 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 0.0001251/0.8192, allocations: 49.7 kB / 1.016 GB, free: 0.7812 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009302/0.8202, allocations: 1.098 MB / 1.017 GB, free: 15.67 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003448/0.8205, allocations: 366.8 kB / 1.017 GB, free: 15.3 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005246/0.8211, allocations: 347.3 kB / 1.017 GB, free: 14.96 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 9.122e-05/0.8212, allocations: 313.1 kB / 1.018 GB, free: 14.65 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001536/0.8227, allocations: 0.7347 MB / 1.018 GB, free: 13.91 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001835/0.8246, allocations: 1.115 MB / 1.02 GB, free: 12.66 MB / 0.795 GB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: vol.dynBal.medium.p = vol.dynBal.p_start (hea.vol.dynBal.p_start = vol.dynBal.p_start) Notification: Performance of analyzeInitialSystem (initialization): time 0.01602/0.8406, allocations: 4.53 MB / 1.024 GB, free: 7.977 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.482e-06/0.8406, allocations: 0 / 1.024 GB, free: 7.977 MB / 0.795 GB Notification: Performance of matching and sorting (n=221) (initialization): time 0.004218/0.8448, allocations: 2.176 MB / 1.026 GB, free: 5.781 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 3.926e-05/0.8449, allocations: 41.69 kB / 1.026 GB, free: 5.734 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.465e-05/0.8449, allocations: 8 kB / 1.026 GB, free: 5.727 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001726/0.8451, allocations: 44.84 kB / 1.026 GB, free: 5.68 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001476/0.8466, allocations: 359.7 kB / 1.026 GB, free: 5.328 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001341/0.8479, allocations: 1.671 MB / 1.028 GB, free: 3.523 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001841/0.8498, allocations: 107.9 kB / 1.028 GB, free: 3.418 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001287/0.8499, allocations: 71.86 kB / 1.028 GB, free: 3.348 MB / 0.795 GB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization system: vol.dynBal.medium.p = vol.dynBal.p_start. Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002341/0.8523, allocations: 1.265 MB / 1.03 GB, free: 2.078 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001777/0.8541, allocations: 1.114 MB / 1.031 GB, free: 0.8281 MB / 0.795 GB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: vol.dynBal.medium.p = vol.dynBal.p_start (hea.vol.dynBal.p_start = vol.dynBal.p_start) Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.01551/0.8696, allocations: 4.517 MB / 1.035 GB, free: 12.16 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.863e-06/0.8696, allocations: 4 kB / 1.035 GB, free: 12.16 MB / 0.8106 GB Notification: Performance of matching and sorting (n=221) (initialization_lambda0): time 0.004189/0.8738, allocations: 2.167 MB / 1.037 GB, free: 9.969 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 3.442e-05/0.8738, allocations: 44.34 kB / 1.037 GB, free: 9.922 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.182e-05/0.8739, allocations: 8 kB / 1.037 GB, free: 9.914 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001213/0.874, allocations: 48.78 kB / 1.037 GB, free: 9.863 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001464/0.8755, allocations: 359.4 kB / 1.038 GB, free: 9.512 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001283/0.8768, allocations: 1.674 MB / 1.039 GB, free: 7.691 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001832/0.8786, allocations: 112 kB / 1.039 GB, free: 7.582 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000125/0.8787, allocations: 59.98 kB / 1.039 GB, free: 7.523 MB / 0.8106 GB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization_lambda0 system: vol.dynBal.medium.p = vol.dynBal.p_start. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 38 * Number of states: 0 () * Number of discrete variables: 6 ($PRE.TSet.count,$PRE.TSet.T_start,TSet.count,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 (183): * Single equations (assignments): 178 * Array equations: 2 * Algorithm blocks: 1 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0003449/0.8791, allocations: 274 kB / 1.04 GB, free: 7.254 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003737/0.8795, allocations: 229.1 kB / 1.04 GB, free: 7.027 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003428/0.8829, allocations: 1.433 MB / 1.041 GB, free: 5.578 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002696/0.8856, allocations: 1.168 MB / 1.042 GB, free: 4.395 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.687e-06/0.8856, allocations: 0 / 1.042 GB, free: 4.395 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007613/0.8864, allocations: 442 kB / 1.043 GB, free: 3.941 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000307/0.8867, allocations: 20 kB / 1.043 GB, free: 3.922 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001303/0.888, allocations: 83.86 kB / 1.043 GB, free: 3.84 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001845/0.8882, allocations: 64.91 kB / 1.043 GB, free: 3.777 MB / 0.8106 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.004035/0.8923, allocations: 1.53 MB / 1.044 GB, free: 2.23 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.004286/0.8966, allocations: 2.179 MB / 1.047 GB, free: 36 kB / 0.8106 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001239/0.8978, allocations: 0.5973 MB / 1.047 GB, free: 15.44 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.002211/0.9, allocations: 1.446 MB / 1.049 GB, free: 13.98 MB / 0.8262 GB Notification: Performance of Backend: time 6.61e-07/0.9001, allocations: 0 / 1.049 GB, free: 13.98 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.007582/0.9076, allocations: 3.492 MB / 1.052 GB, free: 10.44 MB / 0.8262 GB Notification: Performance of SimCode: time 0.009663/0.9173, allocations: 5.602 MB / 1.057 GB, free: 4.805 MB / 0.8262 GB Notification: Performance of Templates: time 0.349/1.266, allocations: 58.89 MB / 1.115 GB, free: 287 MB / 0.8262 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatExchangers.Examples.AirHeater_u.makefile (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatExchangers.Examples.AirHeater_u.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatExchangers.Examples.AirHeater_u.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatExchangers.Examples.AirHeater_u.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatExchangers.Examples.AirHeater_u.sim & ./BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatExchangers.Examples.AirHeater_u -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatExchangers.Examples.AirHeater_u.pipe 2>&1)