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.001134/0.001134, allocations: 113.7 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.001072/0.001072, allocations: 189.5 kB / 17.34 MB, free: 5.73 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.336/1.336, allocations: 222.9 MB / 241 MB, free: 15.11 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.854/0.854, allocations: 143.1 MB / 434.3 MB, free: 12.02 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001268/0.001268, allocations: 68.11 kB / 0.5962 GB, free: 12.33 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1319/0.1332, allocations: 82.04 MB / 0.6763 GB, free: 10.39 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(BuildSysPro.Systems.HVAC.Emission.Examples.MozartJoulePIControlled): time 0.04466/0.1779, allocations: 45.56 MB / 0.7208 GB, free: 12.64 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.02993/0.2078, allocations: 17.04 MB / 0.7374 GB, free: 11.54 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.008641/0.2165, allocations: 262.8 kB / 0.7377 GB, free: 11.29 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.003353/0.2199, allocations: 1.131 MB / 0.7388 GB, free: 10.14 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.005587/0.2255, allocations: 1.804 MB / 0.7405 GB, free: 8.328 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.00578/0.2313, allocations: 2.302 MB / 0.7428 GB, free: 6.027 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.3122/0.5436, allocations: 12.9 MB / 0.7554 GB, free: 6.891 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.009348/0.553, allocations: 5.305 MB / 0.7606 GB, free: 5.688 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005979/0.559, allocations: 4.203 MB / 0.7647 GB, free: 5.297 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007639/0.5666, allocations: 4.498 MB / 0.7691 GB, free: 4.469 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0037/0.5704, allocations: 1.277 MB / 0.7703 GB, free: 4.469 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005325/0.5757, allocations: 1.689 MB / 0.772 GB, free: 4.469 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.00391/0.5796, allocations: 2.539 MB / 0.7744 GB, free: 4.152 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.009317/0.589, allocations: 4.999 MB / 0.7793 GB, free: 2.027 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.01777/0.6068, allocations: 15.87 MB / 0.7948 GB, free: 10.91 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 5.4e-06/0.6068, allocations: 2.812 kB / 0.7948 GB, free: 10.91 MB / 0.5919 GB Notification: Performance of FrontEnd: time 3.256e-06/0.6068, allocations: 3.984 kB / 0.7948 GB, free: 10.91 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 0.0003928/0.6072, allocations: 0 / 0.7948 GB, free: 10.91 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.02726/0.6345, allocations: 10.94 MB / 0.8055 GB, free: 3.625 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.963e-05/0.6345, allocations: 8.562 kB / 0.8055 GB, free: 3.625 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00323/0.6378, allocations: 0.8893 MB / 0.8064 GB, free: 3.168 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01328/0.6511, allocations: 7.076 MB / 0.8133 GB, free: 14.49 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006201/0.6517, allocations: 0.5356 MB / 0.8138 GB, free: 13.9 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001594/0.6533, allocations: 463.6 kB / 0.8143 GB, free: 13.45 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.016/0.6693, allocations: 6.719 MB / 0.8208 GB, free: 6.641 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001183/0.6695, allocations: 0 / 0.8208 GB, free: 6.641 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001133/0.6706, allocations: 180 kB / 0.821 GB, free: 6.465 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.959e-05/0.6707, allocations: 99.94 kB / 0.8211 GB, free: 6.367 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0134/0.6841, allocations: 6.254 MB / 0.8272 GB, free: 100 kB / 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.04927/0.7334, allocations: 30.99 MB / 0.8575 GB, free: 15.56 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01927/0.7527, allocations: 8.916 MB / 0.8662 GB, free: 6.672 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006963/0.7597, allocations: 4.19 MB / 0.8703 GB, free: 2.473 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008966/0.7606, allocations: 0.5579 MB / 0.8708 GB, free: 1.809 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.007029/0.7677, allocations: 3.735 MB / 0.8745 GB, free: 14.04 MB / 0.67 GB Notification: Performance of pre-optimization done (n=459): time 6.723e-06/0.7677, allocations: 0 / 0.8745 GB, free: 14.04 MB / 0.67 GB Notification: Performance of matching and sorting (n=459): time 0.04329/0.811, allocations: 20.55 MB / 0.8945 GB, free: 8.227 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003729/0.8114, allocations: 0.6609 MB / 0.8952 GB, free: 7.441 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01835/0.8298, allocations: 9.479 MB / 0.9044 GB, free: 13.98 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 0.0009146/0.8307, allocations: 101.7 kB / 0.9045 GB, free: 13.88 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.003572/0.8343, allocations: 3.126 MB / 0.9076 GB, free: 10.74 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 0.00236/0.8366, allocations: 1.568 MB / 0.9091 GB, free: 9.184 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002301/0.839, allocations: 0.7213 MB / 0.9098 GB, free: 8.453 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 8.925e-05/0.8391, allocations: 305.1 kB / 0.9101 GB, free: 8.152 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005959/0.845, allocations: 3.283 MB / 0.9133 GB, free: 4.852 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006221/0.8513, allocations: 3.681 MB / 0.9169 GB, free: 0.9805 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.03396/0.8852, allocations: 15.85 MB / 0.9324 GB, free: 0.6523 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.438e-05/0.8853, allocations: 0 / 0.9324 GB, free: 0.6523 MB / 0.7169 GB Notification: Performance of matching and sorting (n=568) (initialization): time 0.02602/0.9113, allocations: 11.98 MB / 0.9441 GB, free: 4.645 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004166/0.9118, allocations: 496.2 kB / 0.9446 GB, free: 4.086 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.02378/0.9356, allocations: 12 MB / 0.9563 GB, free: 8.008 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01239/0.948, allocations: 4.311 MB / 0.9605 GB, free: 3.672 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001812/0.9498, allocations: 385.3 kB / 0.9609 GB, free: 3.32 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.06842/1.018, allocations: 51.66 MB / 1.011 GB, free: 14.31 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006086/1.024, allocations: 0.6908 MB / 1.012 GB, free: 13.61 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009269/1.025, allocations: 160 kB / 1.012 GB, free: 13.46 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.01055/1.036, allocations: 5.669 MB / 1.018 GB, free: 7.77 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.006303/1.042, allocations: 3.667 MB / 1.021 GB, free: 3.914 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.03439/1.077, allocations: 15.82 MB / 1.037 GB, free: 3.629 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.425e-05/1.077, allocations: 4 kB / 1.037 GB, free: 3.625 MB / 0.8262 GB Notification: Performance of matching and sorting (n=568) (initialization_lambda0): time 0.0252/1.102, allocations: 11.95 MB / 1.048 GB, free: 7.645 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003975/1.102, allocations: 499 kB / 1.049 GB, free: 7.086 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.3218/1.424, allocations: 11.97 MB / 1.061 GB, free: 302.1 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01415/1.438, allocations: 4.306 MB / 1.065 GB, free: 301.9 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001865/1.44, allocations: 391.4 kB / 1.065 GB, free: 301.9 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05944/1.5, allocations: 51.64 MB / 1.116 GB, free: 271.4 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005989/1.506, allocations: 0.6597 MB / 1.116 GB, free: 271.3 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009643/1.507, allocations: 163.1 kB / 1.116 GB, free: 271.3 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.001954/1.509, allocations: 0.883 MB / 1.117 GB, free: 270.6 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002401/1.511, allocations: 0.6765 MB / 1.118 GB, free: 270.6 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02073/1.532, allocations: 11.64 MB / 1.129 GB, free: 265.2 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.09e-05/1.532, allocations: 15.94 kB / 1.129 GB, free: 265.2 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.01738/1.549, allocations: 10.63 MB / 1.14 GB, free: 255.4 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005118/1.554, allocations: 2.02 MB / 1.142 GB, free: 253.5 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00287/1.557, allocations: 163.9 kB / 1.142 GB, free: 253.3 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005387/1.563, allocations: 447 kB / 1.142 GB, free: 252.9 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001367/1.564, allocations: 398.7 kB / 1.143 GB, free: 252.5 MB / 0.8419 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.02642/1.591, allocations: 14.7 MB / 1.157 GB, free: 237.5 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.02086/1.611, allocations: 14.47 MB / 1.171 GB, free: 222.9 MB / 0.8419 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.006376/1.618, allocations: 6.692 MB / 1.178 GB, free: 216.2 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.01062/1.628, allocations: 6.66 MB / 1.184 GB, free: 209.6 MB / 0.8419 GB Notification: Performance of Backend: time 7.92e-07/1.629, allocations: 0 / 1.184 GB, free: 209.6 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.03611/1.665, allocations: 23.4 MB / 1.207 GB, free: 185.9 MB / 0.8419 GB Notification: Performance of SimCode: time 0.02883/1.694, allocations: 20.16 MB / 1.227 GB, free: 165.7 MB / 0.8419 GB Notification: Performance of Templates: time 0.5078/2.201, allocations: 172.3 MB / 1.395 GB, free: 285.3 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)