Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildSysPro_BuildSysPro.BoundaryConditions.Scenarios.Examples.ComparisonDHWScenario.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.BoundaryConditions.Scenarios.Examples.ComparisonDHWScenario,tolerance=1e-06,outputFormat="empty",numberOfIntervals=105120,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.BoundaryConditions.Scenarios.Examples.ComparisonDHWScenario") translateModel(BuildSysPro.BoundaryConditions.Scenarios.Examples.ComparisonDHWScenario,tolerance=1e-06,outputFormat="empty",numberOfIntervals=105120,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.BoundaryConditions.Scenarios.Examples.ComparisonDHWScenario") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001213/0.001213, allocations: 105.8 kB / 16.37 MB, free: 5.547 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.00116/0.00116, allocations: 195.7 kB / 17.3 MB, free: 5.184 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.229/1.229, allocations: 222.9 MB / 241 MB, free: 15.18 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.8045/0.8045, allocations: 143.1 MB / 434.2 MB, free: 12.03 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001181/0.001181, allocations: 63.91 kB / 0.5156 GB, free: 14.5 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2821/0.2833, allocations: 82.04 MB / 0.5957 GB, free: 16.31 MB / 446.1 MB Notification: Performance of NFInst.instantiate(BuildSysPro.BoundaryConditions.Scenarios.Examples.ComparisonDHWScenario): time 0.003386/0.2867, allocations: 3.038 MB / 0.5987 GB, free: 13.27 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001915/0.2886, allocations: 1.96 MB / 0.6006 GB, free: 11.3 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001648/0.2888, allocations: 14.97 kB / 0.6006 GB, free: 11.29 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002642/0.2891, allocations: 95.11 kB / 0.6007 GB, free: 11.2 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003462/0.2894, allocations: 182.9 kB / 0.6008 GB, free: 11.02 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000509/0.2899, allocations: 374.9 kB / 0.6012 GB, free: 10.66 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003958/0.2903, allocations: 0.6171 MB / 0.6018 GB, free: 10.04 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003075/0.2907, allocations: 287.8 kB / 0.6021 GB, free: 9.766 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001327/0.2908, allocations: 223 kB / 0.6023 GB, free: 9.547 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002864/0.2911, allocations: 272 kB / 0.6026 GB, free: 9.281 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 5.495e-05/0.2912, allocations: 57.5 kB / 0.6026 GB, free: 9.227 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001344/0.2913, allocations: 112 kB / 0.6027 GB, free: 9.117 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001024/0.2914, allocations: 147.5 kB / 0.6029 GB, free: 8.973 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001299/0.2915, allocations: 266.4 kB / 0.6031 GB, free: 8.711 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004058/0.292, allocations: 0.7097 MB / 0.6038 GB, free: 8 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.037e-06/0.292, allocations: 0 / 0.6038 GB, free: 8 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.432e-06/0.292, allocations: 0 / 0.6038 GB, free: 8 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.242e-05/0.292, allocations: 0 / 0.6038 GB, free: 8 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 92 * Number of variables: 92 Notification: Performance of Generate backend data structure: time 0.000861/0.2929, allocations: 0.8631 MB / 0.6046 GB, free: 7.09 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.935e-05/0.2929, allocations: 8.75 kB / 0.6047 GB, free: 7.082 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002562/0.2932, allocations: 72.19 kB / 0.6047 GB, free: 7.012 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004426/0.2936, allocations: 471.2 kB / 0.6052 GB, free: 6.512 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.383e-05/0.2936, allocations: 33.38 kB / 0.6052 GB, free: 6.48 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.531e-05/0.2937, allocations: 36.12 kB / 0.6052 GB, free: 6.445 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004841/0.2942, allocations: 423.6 kB / 0.6056 GB, free: 6.004 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.101e-05/0.2942, allocations: 3.938 kB / 0.6056 GB, free: 6 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.713e-05/0.2942, allocations: 16 kB / 0.6057 GB, free: 5.984 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.773e-06/0.2942, allocations: 9.469 kB / 0.6057 GB, free: 5.977 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004095/0.2947, allocations: 311.6 kB / 0.606 GB, free: 5.676 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001202/0.2959, allocations: 1.208 MB / 0.6071 GB, free: 4.414 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004094/0.2963, allocations: 331.9 kB / 0.6075 GB, free: 4.074 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001491/0.2965, allocations: 122.3 kB / 0.6076 GB, free: 3.949 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.699e-05/0.2965, allocations: 13.56 kB / 0.6076 GB, free: 3.938 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.687e-05/0.2965, allocations: 34.8 kB / 0.6076 GB, free: 3.895 MB / 446.1 MB Notification: Performance of pre-optimization done (n=33): time 1.373e-06/0.2965, allocations: 1.531 kB / 0.6076 GB, free: 3.895 MB / 446.1 MB Notification: Performance of matching and sorting (n=33): time 0.0006078/0.2971, allocations: 396.4 kB / 0.608 GB, free: 3.504 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.542e-05/0.2972, allocations: 188.6 kB / 0.6082 GB, free: 3.277 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005039/0.2977, allocations: 0.5499 MB / 0.6087 GB, free: 2.719 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.994e-05/0.2977, allocations: 33.7 kB / 0.6088 GB, free: 2.68 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001139/0.2978, allocations: 269 kB / 0.609 GB, free: 2.414 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.028e-05/0.2979, allocations: 106.5 kB / 0.6091 GB, free: 2.309 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.878e-05/0.298, allocations: 59.47 kB / 0.6092 GB, free: 2.242 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 6.388e-05/0.298, allocations: 362.8 kB / 0.6095 GB, free: 1.879 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001495/0.2982, allocations: 101.7 kB / 0.6096 GB, free: 1.773 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001644/0.2984, allocations: 161.1 kB / 0.6098 GB, free: 1.594 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002765/0.2987, allocations: 231.6 kB / 0.61 GB, free: 1.359 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.934e-06/0.2987, allocations: 0 / 0.61 GB, free: 1.359 MB / 446.1 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0004053/0.2991, allocations: 320.8 kB / 0.6103 GB, free: 1.039 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.161e-05/0.2991, allocations: 9 kB / 0.6103 GB, free: 1.031 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.168e-06/0.2991, allocations: 0 / 0.6103 GB, free: 1.031 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.399e-05/0.2991, allocations: 5.25 kB / 0.6103 GB, free: 1.027 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001892/0.2993, allocations: 51.91 kB / 0.6104 GB, free: 0.9766 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.013e-06/0.2993, allocations: 4 kB / 0.6104 GB, free: 0.9727 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00015/0.2995, allocations: 36.3 kB / 0.6104 GB, free: 0.9375 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.916e-05/0.2995, allocations: 13.34 kB / 0.6104 GB, free: 0.9258 MB / 446.1 MB Warning: Assuming fixed start value for the following 2 variables: scenarioAutre.Conso:VARIABLE(flow=false fixed = true ) "Consumption en L" type: Real scenarioRT.ConsoECS:VARIABLE(flow=false fixed = true ) "Hot water consumption at 40°C [L]" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 5 (scenarioRT.booleanToReal.u,scenarioRT.greaterThreshold3.y,scenarioRT.greaterThreshold2.y,scenarioRT.greaterThreshold1.y,scenarioRT.greaterThreshold.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (35): * Single equations (assignments): 35 * Array equations: 0 * Algorithm blocks: 0 * 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.0002054/0.2997, allocations: 206.3 kB / 0.6106 GB, free: 0.7148 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.14e-05/0.2998, allocations: 55.34 kB / 0.6107 GB, free: 0.6602 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004978/0.3003, allocations: 343.6 kB / 0.611 GB, free: 328 kB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.787e-06/0.3003, allocations: 5.344 kB / 0.611 GB, free: 324 kB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.506e-06/0.3004, allocations: 0 / 0.611 GB, free: 324 kB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.719e-06/0.3004, allocations: 3.984 kB / 0.611 GB, free: 320 kB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004954/0.3009, allocations: 0.5166 MB / 0.6115 GB, free: 15.74 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.723e-06/0.3009, allocations: 1.938 kB / 0.6115 GB, free: 15.74 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002048/0.3011, allocations: 55.91 kB / 0.6116 GB, free: 15.69 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.655e-06/0.3011, allocations: 0 / 0.6116 GB, free: 15.69 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.004e-05/0.3011, allocations: 11.94 kB / 0.6116 GB, free: 15.68 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.184e-06/0.3011, allocations: 0 / 0.6116 GB, free: 15.68 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.174e-06/0.3011, allocations: 7.016 kB / 0.6116 GB, free: 15.67 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007451/0.3019, allocations: 0.624 MB / 0.6122 GB, free: 15.04 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.966e-05/0.302, allocations: 132.5 kB / 0.6123 GB, free: 14.89 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.245e-05/0.3021, allocations: 4.688 kB / 0.6123 GB, free: 14.88 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002057/0.3023, allocations: 25.48 kB / 0.6123 GB, free: 14.86 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.507e-05/0.3024, allocations: 27.95 kB / 0.6124 GB, free: 14.83 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.909e-05/0.3024, allocations: 12 kB / 0.6124 GB, free: 14.82 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0004413/0.3028, allocations: 408.3 kB / 0.6128 GB, free: 14.43 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.91e-07/0.3028, allocations: 3.938 kB / 0.6128 GB, free: 14.42 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.000389/0.3032, allocations: 95.59 kB / 0.6129 GB, free: 14.33 MB / 462.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 2 (scenarioRT.ConsoECS,scenarioAutre.Conso) * Number of discrete variables: 5 (scenarioRT.greaterThreshold.y,scenarioRT.greaterThreshold1.y,scenarioRT.greaterThreshold2.y,scenarioRT.greaterThreshold3.y,scenarioRT.booleanToReal.u) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (33): * Single equations (assignments): 33 * Array equations: 0 * Algorithm blocks: 0 * 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 Backend phase and start with SimCode phase: time 0.0008321/0.3041, allocations: 409.2 kB / 0.6132 GB, free: 14.11 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0004411/0.3045, allocations: 240.8 kB / 0.6135 GB, free: 13.88 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.3045, allocations: 0.6562 kB / 0.6135 GB, free: 13.88 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002169/0.3048, allocations: 140.4 kB / 0.6136 GB, free: 13.74 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005254/0.3053, allocations: 93.84 kB / 0.6137 GB, free: 13.66 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00115/0.3064, allocations: 0.8562 MB / 0.6145 GB, free: 12.77 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003824/0.3068, allocations: 0.8652 MB / 0.6154 GB, free: 11.88 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0002215/0.3071, allocations: 89.55 kB / 0.6155 GB, free: 11.8 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001195/0.3072, allocations: 52.97 kB / 0.6155 GB, free: 11.75 MB / 462.1 MB Notification: Performance of SimCode: time 2.61e-07/0.3072, allocations: 0 / 0.6155 GB, free: 11.75 MB / 462.1 MB Notification: Performance of Templates: time 0.008944/0.3162, allocations: 5.025 MB / 0.6204 GB, free: 6.789 MB / 462.1 MB make -j1 -f BuildSysPro_BuildSysPro.BoundaryConditions.Scenarios.Examples.ComparisonDHWScenario.makefile (rm -f BuildSysPro_BuildSysPro.BoundaryConditions.Scenarios.Examples.ComparisonDHWScenario.pipe ; mkfifo BuildSysPro_BuildSysPro.BoundaryConditions.Scenarios.Examples.ComparisonDHWScenario.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.BoundaryConditions.Scenarios.Examples.ComparisonDHWScenario.pipe >> ../files/BuildSysPro_BuildSysPro.BoundaryConditions.Scenarios.Examples.ComparisonDHWScenario.sim & ./BuildSysPro_BuildSysPro.BoundaryConditions.Scenarios.Examples.ComparisonDHWScenario -abortSlowSimulation -alarm=480 -s gbode -lv LOG_STATS > BuildSysPro_BuildSysPro.BoundaryConditions.Scenarios.Examples.ComparisonDHWScenario.pipe 2>&1)