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.005053/0.005053, allocations: 105.4 kB / 15.74 MB, free: 6.008 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.001164/0.001164, allocations: 199.9 kB / 16.68 MB, free: 5.93 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.26/1.26, allocations: 222.9 MB / 240.4 MB, free: 4.145 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 0.9268/0.9268, allocations: 143 MB / 433.6 MB, free: 11.39 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001099/0.001099, allocations: 59.91 kB / 0.5955 GB, free: 8.422 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3621/0.3632, allocations: 82.02 MB / 0.6756 GB, free: 1.422 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.BoundaryConditions.Scenarios.Examples.ComparisonDHWScenario): time 0.003757/0.367, allocations: 3.047 MB / 0.6786 GB, free: 15.02 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.002827/0.3698, allocations: 1.963 MB / 0.6805 GB, free: 13.45 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002613/0.3701, allocations: 5.938 kB / 0.6805 GB, free: 13.45 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.0003226/0.3705, allocations: 94.17 kB / 0.6806 GB, free: 13.36 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.0004517/0.371, allocations: 181.6 kB / 0.6808 GB, free: 13.21 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006895/0.3717, allocations: 377.6 kB / 0.6811 GB, free: 12.94 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.0006091/0.3723, allocations: 0.6207 MB / 0.6817 GB, free: 12.54 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003982/0.3727, allocations: 292.9 kB / 0.682 GB, free: 12.36 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002088/0.3729, allocations: 230 kB / 0.6822 GB, free: 12.2 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003695/0.3733, allocations: 265.7 kB / 0.6825 GB, free: 12.01 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 8.867e-05/0.3734, allocations: 58.41 kB / 0.6825 GB, free: 12.01 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000204/0.3736, allocations: 118.5 kB / 0.6826 GB, free: 11.98 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0001402/0.3737, allocations: 142 kB / 0.6828 GB, free: 11.87 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0002042/0.3739, allocations: 275 kB / 0.683 GB, free: 11.64 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0006749/0.3746, allocations: 0.71 MB / 0.6837 GB, free: 11.1 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 3.867e-06/0.3746, allocations: 0 / 0.6837 GB, free: 11.1 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.523e-06/0.3747, allocations: 0 / 0.6837 GB, free: 11.1 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 8.316e-06/0.3747, allocations: 1.375 kB / 0.6837 GB, free: 11.1 MB / 0.5137 GB 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.001092/0.3758, allocations: 0.8488 MB / 0.6846 GB, free: 10.36 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.171e-05/0.3758, allocations: 13.62 kB / 0.6846 GB, free: 10.36 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002918/0.3761, allocations: 77.22 kB / 0.6847 GB, free: 10.32 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005229/0.3766, allocations: 465.6 kB / 0.6851 GB, free: 9.906 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.738e-05/0.3767, allocations: 29.88 kB / 0.6851 GB, free: 9.895 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.362e-05/0.3767, allocations: 43.41 kB / 0.6852 GB, free: 9.875 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006158/0.3774, allocations: 420.9 kB / 0.6856 GB, free: 9.594 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.04e-05/0.3774, allocations: 4 kB / 0.6856 GB, free: 9.59 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.37e-05/0.3774, allocations: 16.16 kB / 0.6856 GB, free: 9.578 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.427e-06/0.3774, allocations: 8.344 kB / 0.6856 GB, free: 9.578 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005178/0.3779, allocations: 314 kB / 0.6859 GB, free: 9.426 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00155/0.3795, allocations: 1.201 MB / 0.6871 GB, free: 8.461 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005176/0.38, allocations: 341.8 kB / 0.6874 GB, free: 8.27 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001794/0.3802, allocations: 119.6 kB / 0.6875 GB, free: 8.199 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 4.518e-05/0.3803, allocations: 13.33 kB / 0.6875 GB, free: 8.191 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.814e-05/0.3803, allocations: 42.52 kB / 0.6876 GB, free: 8.145 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=33): time 1.693e-06/0.3803, allocations: 0 / 0.6876 GB, free: 8.145 MB / 0.5137 GB Notification: Performance of matching and sorting (n=33): time 0.0007311/0.3811, allocations: 393.8 kB / 0.6879 GB, free: 7.945 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.116e-05/0.3812, allocations: 188.1 kB / 0.6881 GB, free: 7.723 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006698/0.3818, allocations: 0.5554 MB / 0.6887 GB, free: 7.391 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 2.733e-05/0.3819, allocations: 34.77 kB / 0.6887 GB, free: 7.352 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001841/0.3821, allocations: 261.5 kB / 0.6889 GB, free: 7.121 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 8.399e-05/0.3822, allocations: 111.7 kB / 0.689 GB, free: 7.023 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.731e-05/0.3822, allocations: 57.16 kB / 0.6891 GB, free: 6.98 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001331/0.3824, allocations: 363.7 kB / 0.6895 GB, free: 6.629 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001817/0.3826, allocations: 106.2 kB / 0.6896 GB, free: 6.57 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002079/0.3828, allocations: 157.2 kB / 0.6897 GB, free: 6.449 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003441/0.3831, allocations: 229.8 kB / 0.6899 GB, free: 6.312 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.635e-06/0.3832, allocations: 1.531 kB / 0.6899 GB, free: 6.312 MB / 0.5137 GB Notification: Performance of matching and sorting (n=35) (initialization): time 0.000497/0.3837, allocations: 320.2 kB / 0.6902 GB, free: 6.141 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.424e-05/0.3837, allocations: 5.25 kB / 0.6902 GB, free: 6.141 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.65e-06/0.3837, allocations: 1.375 kB / 0.6902 GB, free: 6.141 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.427e-05/0.3837, allocations: 6.156 kB / 0.6902 GB, free: 6.137 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000222/0.3839, allocations: 53.44 kB / 0.6903 GB, free: 6.125 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.073e-06/0.384, allocations: 2.469 kB / 0.6903 GB, free: 6.125 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001843/0.3841, allocations: 41.83 kB / 0.6903 GB, free: 6.098 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.284e-05/0.3842, allocations: 16.48 kB / 0.6903 GB, free: 6.09 MB / 0.5137 GB 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.0002572/0.3844, allocations: 198.9 kB / 0.6905 GB, free: 5.922 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001072/0.3846, allocations: 52.88 kB / 0.6906 GB, free: 5.895 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006001/0.3852, allocations: 356.1 kB / 0.6909 GB, free: 5.684 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.25e-06/0.3852, allocations: 3.562 kB / 0.6909 GB, free: 5.684 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.819e-06/0.3852, allocations: 1.188 kB / 0.6909 GB, free: 5.684 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.891e-06/0.3852, allocations: 3.984 kB / 0.6909 GB, free: 5.68 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005833/0.3858, allocations: 0.5099 MB / 0.6914 GB, free: 5.246 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.257e-06/0.3858, allocations: 5.453 kB / 0.6914 GB, free: 5.242 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002075/0.386, allocations: 51.27 kB / 0.6915 GB, free: 5.23 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.977e-06/0.386, allocations: 3.219 kB / 0.6915 GB, free: 5.23 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.996e-05/0.386, allocations: 15.83 kB / 0.6915 GB, free: 5.219 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.405e-06/0.3861, allocations: 0 / 0.6915 GB, free: 5.219 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-06/0.3861, allocations: 0 / 0.6915 GB, free: 5.219 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007672/0.3868, allocations: 0.6154 MB / 0.6921 GB, free: 4.801 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001008/0.3869, allocations: 129.9 kB / 0.6922 GB, free: 4.668 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.606e-05/0.387, allocations: 6.844 kB / 0.6922 GB, free: 4.664 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002164/0.3872, allocations: 21.89 kB / 0.6923 GB, free: 4.652 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.447e-05/0.3873, allocations: 37.23 kB / 0.6923 GB, free: 4.629 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.651e-05/0.3873, allocations: 15.69 kB / 0.6923 GB, free: 4.621 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0004579/0.3878, allocations: 406.2 kB / 0.6927 GB, free: 4.383 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.7e-07/0.3878, allocations: 1.719 kB / 0.6927 GB, free: 4.383 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0004093/0.3882, allocations: 93.14 kB / 0.6928 GB, free: 4.355 MB / 0.5137 GB 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.0008349/0.3891, allocations: 392.7 kB / 0.6932 GB, free: 4.16 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0004554/0.3895, allocations: 245.6 kB / 0.6934 GB, free: 3.949 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.594e-06/0.3895, allocations: 4 kB / 0.6934 GB, free: 3.945 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0002157/0.3898, allocations: 139.8 kB / 0.6935 GB, free: 3.809 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005732/0.3903, allocations: 95.58 kB / 0.6936 GB, free: 3.727 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001246/0.3916, allocations: 0.8603 MB / 0.6945 GB, free: 2.836 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003989/0.392, allocations: 0.8593 MB / 0.6953 GB, free: 1.953 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0002414/0.3923, allocations: 95.25 kB / 0.6954 GB, free: 1.859 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001205/0.3924, allocations: 51.42 kB / 0.6954 GB, free: 1.809 MB / 0.5137 GB Notification: Performance of SimCode: time 3.5e-07/0.3924, allocations: 0 / 0.6954 GB, free: 1.809 MB / 0.5137 GB Notification: Performance of Templates: time 0.009202/0.4016, allocations: 5.093 MB / 0.7004 GB, free: 12.75 MB / 0.5294 GB 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 -lv LOG_STATS > BuildSysPro_BuildSysPro.BoundaryConditions.Scenarios.Examples.ComparisonDHWScenario.pipe 2>&1)