Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildSysPro_BuildSysPro.Systems.HVAC.Production.WoodHeating.Examples.MozartWoodStove.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.Systems.HVAC.Production.WoodHeating.Examples.MozartWoodStove,tolerance=1e-06,outputFormat="empty",numberOfIntervals=52560,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.Systems.HVAC.Production.WoodHeating.Examples.MozartWoodStove") translateModel(BuildSysPro.Systems.HVAC.Production.WoodHeating.Examples.MozartWoodStove,tolerance=1e-06,outputFormat="empty",numberOfIntervals=52560,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.Systems.HVAC.Production.WoodHeating.Examples.MozartWoodStove") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001105/0.001106, allocations: 113.5 kB / 16.42 MB, free: 6.012 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.001133/0.001133, allocations: 182.2 kB / 17.35 MB, free: 5.629 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.316/1.316, allocations: 222.9 MB / 241 MB, free: 15.15 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.8707/0.8707, allocations: 143 MB / 434.3 MB, free: 12 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001265/0.001265, allocations: 64.38 kB / 0.5962 GB, free: 12.29 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.134/0.1353, allocations: 82.03 MB / 0.6763 GB, free: 10.34 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(BuildSysPro.Systems.HVAC.Production.WoodHeating.Examples.MozartWoodStove): time 0.04184/0.1772, allocations: 44.26 MB / 0.7195 GB, free: 13.9 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.02741/0.2046, allocations: 16.58 MB / 0.7357 GB, free: 13.27 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.008342/0.213, allocations: 246.8 kB / 0.736 GB, free: 13.02 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.002712/0.2158, allocations: 1.054 MB / 0.737 GB, free: 11.96 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.004569/0.2204, allocations: 1.75 MB / 0.7387 GB, free: 10.2 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.004662/0.2251, allocations: 2.17 MB / 0.7408 GB, free: 8.027 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.3229/0.5479, allocations: 12.82 MB / 0.7533 GB, free: 6.258 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.007012/0.555, allocations: 4.578 MB / 0.7578 GB, free: 5.293 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006392/0.5614, allocations: 4.202 MB / 0.7619 GB, free: 4.965 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.008353/0.5698, allocations: 4.508 MB / 0.7663 GB, free: 4.184 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.004229/0.574, allocations: 1.285 MB / 0.7676 GB, free: 4.18 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005758/0.5798, allocations: 1.678 MB / 0.7692 GB, free: 4.18 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.00405/0.5839, allocations: 2.515 MB / 0.7717 GB, free: 3.887 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.009475/0.5934, allocations: 4.9 MB / 0.7764 GB, free: 2.703 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.01619/0.6096, allocations: 15.78 MB / 0.7919 GB, free: 12.02 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 6.993e-06/0.6096, allocations: 6.875 kB / 0.7919 GB, free: 12.02 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.442e-06/0.6097, allocations: 4 kB / 0.7919 GB, free: 12.02 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 0.000359/0.61, allocations: 0 / 0.7919 GB, free: 12.02 MB / 0.5919 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1074 * Number of variables: 1074 Notification: Performance of Generate backend data structure: time 0.02845/0.6385, allocations: 10.88 MB / 0.8025 GB, free: 4.918 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.214e-05/0.6385, allocations: 8.531 kB / 0.8025 GB, free: 4.918 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002807/0.6414, allocations: 0.8369 MB / 0.8033 GB, free: 4.488 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01306/0.6544, allocations: 6.878 MB / 0.81 GB, free: 124 kB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009867/0.6554, allocations: 1.028 MB / 0.811 GB, free: 15.16 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001495/0.657, allocations: 440.8 kB / 0.8115 GB, free: 15.01 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01339/0.6703, allocations: 6.73 MB / 0.818 GB, free: 9.309 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.427e-05/0.6704, allocations: 0 / 0.818 GB, free: 9.309 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004789/0.6709, allocations: 160 kB / 0.8182 GB, free: 9.152 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.311e-05/0.671, allocations: 92 kB / 0.8183 GB, free: 9.062 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01283/0.6838, allocations: 6.471 MB / 0.8246 GB, free: 2.586 MB / 0.6075 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.05131/0.7352, allocations: 31.22 MB / 0.8551 GB, free: 1.828 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01986/0.7551, allocations: 9.143 MB / 0.864 GB, free: 8.688 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.007773/0.7629, allocations: 4.412 MB / 0.8683 GB, free: 4.266 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008642/0.7638, allocations: 0.5553 MB / 0.8689 GB, free: 3.602 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.007621/0.7714, allocations: 3.967 MB / 0.8727 GB, free: 15.6 MB / 0.67 GB Notification: Performance of pre-optimization done (n=459): time 7.364e-06/0.7715, allocations: 0 / 0.8727 GB, free: 15.6 MB / 0.67 GB Notification: Performance of matching and sorting (n=460): time 0.0733/0.8448, allocations: 31.64 MB / 0.9036 GB, free: 14.48 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000417/0.8452, allocations: 0.5566 MB / 0.9042 GB, free: 13.83 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01712/0.8624, allocations: 9.169 MB / 0.9131 GB, free: 4.664 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 0.001115/0.8635, allocations: 101.7 kB / 0.9132 GB, free: 4.559 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.003338/0.8669, allocations: 2.945 MB / 0.9161 GB, free: 1.598 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 0.002458/0.8693, allocations: 1.593 MB / 0.9177 GB, free: 20 kB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00168/0.871, allocations: 0.7237 MB / 0.9184 GB, free: 15.29 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 9.497e-05/0.8711, allocations: 301.2 kB / 0.9186 GB, free: 14.99 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006431/0.8776, allocations: 3.492 MB / 0.9221 GB, free: 11.49 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007008/0.8846, allocations: 3.911 MB / 0.9259 GB, free: 7.371 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.04817/0.9328, allocations: 18.04 MB / 0.9435 GB, free: 4.879 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.484e-05/0.9328, allocations: 4 kB / 0.9435 GB, free: 4.875 MB / 0.7325 GB Notification: Performance of matching and sorting (n=580) (initialization): time 0.02888/0.9617, allocations: 12.59 MB / 0.9558 GB, free: 8.273 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005057/0.9623, allocations: 466.5 kB / 0.9562 GB, free: 7.75 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.02595/0.9882, allocations: 12.57 MB / 0.9685 GB, free: 11.11 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01297/1.001, allocations: 4.78 MB / 0.9732 GB, free: 6.297 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005832/1.007, allocations: 0.9626 MB / 0.9741 GB, free: 5.359 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.06546/1.073, allocations: 51.45 MB / 1.024 GB, free: 0.5547 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00649/1.079, allocations: 0.4993 MB / 1.025 GB, free: 56 kB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001224/1.08, allocations: 168.4 kB / 1.025 GB, free: 15.89 MB / 0.8262 GB Warning: Assuming fixed start value for the following 11 variables: poelAvecRegulation.pB50_stove.mF:VARIABLE(min = 0.0 start = 5.0 unit = "kg" fixed = true ) "Mass of smoke" type: Real poelAvecRegulation.NbCh:DISCRETE(fixed = true ) type: Integer cas1aAvecFlux1.noeudAir.VolAir.T:VARIABLE(min = 0.0 start = cas1aAvecFlux1.noeudAir.Tair unit = "K" fixed = true nominal = 300.0 protected = true ) "Temperature of the element" type: Real poelAvecRegulation.pB50_stove.mE:VARIABLE(min = 0.0 start = poelAvecRegulation.pB50_stove.H * poelAvecRegulation.pB50_stove.mL0 / 100.0 unit = "kg" fixed = true ) "Mass of water in the wood" type: Real poelAvecRegulation.pB50_stove.mB:VARIABLE(min = 0.0 start = poelAvecRegulation.pB50_stove.mB0 unit = "kg" fixed = true ) "Mass of dry wood" type: Real poelAvecRegulation.pB50_stove.T_L:VARIABLE(min = 0.0 start = 293.15 unit = "K" fixed = true nominal = 300.0 ) "Wood temperature" type: Real poelAvecRegulation.pB50_stove.T_G:VARIABLE(min = 0.0 start = 293.15 unit = "K" fixed = true nominal = 300.0 ) "Gas temperature" type: Real poelAvecRegulation.pB50_stove.T_P:VARIABLE(min = 0.0 start = 293.15 unit = "K" fixed = true nominal = 300.0 ) "Stove's side temperature" type: Real poelAvecRegulation.pB50_controller.presence:DISCRETE(flow=false fixed = true ) "Indicates if the user is present in the house" type: Boolean poelAvecRegulation.pB50_stove.demarrage:DISCRETE(fixed = true ) "true only during the start phase" type: Integer poelAvecRegulation.pB50_stove.tCharge:DISCRETE(fixed = true ) "Moment when wood is inserted into the stove" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 61 * Number of states: 0 () * Number of discrete variables: 21 ($PRE.poelAvecRegulation.NbCh,poelAvecRegulation.NbCh,booleanExpression1.y,cas1aAvecFlux1.FenEst.ouverture_internal,cas1aAvecFlux1.FenNord.ouverture_internal,cas1aAvecFlux1.FenOuest.ouverture_internal,cas1aAvecFlux1.FenSud.ouverture_internal,$PRE.poelAvecRegulation.pB50_controller.presence,$PRE.poelAvecRegulation.pB50_stove.demarrage,$PRE.poelAvecRegulation.pB50_stove.tCharge,poelAvecRegulation.pB50_controller.presence,poelAvecRegulation.pB50_stove.demarrage,poelAvecRegulation.pB50_stove.tCharge,meteofile.longitude,meteofile.latitude,meteofile.CoupleFlux,meteofile.d0,meteofile.h0,meteofile.t0,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (270): * Single equations (assignments): 246 * Array equations: 0 * Algorithm blocks: 11 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 11 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 1 system {(3,66.7%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 10 systems {(1,29,100.0%), (1,36,100.0%), (1,9,100.0%), (1,29,100.0%), (1,9,100.0%), (1,29,100.0%), (1,9,100.0%), (1,29,100.0%), (1,9,100.0%), (1,21,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,2)} Notification: Performance of prepare postOptimizeDAE: time 0.005852/1.086, allocations: 2.988 MB / 1.028 GB, free: 12.87 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002185/1.088, allocations: 0.6561 MB / 1.029 GB, free: 12.21 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02617/1.115, allocations: 12.23 MB / 1.041 GB, free: 15.8 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.218e-05/1.115, allocations: 15.94 kB / 1.041 GB, free: 15.78 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.02326/1.138, allocations: 11.19 MB / 1.051 GB, free: 4.402 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005616/1.144, allocations: 1.957 MB / 1.053 GB, free: 2.414 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002486/1.146, allocations: 171.9 kB / 1.054 GB, free: 2.246 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005099/1.151, allocations: 475.3 kB / 1.054 GB, free: 1.781 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001216/1.152, allocations: 442.1 kB / 1.054 GB, free: 1.348 MB / 0.8419 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.3405/1.493, allocations: 15.36 MB / 1.069 GB, free: 303.2 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.02442/1.517, allocations: 15.04 MB / 1.084 GB, free: 297.2 MB / 0.8419 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.007449/1.525, allocations: 6.917 MB / 1.091 GB, free: 293.5 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.009789/1.535, allocations: 6.443 MB / 1.097 GB, free: 291 MB / 0.8419 GB Notification: Performance of Backend: time 9.72e-07/1.535, allocations: 0 / 1.097 GB, free: 291 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.02227/1.557, allocations: 12.61 MB / 1.109 GB, free: 284 MB / 0.8419 GB Notification: Performance of SimCode: time 0.02555/1.583, allocations: 19.76 MB / 1.129 GB, free: 267.9 MB / 0.8419 GB Notification: Performance of Templates: time 0.1662/1.749, allocations: 140 MB / 1.265 GB, free: 129.3 MB / 0.8419 GB make -j1 -f BuildSysPro_BuildSysPro.Systems.HVAC.Production.WoodHeating.Examples.MozartWoodStove.makefile (rm -f BuildSysPro_BuildSysPro.Systems.HVAC.Production.WoodHeating.Examples.MozartWoodStove.pipe ; mkfifo BuildSysPro_BuildSysPro.Systems.HVAC.Production.WoodHeating.Examples.MozartWoodStove.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.Systems.HVAC.Production.WoodHeating.Examples.MozartWoodStove.pipe >> ../files/BuildSysPro_BuildSysPro.Systems.HVAC.Production.WoodHeating.Examples.MozartWoodStove.sim & ./BuildSysPro_BuildSysPro.Systems.HVAC.Production.WoodHeating.Examples.MozartWoodStove -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.Systems.HVAC.Production.WoodHeating.Examples.MozartWoodStove.pipe 2>&1)