Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildSysPro_BuildSysPro.Systems.HVAC.Emission.Examples.MozartJoulePIControlled.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.Emission.Examples.MozartJoulePIControlled,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2102400,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.Systems.HVAC.Emission.Examples.MozartJoulePIControlled") translateModel(BuildSysPro.Systems.HVAC.Emission.Examples.MozartJoulePIControlled,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2102400,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.Systems.HVAC.Emission.Examples.MozartJoulePIControlled") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001267/0.001267, allocations: 111.4 kB / 16.42 MB, free: 6.445 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.001321/0.001321, allocations: 189.4 kB / 17.35 MB, free: 5.703 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.292/1.292, 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.8406/0.8406, allocations: 143.1 MB / 434.3 MB, free: 12 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001142/0.001142, allocations: 55.72 kB / 0.5962 GB, free: 12.33 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1284/0.1295, allocations: 82.04 MB / 0.6763 GB, free: 10.38 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(BuildSysPro.Systems.HVAC.Emission.Examples.MozartJoulePIControlled): time 0.04249/0.1721, allocations: 45.57 MB / 0.7208 GB, free: 12.62 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.02951/0.2016, allocations: 17.05 MB / 0.7374 GB, free: 11.52 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.008879/0.2105, allocations: 262.8 kB / 0.7377 GB, free: 11.27 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.003303/0.2139, allocations: 1.127 MB / 0.7388 GB, free: 10.13 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.005489/0.2194, allocations: 1.8 MB / 0.7405 GB, free: 8.316 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.005648/0.2251, allocations: 2.295 MB / 0.7428 GB, free: 6.023 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.3123/0.5374, allocations: 12.91 MB / 0.7554 GB, free: 6.223 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.006854/0.5443, allocations: 5.302 MB / 0.7606 GB, free: 5.027 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005343/0.5497, allocations: 4.2 MB / 0.7647 GB, free: 4.637 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007254/0.5569, allocations: 4.498 MB / 0.7691 GB, free: 3.809 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.003365/0.5603, allocations: 1.277 MB / 0.7703 GB, free: 3.809 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004416/0.5648, allocations: 1.688 MB / 0.772 GB, free: 3.809 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.00239/0.5672, allocations: 2.534 MB / 0.7744 GB, free: 3.496 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.006452/0.5736, allocations: 5 MB / 0.7793 GB, free: 1.699 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.01302/0.5866, allocations: 15.87 MB / 0.7948 GB, free: 10.6 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 4.228e-06/0.5867, allocations: 0 / 0.7948 GB, free: 10.6 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.273e-06/0.5867, allocations: 0 / 0.7948 GB, free: 10.6 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 0.0002479/0.5869, allocations: 0 / 0.7948 GB, free: 10.6 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: 1142 * Number of variables: 1142 Notification: Performance of Generate backend data structure: time 0.02253/0.6095, allocations: 10.95 MB / 0.8055 GB, free: 3.312 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.83e-05/0.6095, allocations: 7.5 kB / 0.8055 GB, free: 3.312 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002263/0.6118, allocations: 0.8864 MB / 0.8064 GB, free: 2.855 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01249/0.6243, allocations: 7.068 MB / 0.8133 GB, free: 14.23 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004944/0.6248, allocations: 0.5395 MB / 0.8138 GB, free: 13.64 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009807/0.6258, allocations: 471.7 kB / 0.8143 GB, free: 13.18 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0115/0.6373, allocations: 6.711 MB / 0.8208 GB, free: 6.379 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.49e-05/0.6374, allocations: 3.984 kB / 0.8208 GB, free: 6.375 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004651/0.6379, allocations: 172 kB / 0.821 GB, free: 6.207 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.772e-05/0.6379, allocations: 103.9 kB / 0.8211 GB, free: 6.105 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01046/0.6484, allocations: 6.258 MB / 0.8272 GB, free: 15.83 MB / 0.6231 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.04361/0.692, allocations: 30.99 MB / 0.8575 GB, free: 15.31 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01693/0.709, allocations: 8.913 MB / 0.8662 GB, free: 6.422 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005753/0.7148, allocations: 4.194 MB / 0.8703 GB, free: 2.219 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007209/0.7155, allocations: 0.5515 MB / 0.8708 GB, free: 1.559 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00583/0.7213, allocations: 3.742 MB / 0.8744 GB, free: 13.78 MB / 0.67 GB Notification: Performance of pre-optimization done (n=459): time 6.562e-06/0.7214, allocations: 0 / 0.8744 GB, free: 13.78 MB / 0.67 GB Notification: Performance of matching and sorting (n=459): time 0.03908/0.7604, allocations: 20.57 MB / 0.8945 GB, free: 7.961 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003409/0.7608, allocations: 0.6609 MB / 0.8952 GB, free: 7.176 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01681/0.7776, allocations: 9.48 MB / 0.9044 GB, free: 13.71 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 0.0006332/0.7783, allocations: 101.6 kB / 0.9045 GB, free: 13.61 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.003223/0.7815, allocations: 3.116 MB / 0.9076 GB, free: 10.48 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 0.001916/0.7834, allocations: 1.573 MB / 0.9091 GB, free: 8.918 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001783/0.7852, allocations: 0.7213 MB / 0.9098 GB, free: 8.188 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 8.593e-05/0.7853, allocations: 309.1 kB / 0.9101 GB, free: 7.883 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005458/0.7908, allocations: 3.279 MB / 0.9133 GB, free: 4.586 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005652/0.7965, allocations: 3.678 MB / 0.9169 GB, free: 0.7148 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.03055/0.827, allocations: 15.86 MB / 0.9324 GB, free: 392 kB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.422e-05/0.8271, allocations: 4 kB / 0.9324 GB, free: 388 kB / 0.7169 GB Notification: Performance of matching and sorting (n=568) (initialization): time 0.02262/0.8497, allocations: 11.98 MB / 0.9441 GB, free: 4.371 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003254/0.85, allocations: 499.1 kB / 0.9446 GB, free: 3.812 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.02033/0.8704, allocations: 11.99 MB / 0.9563 GB, free: 7.746 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01089/0.8813, allocations: 4.306 MB / 0.9605 GB, free: 3.414 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001597/0.8829, allocations: 398.8 kB / 0.9609 GB, free: 3.051 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.06252/0.9454, allocations: 51.66 MB / 1.011 GB, free: 14.05 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005853/0.9513, allocations: 0.6909 MB / 1.012 GB, free: 13.35 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008261/0.9522, allocations: 164 kB / 1.012 GB, free: 13.19 MB / 0.8106 GB Warning: Assuming fixed start value for the following 5 variables: scenarioRT.ConsoECS:VARIABLE(flow=false fixed = true ) "Hot water consumption at 40°C [L]" type: Real integraleHoraire.preIt:DISCRETE(start = 0.0 fixed = true ) "Total integral at the previous time step Dt" type: Real convThermPI.PI1.I.y:VARIABLE(flow=false start = convThermPI.PI1.I.y_start fixed = true protected = true ) "Connector of Real output signal" type: Real convThermPI.firstOrder.y:VARIABLE(flow=false start = convThermPI.firstOrder.y_start fixed = true protected = true ) "Connector of Real output signal" type: Real 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 Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.009696/0.9619, allocations: 5.67 MB / 1.018 GB, free: 7.504 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.005639/0.9675, allocations: 3.664 MB / 1.021 GB, free: 3.652 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.02994/0.9975, allocations: 15.82 MB / 1.037 GB, free: 3.355 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 9.858e-06/0.9975, allocations: 0 / 1.037 GB, free: 3.355 MB / 0.8262 GB Notification: Performance of matching and sorting (n=568) (initialization_lambda0): time 0.02224/1.02, allocations: 11.96 MB / 1.048 GB, free: 7.375 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003062/1.02, allocations: 492.2 kB / 1.049 GB, free: 6.82 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.3064/1.326, allocations: 11.96 MB / 1.061 GB, free: 301.4 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01223/1.339, allocations: 4.31 MB / 1.065 GB, free: 301.3 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001759/1.341, allocations: 386.9 kB / 1.065 GB, free: 301.3 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05383/1.394, allocations: 51.64 MB / 1.116 GB, free: 270.9 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005738/1.4, allocations: 0.6616 MB / 1.116 GB, free: 270.9 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004263/1.401, allocations: 163.2 kB / 1.116 GB, free: 270.8 MB / 0.8419 GB Warning: Assuming fixed start value for the following 5 variables: scenarioRT.ConsoECS:VARIABLE(flow=false fixed = true ) "Hot water consumption at 40°C [L]" type: Real integraleHoraire.preIt:DISCRETE(start = 0.0 fixed = true ) "Total integral at the previous time step Dt" type: Real convThermPI.PI1.I.y:VARIABLE(flow=false start = convThermPI.PI1.I.y_start fixed = true protected = true ) "Connector of Real output signal" type: Real convThermPI.firstOrder.y:VARIABLE(flow=false start = convThermPI.firstOrder.y_start fixed = true protected = true ) "Connector of Real output signal" type: Real 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 Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 54 * Number of states: 0 () * Number of discrete variables: 19 (cas1aAvecFlux1.FenEst.ouverture_internal,cas1aAvecFlux1.FenNord.ouverture_internal,cas1aAvecFlux1.FenOuest.ouverture_internal,cas1aAvecFlux1.FenSud.ouverture_internal,$PRE.integraleHoraire.preIt,scenarioRT.booleanToReal.u,scenarioRT.greaterThreshold3.y,scenarioRT.greaterThreshold2.y,scenarioRT.greaterThreshold1.y,scenarioRT.greaterThreshold.y,integraleHoraire.preIt,meteofile.longitude,meteofile.latitude,meteofile.CoupleFlux,meteofile.d0,meteofile.h0,meteofile.t0,$whenCondition1,convThermPI.PI1.I.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (258): * Single equations (assignments): 234 * Array equations: 0 * Algorithm blocks: 12 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 11 * Mixed (continuous/discrete) equation systems: 0 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,9,100.0%), (1,29,100.0%), (1,9,100.0%), (1,29,100.0%), (1,9,100.0%), (1,29,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.001099/1.402, allocations: 0.8816 MB / 1.117 GB, free: 270.1 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001212/1.403, allocations: 0.6803 MB / 1.118 GB, free: 270.1 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01758/1.42, allocations: 11.63 MB / 1.129 GB, free: 264.8 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.864e-05/1.421, allocations: 23.12 kB / 1.129 GB, free: 264.7 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.01513/1.436, allocations: 10.63 MB / 1.14 GB, free: 254.9 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004673/1.44, allocations: 2.025 MB / 1.142 GB, free: 253 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001286/1.442, allocations: 167.9 kB / 1.142 GB, free: 252.9 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003486/1.445, allocations: 442.2 kB / 1.142 GB, free: 252.4 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007362/1.446, allocations: 402.1 kB / 1.143 GB, free: 252 MB / 0.8419 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.02195/1.468, allocations: 14.69 MB / 1.157 GB, free: 237.1 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.01701/1.485, allocations: 14.47 MB / 1.171 GB, free: 222.5 MB / 0.8419 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.005224/1.49, allocations: 6.689 MB / 1.178 GB, free: 215.8 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.009411/1.5, allocations: 6.664 MB / 1.184 GB, free: 209.1 MB / 0.8419 GB Notification: Performance of Backend: time 1.723e-06/1.5, allocations: 0 / 1.184 GB, free: 209.1 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.03017/1.53, allocations: 23.42 MB / 1.207 GB, free: 185.4 MB / 0.8419 GB Notification: Performance of SimCode: time 0.02423/1.554, allocations: 20.14 MB / 1.227 GB, free: 165.3 MB / 0.8419 GB Notification: Performance of Templates: time 0.4694/2.023, allocations: 172.3 MB / 1.395 GB, free: 284.9 MB / 0.8419 GB make -j1 -f BuildSysPro_BuildSysPro.Systems.HVAC.Emission.Examples.MozartJoulePIControlled.makefile (rm -f BuildSysPro_BuildSysPro.Systems.HVAC.Emission.Examples.MozartJoulePIControlled.pipe ; mkfifo BuildSysPro_BuildSysPro.Systems.HVAC.Emission.Examples.MozartJoulePIControlled.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.Systems.HVAC.Emission.Examples.MozartJoulePIControlled.pipe >> ../files/BuildSysPro_BuildSysPro.Systems.HVAC.Emission.Examples.MozartJoulePIControlled.sim & ./BuildSysPro_BuildSysPro.Systems.HVAC.Emission.Examples.MozartJoulePIControlled -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.Systems.HVAC.Emission.Examples.MozartJoulePIControlled.pipe 2>&1)