Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUMassFlow.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.DryCoilEffectivenessNTUMassFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUMassFlow") translateModel(BuildSysPro.IBPSA.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUMassFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUMassFlow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008587/0.0008589, allocations: 98.88 kB / 16.02 MB, free: 76 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001076/0.001076, allocations: 184 kB / 16.92 MB, free: 6.684 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.416/1.416, allocations: 223.3 MB / 241 MB, free: 5.348 MB / 190.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 1.005/1.005, allocations: 143.2 MB / 435.3 MB, free: 13.67 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003894/0.0003896, allocations: 8 kB / 0.517 GB, free: 11.12 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1913/0.1917, allocations: 83.41 MB / 0.5985 GB, free: 7.68 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUMassFlow): time 0.5233/0.715, allocations: 201.9 MB / 0.7956 GB, free: 1.953 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.01859/0.7337, allocations: 13.69 MB / 0.809 GB, free: 4.23 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001919/0.7356, allocations: 43.69 kB / 0.809 GB, free: 4.188 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.002014/0.7377, allocations: 0.6606 MB / 0.8097 GB, free: 3.523 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.005715/0.7434, allocations: 2.062 MB / 0.8117 GB, free: 1.453 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.005253/0.7487, allocations: 1.848 MB / 0.8135 GB, free: 15.63 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.005395/0.7541, allocations: 4.149 MB / 0.8176 GB, free: 11.48 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001824/0.7559, allocations: 0.9775 MB / 0.8185 GB, free: 10.47 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004828/0.7608, allocations: 1.623 MB / 0.8201 GB, free: 8.852 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002121/0.7629, allocations: 1.016 MB / 0.8211 GB, free: 7.832 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.0002398/0.7632, allocations: 59.98 kB / 0.8211 GB, free: 7.773 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005954/0.7692, allocations: 3.183 MB / 0.8243 GB, free: 4.586 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.0005676/0.7698, allocations: 342.6 kB / 0.8246 GB, free: 4.25 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.001139/0.7709, allocations: 0.7243 MB / 0.8253 GB, free: 3.516 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.003619/0.7745, allocations: 2.323 MB / 0.8276 GB, free: 1.188 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 4.719e-06/0.7746, allocations: 4 kB / 0.8276 GB, free: 1.184 MB / 0.6387 GB Notification: Performance of FrontEnd: time 4.007e-06/0.7746, allocations: 4 kB / 0.8276 GB, free: 1.18 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 2.868e-05/0.7746, allocations: 0 / 0.8276 GB, free: 1.18 MB / 0.6387 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 229 * Number of variables: 229 Notification: Performance of Generate backend data structure: time 0.004147/0.7788, allocations: 1.834 MB / 0.8294 GB, free: 15.28 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.033e-05/0.7788, allocations: 8.031 kB / 0.8294 GB, free: 15.27 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003154/0.782, allocations: 0.5562 MB / 0.8299 GB, free: 14.71 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002203/0.7842, allocations: 1.086 MB / 0.831 GB, free: 13.57 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006961/0.7849, allocations: 213.9 kB / 0.8312 GB, free: 13.36 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002182/0.7852, allocations: 99.98 kB / 0.8313 GB, free: 13.26 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00267/0.7878, allocations: 1.275 MB / 0.8325 GB, free: 11.97 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.248e-05/0.7879, allocations: 0 / 0.8325 GB, free: 11.97 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001076/0.788, allocations: 36 kB / 0.8325 GB, free: 11.93 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.929e-05/0.788, allocations: 34 kB / 0.8326 GB, free: 11.9 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003169/0.7912, allocations: 1.331 MB / 0.8339 GB, free: 10.57 MB / 0.6544 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.008105/0.7993, allocations: 4.922 MB / 0.8387 GB, free: 5.332 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002518/0.8019, allocations: 1.023 MB / 0.8397 GB, free: 4.305 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001276/0.8032, allocations: 0.5788 MB / 0.8402 GB, free: 3.719 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001233/0.8044, allocations: 0.8618 MB / 0.8411 GB, free: 2.691 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001543/0.806, allocations: 0.7044 MB / 0.8418 GB, free: 1.961 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=84): time 3.817e-06/0.806, allocations: 0 / 0.8418 GB, free: 1.961 MB / 0.6544 GB Notification: Performance of matching and sorting (n=84): time 0.004666/0.8107, allocations: 1.777 MB / 0.8435 GB, free: 172 kB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.028e-05/0.8108, allocations: 123.4 kB / 0.8436 GB, free: 24 kB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001456/0.8123, allocations: 1.046 MB / 0.8447 GB, free: 14.96 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 0.0001339/0.8124, allocations: 45.7 kB / 0.8447 GB, free: 14.91 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004386/0.8129, allocations: 0.5281 MB / 0.8452 GB, free: 14.38 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002528/0.8131, allocations: 272 kB / 0.8455 GB, free: 14.11 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001381/0.8133, allocations: 89.66 kB / 0.8456 GB, free: 14.02 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.000144/0.8134, allocations: 341.9 kB / 0.8459 GB, free: 13.68 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00129/0.8147, allocations: 0.5133 MB / 0.8464 GB, free: 13.16 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001417/0.8161, allocations: 0.7107 MB / 0.8471 GB, free: 12.39 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00257/0.8187, allocations: 1.227 MB / 0.8483 GB, free: 11.11 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.013e-06/0.8187, allocations: 4 kB / 0.8483 GB, free: 11.11 MB / 0.67 GB Notification: Performance of matching and sorting (n=119) (initialization): time 0.003404/0.8222, allocations: 1.507 MB / 0.8498 GB, free: 9.574 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001554/0.8223, allocations: 238.2 kB / 0.85 GB, free: 9.293 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.173e-05/0.8223, allocations: 4 kB / 0.85 GB, free: 9.289 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.484e-05/0.8224, allocations: 8 kB / 0.85 GB, free: 9.281 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001305/0.8237, allocations: 267.6 kB / 0.8502 GB, free: 9.02 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.763e-05/0.8237, allocations: 8.781 kB / 0.8503 GB, free: 9.012 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001529/0.8253, allocations: 214.2 kB / 0.8505 GB, free: 8.805 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001081/0.8254, allocations: 43.97 kB / 0.8505 GB, free: 8.762 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 7.023e-06/0.8254, allocations: 4 kB / 0.8505 GB, free: 8.758 MB / 0.67 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003198/0.8286, allocations: 1.421 MB / 0.8519 GB, free: 7.32 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.696e-06/0.8286, allocations: 4 kB / 0.8519 GB, free: 7.316 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.199e-05/0.8286, allocations: 11.98 kB / 0.8519 GB, free: 7.305 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001238/0.8299, allocations: 255.7 kB / 0.8522 GB, free: 7.055 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.375e-05/0.8299, allocations: 15.92 kB / 0.8522 GB, free: 7.039 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001431/0.8313, allocations: 196.7 kB / 0.8524 GB, free: 6.848 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.726e-05/0.8315, allocations: 47.91 kB / 0.8524 GB, free: 6.801 MB / 0.67 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 16 (hex.flowRegime_nominal,hex.flowRegime,mAirGai.nextEventScaled,mAirGai.nextEvent,$PRE.mAirGai.nextEvent,mAirGai.last,mAirGai.b,mAirGai.a,mWatGai.nextEventScaled,mWatGai.nextEvent,$PRE.mWatGai.nextEvent,mWatGai.last,mWatGai.b,mWatGai.a,$whenCondition2,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (109): * Single equations (assignments): 107 * 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.000738/0.8322, allocations: 465.1 kB / 0.8528 GB, free: 6.324 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002565/0.8325, allocations: 126.5 kB / 0.853 GB, free: 6.199 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003323/0.8358, allocations: 1.509 MB / 0.8544 GB, free: 4.676 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.823e-05/0.8358, allocations: 11.94 kB / 0.8544 GB, free: 4.664 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.833e-06/0.8358, allocations: 4 kB / 0.8545 GB, free: 4.66 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.171e-05/0.8359, allocations: 3.984 kB / 0.8545 GB, free: 4.656 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00533/0.8412, allocations: 2.971 MB / 0.8574 GB, free: 1.578 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.756e-06/0.8412, allocations: 4 kB / 0.8574 GB, free: 1.574 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009746/0.8422, allocations: 200.1 kB / 0.8576 GB, free: 1.379 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.061e-05/0.8422, allocations: 8 kB / 0.8576 GB, free: 1.371 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.298e-05/0.8423, allocations: 31.98 kB / 0.8576 GB, free: 1.34 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.168e-05/0.8423, allocations: 11.94 kB / 0.8576 GB, free: 1.328 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.594e-06/0.8424, allocations: 11.88 kB / 0.8576 GB, free: 1.316 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.3029/1.145, allocations: 2.284 MB / 0.8598 GB, free: 207.6 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007701/1.146, allocations: 345.3 kB / 0.8602 GB, free: 207.5 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001995/1.146, allocations: 31.12 kB / 0.8602 GB, free: 207.5 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001269/1.148, allocations: 151 kB / 0.8603 GB, free: 207.5 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000134/1.148, allocations: 71.97 kB / 0.8604 GB, free: 207.5 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001/1.148, allocations: 43.95 kB / 0.8605 GB, free: 207.5 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.0009309/1.149, allocations: 0.7075 MB / 0.8611 GB, free: 207.4 MB / 0.67 GB Notification: Performance of sort global known variables: time 1.5e-07/1.149, allocations: 0 / 0.8611 GB, free: 207.4 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.002034/1.151, allocations: 0.7922 MB / 0.8619 GB, free: 207.4 MB / 0.67 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * Number of states: 1 (senRelHum.phi) * Number of discrete variables: 12 ($whenCondition1,$whenCondition2,mWatGai.a,mWatGai.b,mWatGai.last,mWatGai.nextEvent,mWatGai.nextEventScaled,mAirGai.a,mAirGai.b,mAirGai.last,mAirGai.nextEvent,mAirGai.nextEventScaled) * Number of discrete states: 12 (mAirGai.nextEvent,mAirGai.last,mAirGai.nextEventScaled,mAirGai.b,mAirGai.a,$whenCondition2,mWatGai.nextEvent,mWatGai.last,mWatGai.nextEventScaled,mWatGai.b,mWatGai.a,$whenCondition1) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (82): * Single equations (assignments): 78 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 2 * When equations: 0 * 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.001136/1.152, allocations: 0.5118 MB / 0.8624 GB, free: 207.3 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.004453/1.156, allocations: 2.262 MB / 0.8646 GB, free: 207.1 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 1.015e-05/1.156, allocations: 1.906 kB / 0.8646 GB, free: 207.1 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.001379/1.158, allocations: 0.7804 MB / 0.8654 GB, free: 206.9 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003458/1.161, allocations: 0.5098 MB / 0.8659 GB, free: 206.9 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00475/1.166, allocations: 2.992 MB / 0.8688 GB, free: 205.5 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000533/1.167, allocations: 1.151 MB / 0.8699 GB, free: 204.8 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005074/1.167, allocations: 121.6 kB / 0.8701 GB, free: 204.8 MB / 0.67 GB Notification: Performance of SimCode: time 4.3e-07/1.167, allocations: 0 / 0.8701 GB, free: 204.8 MB / 0.67 GB Notification: Performance of Templates: time 0.04138/1.209, allocations: 22.85 MB / 0.8924 GB, free: 202.8 MB / 0.67 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUMassFlow.makefile (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUMassFlow.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUMassFlow.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUMassFlow.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUMassFlow.sim & ./BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUMassFlow -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUMassFlow.pipe 2>&1)