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.005082/0.005082, allocations: 103.6 kB / 15.74 MB, free: 6.035 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.001255/0.001255, allocations: 196.5 kB / 16.68 MB, free: 5.953 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.224/1.224, allocations: 222.9 MB / 240.4 MB, free: 15.14 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.7952/0.7952, allocations: 143.1 MB / 433.6 MB, free: 12.01 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001155/0.001155, allocations: 67.42 kB / 0.5955 GB, free: 12.32 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1254/0.1266, allocations: 82.03 MB / 0.6756 GB, free: 10.38 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(BuildSysPro.BoundaryConditions.Scenarios.Examples.ComparisonDHWScenario): time 0.00388/0.1305, allocations: 3.055 MB / 0.6786 GB, free: 7.309 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.002354/0.1329, allocations: 1.967 MB / 0.6805 GB, free: 5.332 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001571/0.133, allocations: 4 kB / 0.6805 GB, free: 5.328 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.0002817/0.1333, allocations: 95.11 kB / 0.6806 GB, free: 5.234 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.0003995/0.1337, allocations: 194.9 kB / 0.6808 GB, free: 5.043 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.000607/0.1344, allocations: 369.9 kB / 0.6811 GB, free: 4.688 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.0005316/0.1349, allocations: 0.617 MB / 0.6817 GB, free: 4.066 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003597/0.1353, allocations: 287.6 kB / 0.682 GB, free: 3.777 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001873/0.1355, allocations: 230.9 kB / 0.6822 GB, free: 3.551 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003367/0.1358, allocations: 258.7 kB / 0.6825 GB, free: 3.297 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 7.148e-05/0.1359, allocations: 60 kB / 0.6825 GB, free: 3.238 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001619/0.136, allocations: 119.8 kB / 0.6826 GB, free: 3.121 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0001392/0.1362, allocations: 143.5 kB / 0.6828 GB, free: 2.98 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0001893/0.1364, allocations: 278.3 kB / 0.683 GB, free: 2.707 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0005791/0.137, allocations: 0.6968 MB / 0.6837 GB, free: 2.008 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 4.749e-06/0.137, allocations: 4 kB / 0.6837 GB, free: 2.004 MB / 0.5137 GB Notification: Performance of FrontEnd: time 2.344e-06/0.137, allocations: 4 kB / 0.6837 GB, free: 2 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 1.017e-05/0.137, allocations: 0 / 0.6837 GB, free: 2 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.00104/0.1381, allocations: 0.8592 MB / 0.6846 GB, free: 1.094 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 2.857e-05/0.1381, allocations: 8.031 kB / 0.6846 GB, free: 1.086 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002727/0.1384, allocations: 76.08 kB / 0.6847 GB, free: 1.012 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004991/0.1389, allocations: 453.8 kB / 0.6851 GB, free: 0.5273 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.649e-05/0.1389, allocations: 29.38 kB / 0.6851 GB, free: 0.5 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.966e-05/0.139, allocations: 40.12 kB / 0.6852 GB, free: 472 kB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005923/0.1396, allocations: 424.9 kB / 0.6856 GB, free: 20 kB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.369e-05/0.1396, allocations: 3.984 kB / 0.6856 GB, free: 16 kB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.015e-05/0.1396, allocations: 12 kB / 0.6856 GB, free: 4 kB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.851e-05/0.1397, allocations: 8.047 kB / 0.6856 GB, free: 15.99 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005131/0.1402, allocations: 318.3 kB / 0.6859 GB, free: 15.68 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001465/0.1417, allocations: 1.209 MB / 0.6871 GB, free: 14.41 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004951/0.1422, allocations: 343.4 kB / 0.6874 GB, free: 14.06 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001805/0.1423, allocations: 114.3 kB / 0.6875 GB, free: 13.95 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 3.271e-05/0.1424, allocations: 8.219 kB / 0.6875 GB, free: 13.94 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.518e-05/0.1424, allocations: 42.73 kB / 0.6876 GB, free: 13.89 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=33): time 1.513e-06/0.1424, allocations: 0 / 0.6876 GB, free: 13.89 MB / 0.5294 GB Notification: Performance of matching and sorting (n=33): time 0.0006922/0.1431, allocations: 395 kB / 0.6879 GB, free: 13.5 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.686e-05/0.1432, allocations: 187.9 kB / 0.6881 GB, free: 13.27 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000635/0.1439, allocations: 0.5605 MB / 0.6887 GB, free: 12.7 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 2.472e-05/0.1439, allocations: 29.7 kB / 0.6887 GB, free: 12.66 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001767/0.1441, allocations: 264.3 kB / 0.6889 GB, free: 12.4 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 8.283e-05/0.1442, allocations: 110.4 kB / 0.689 GB, free: 12.29 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.442e-05/0.1443, allocations: 61.97 kB / 0.6891 GB, free: 12.22 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001239/0.1444, allocations: 358.8 kB / 0.6894 GB, free: 11.86 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001809/0.1446, allocations: 113.6 kB / 0.6896 GB, free: 11.75 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002086/0.1448, allocations: 150.8 kB / 0.6897 GB, free: 11.58 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003388/0.1451, allocations: 231.2 kB / 0.6899 GB, free: 11.34 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.1452, allocations: 0 / 0.6899 GB, free: 11.34 MB / 0.5294 GB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0004866/0.1456, allocations: 321.9 kB / 0.6902 GB, free: 11.02 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.177e-05/0.1457, allocations: 4 kB / 0.6902 GB, free: 11.02 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.143e-06/0.1457, allocations: 7.984 kB / 0.6902 GB, free: 11.01 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.251e-05/0.1457, allocations: 3.984 kB / 0.6902 GB, free: 11 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002086/0.1459, allocations: 55.92 kB / 0.6903 GB, free: 10.95 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.951e-06/0.1459, allocations: 0 / 0.6903 GB, free: 10.95 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001815/0.1461, allocations: 51.94 kB / 0.6903 GB, free: 10.9 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.915e-05/0.1461, allocations: 8 kB / 0.6903 GB, free: 10.89 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.0002507/0.1464, allocations: 209.6 kB / 0.6905 GB, free: 10.68 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.911e-05/0.1465, allocations: 47.44 kB / 0.6906 GB, free: 10.63 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005734/0.1471, allocations: 346.2 kB / 0.6909 GB, free: 10.29 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.418e-06/0.1471, allocations: 4 kB / 0.6909 GB, free: 10.28 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.547e-06/0.1471, allocations: 4 kB / 0.6909 GB, free: 10.28 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.57e-06/0.1471, allocations: 3.984 kB / 0.6909 GB, free: 10.27 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005504/0.1477, allocations: 0.5166 MB / 0.6914 GB, free: 9.707 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.673e-06/0.1477, allocations: 0 / 0.6914 GB, free: 9.707 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002056/0.1479, allocations: 47.92 kB / 0.6915 GB, free: 9.66 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.338e-06/0.1479, allocations: 4 kB / 0.6915 GB, free: 9.656 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.852e-05/0.1479, allocations: 7.984 kB / 0.6915 GB, free: 9.648 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.318e-06/0.1479, allocations: 4 kB / 0.6915 GB, free: 9.645 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.91e-07/0.1479, allocations: 0 / 0.6915 GB, free: 9.645 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007554/0.1487, allocations: 0.6239 MB / 0.6921 GB, free: 9.008 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 9.089e-05/0.1488, allocations: 128.4 kB / 0.6922 GB, free: 8.863 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.456e-05/0.1489, allocations: 8 kB / 0.6922 GB, free: 8.855 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000215/0.1491, allocations: 23.97 kB / 0.6923 GB, free: 8.832 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.638e-05/0.1491, allocations: 27.97 kB / 0.6923 GB, free: 8.805 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.37e-05/0.1492, allocations: 4 kB / 0.6923 GB, free: 8.801 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0004537/0.1496, allocations: 418.8 kB / 0.6927 GB, free: 8.395 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.5e-07/0.1496, allocations: 0 / 0.6927 GB, free: 8.395 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0003728/0.15, allocations: 91.73 kB / 0.6928 GB, free: 8.305 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.0007938/0.1508, allocations: 406.4 kB / 0.6932 GB, free: 8.043 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0004333/0.1513, allocations: 247.8 kB / 0.6934 GB, free: 7.801 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.1513, allocations: 0 / 0.6934 GB, free: 7.801 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0002162/0.1515, allocations: 131.9 kB / 0.6935 GB, free: 7.672 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005268/0.152, allocations: 90.27 kB / 0.6936 GB, free: 7.594 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001141/0.1532, allocations: 0.8667 MB / 0.6945 GB, free: 6.695 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003869/0.1536, allocations: 0.8591 MB / 0.6953 GB, free: 5.812 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.0002178/0.1538, allocations: 99.48 kB / 0.6954 GB, free: 5.715 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001169/0.1539, allocations: 55.41 kB / 0.6954 GB, free: 5.66 MB / 0.5294 GB Notification: Performance of SimCode: time 2.5e-07/0.1539, allocations: 0 / 0.6954 GB, free: 5.66 MB / 0.5294 GB Notification: Performance of Templates: time 0.008714/0.1627, allocations: 5.105 MB / 0.7004 GB, free: 0.5898 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)