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.00128/0.00128, allocations: 107.8 kB / 16.41 MB, free: 6.496 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.001289/0.001289, allocations: 189.6 kB / 17.34 MB, free: 5.762 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.399/1.399, allocations: 222.9 MB / 241 MB, free: 15.17 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.9982/0.9982, allocations: 143.1 MB / 434.3 MB, free: 12 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001286/0.001286, allocations: 60.97 kB / 0.5962 GB, free: 12.34 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1987/0.1999, allocations: 82.03 MB / 0.6763 GB, free: 10.41 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(BuildSysPro.BoundaryConditions.Scenarios.Examples.ComparisonDHWScenario): time 0.005297/0.2053, allocations: 3.052 MB / 0.6792 GB, free: 7.336 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.003787/0.2091, allocations: 1.975 MB / 0.6812 GB, free: 5.352 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005543/0.2097, allocations: 8 kB / 0.6812 GB, free: 5.344 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.0005135/0.2103, allocations: 95.05 kB / 0.6813 GB, free: 5.25 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.0008022/0.2111, allocations: 186.9 kB / 0.6815 GB, free: 5.066 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009889/0.2121, allocations: 369.9 kB / 0.6818 GB, free: 4.711 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.0009216/0.213, allocations: 0.6208 MB / 0.6824 GB, free: 4.086 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005442/0.2136, allocations: 279.6 kB / 0.6827 GB, free: 3.805 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003553/0.2139, allocations: 227 kB / 0.6829 GB, free: 3.582 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005632/0.2145, allocations: 273.8 kB / 0.6832 GB, free: 3.316 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.0001296/0.2147, allocations: 56 kB / 0.6832 GB, free: 3.262 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002945/0.215, allocations: 112 kB / 0.6833 GB, free: 3.152 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.000176/0.2151, allocations: 147.5 kB / 0.6835 GB, free: 3.008 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0002614/0.2154, allocations: 270.4 kB / 0.6837 GB, free: 2.742 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0009596/0.2164, allocations: 0.7085 MB / 0.6844 GB, free: 2.031 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 4.869e-06/0.2164, allocations: 0 / 0.6844 GB, free: 2.031 MB / 0.5137 GB Notification: Performance of FrontEnd: time 4.448e-06/0.2164, allocations: 0 / 0.6844 GB, free: 2.031 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 2.111e-05/0.2164, allocations: 3.938 kB / 0.6844 GB, free: 2.027 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.001615/0.2181, allocations: 0.853 MB / 0.6852 GB, free: 1.125 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.986e-05/0.2181, allocations: 12.03 kB / 0.6853 GB, free: 1.113 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003918/0.2185, allocations: 72.09 kB / 0.6853 GB, free: 1.043 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006821/0.2192, allocations: 465.7 kB / 0.6858 GB, free: 0.5469 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.818e-05/0.2192, allocations: 29.38 kB / 0.6858 GB, free: 0.5195 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.529e-05/0.2193, allocations: 40.12 kB / 0.6858 GB, free: 492 kB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007443/0.2201, allocations: 420.9 kB / 0.6862 GB, free: 44 kB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.367e-05/0.2201, allocations: 3.938 kB / 0.6862 GB, free: 40 kB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.757e-05/0.2201, allocations: 16 kB / 0.6863 GB, free: 24 kB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.144e-05/0.2202, allocations: 8 kB / 0.6863 GB, free: 16 kB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005687/0.2207, allocations: 306.4 kB / 0.6866 GB, free: 15.71 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001858/0.2226, allocations: 1.213 MB / 0.6877 GB, free: 14.44 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005595/0.2232, allocations: 335.5 kB / 0.6881 GB, free: 14.1 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001939/0.2234, allocations: 126.2 kB / 0.6882 GB, free: 13.97 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 4.729e-05/0.2234, allocations: 16.2 kB / 0.6882 GB, free: 13.95 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.356e-05/0.2235, allocations: 38.83 kB / 0.6882 GB, free: 13.91 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=33): time 1.894e-06/0.2235, allocations: 0 / 0.6882 GB, free: 13.91 MB / 0.5294 GB Notification: Performance of matching and sorting (n=33): time 0.0008593/0.2244, allocations: 391.1 kB / 0.6886 GB, free: 13.52 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001201/0.2245, allocations: 195.9 kB / 0.6888 GB, free: 13.29 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007771/0.2253, allocations: 0.5527 MB / 0.6893 GB, free: 12.72 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 3.539e-05/0.2253, allocations: 33.7 kB / 0.6894 GB, free: 12.68 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002084/0.2255, allocations: 264.3 kB / 0.6896 GB, free: 12.42 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 9.652e-05/0.2256, allocations: 106.4 kB / 0.6897 GB, free: 12.32 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001017/0.2257, allocations: 61.97 kB / 0.6898 GB, free: 12.25 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001489/0.2259, allocations: 362.8 kB / 0.6901 GB, free: 11.88 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001975/0.2261, allocations: 101.7 kB / 0.6902 GB, free: 11.78 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00022/0.2263, allocations: 164 kB / 0.6904 GB, free: 11.6 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003731/0.2267, allocations: 219.3 kB / 0.6906 GB, free: 11.37 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.679e-06/0.2267, allocations: 7.938 kB / 0.6906 GB, free: 11.36 MB / 0.5294 GB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0005801/0.2273, allocations: 314.1 kB / 0.6909 GB, free: 11.05 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 2.224e-05/0.2274, allocations: 11.94 kB / 0.6909 GB, free: 11.04 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.226e-06/0.2274, allocations: 4.047 kB / 0.6909 GB, free: 11.04 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.329e-05/0.2274, allocations: 8 kB / 0.6909 GB, free: 11.03 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002495/0.2277, allocations: 55.91 kB / 0.691 GB, free: 10.97 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.319e-05/0.2277, allocations: 4 kB / 0.691 GB, free: 10.97 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002254/0.2279, allocations: 39.58 kB / 0.691 GB, free: 10.93 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.052e-05/0.228, allocations: 20.05 kB / 0.691 GB, free: 10.91 MB / 0.5294 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.0004548/0.2284, allocations: 203.8 kB / 0.6912 GB, free: 10.7 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001532/0.2286, allocations: 51.44 kB / 0.6913 GB, free: 10.65 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006535/0.2292, allocations: 342.2 kB / 0.6916 GB, free: 10.31 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.923e-06/0.2293, allocations: 4 kB / 0.6916 GB, free: 10.31 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.472e-06/0.2293, allocations: 0 / 0.6916 GB, free: 10.31 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.688e-06/0.2293, allocations: 7.984 kB / 0.6916 GB, free: 10.3 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006672/0.23, allocations: 0.5166 MB / 0.6921 GB, free: 9.734 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.879e-06/0.23, allocations: 0 / 0.6921 GB, free: 9.734 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002277/0.2302, allocations: 55.91 kB / 0.6922 GB, free: 9.68 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.859e-06/0.2302, allocations: 0 / 0.6922 GB, free: 9.68 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.492e-05/0.2302, allocations: 8 kB / 0.6922 GB, free: 9.672 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.376e-06/0.2303, allocations: 0 / 0.6922 GB, free: 9.672 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.727e-06/0.2303, allocations: 3.984 kB / 0.6922 GB, free: 9.668 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008756/0.2311, allocations: 0.615 MB / 0.6928 GB, free: 9.039 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001211/0.2313, allocations: 136.4 kB / 0.6929 GB, free: 8.887 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.19e-05/0.2313, allocations: 4 kB / 0.6929 GB, free: 8.883 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002291/0.2316, allocations: 19.98 kB / 0.6929 GB, free: 8.863 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001118/0.2317, allocations: 31.89 kB / 0.693 GB, free: 8.832 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.502e-05/0.2317, allocations: 12 kB / 0.693 GB, free: 8.82 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0005189/0.2323, allocations: 406.8 kB / 0.6934 GB, free: 8.426 MB / 0.5294 GB Notification: Performance of sort global known variables: time 3.91e-07/0.2323, allocations: 4.062 kB / 0.6934 GB, free: 8.422 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0004657/0.2327, allocations: 91.75 kB / 0.6935 GB, free: 8.332 MB / 0.5294 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.001033/0.2338, allocations: 401.6 kB / 0.6938 GB, free: 8.074 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0005397/0.2343, allocations: 243.8 kB / 0.6941 GB, free: 7.836 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 3.757e-06/0.2344, allocations: 0 / 0.6941 GB, free: 7.836 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0002299/0.2346, allocations: 139.8 kB / 0.6942 GB, free: 7.699 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006305/0.2352, allocations: 91.73 kB / 0.6943 GB, free: 7.621 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001734/0.237, allocations: 0.8998 MB / 0.6952 GB, free: 6.684 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005741/0.2376, allocations: 0.8513 MB / 0.696 GB, free: 5.809 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001849/0.2378, allocations: 59.41 kB / 0.6961 GB, free: 5.75 MB / 0.5294 GB Notification: Performance of SimCode: time 6.61e-07/0.2378, allocations: 3.938 kB / 0.6961 GB, free: 5.746 MB / 0.5294 GB Notification: Performance of Templates: time 0.01413/0.2519, allocations: 6.929 MB / 0.7028 GB, free: 14.84 MB / 0.545 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)