Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildSysPro_BuildSysPro.BoundaryConditions.Scenarios.Examples.StepFunctionExample.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.StepFunctionExample,tolerance=1e-06,outputFormat="empty",numberOfIntervals=28800,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.BoundaryConditions.Scenarios.Examples.StepFunctionExample") translateModel(BuildSysPro.BoundaryConditions.Scenarios.Examples.StepFunctionExample,tolerance=1e-06,outputFormat="empty",numberOfIntervals=28800,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.BoundaryConditions.Scenarios.Examples.StepFunctionExample") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.005676/0.005676, allocations: 98.52 kB / 15.73 MB, free: 5.602 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.001342/0.001342, allocations: 194.2 kB / 16.67 MB, free: 5.523 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.387/1.387, allocations: 222.9 MB / 240.4 MB, free: 14.97 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.8793/0.8793, allocations: 143.1 MB / 433.6 MB, free: 11.97 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001253/0.001253, allocations: 63.47 kB / 0.5955 GB, free: 12.31 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1554/0.1567, allocations: 82.04 MB / 0.6756 GB, free: 10.36 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(BuildSysPro.BoundaryConditions.Scenarios.Examples.StepFunctionExample): time 0.0026/0.1594, allocations: 1.226 MB / 0.6768 GB, free: 9.129 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.00126/0.1606, allocations: 0.7328 MB / 0.6775 GB, free: 8.391 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001194/0.1608, allocations: 7.938 kB / 0.6775 GB, free: 8.383 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.0004627/0.1613, allocations: 263.2 kB / 0.6778 GB, free: 8.125 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.0005637/0.1619, allocations: 243.1 kB / 0.678 GB, free: 7.887 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005954/0.1625, allocations: 269.6 kB / 0.6783 GB, free: 7.629 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.0004364/0.1629, allocations: 371 kB / 0.6786 GB, free: 7.266 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002001/0.1631, allocations: 68.94 kB / 0.6787 GB, free: 7.195 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001838/0.1633, allocations: 171.3 kB / 0.6788 GB, free: 7.027 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002735/0.1636, allocations: 239.2 kB / 0.6791 GB, free: 6.793 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 5.309e-05/0.1637, allocations: 16 kB / 0.6791 GB, free: 6.777 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001162/0.1638, allocations: 44 kB / 0.6791 GB, free: 6.734 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.000165/0.164, allocations: 175.4 kB / 0.6793 GB, free: 6.562 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0001593/0.1641, allocations: 198.4 kB / 0.6795 GB, free: 6.367 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0005213/0.1646, allocations: 485.7 kB / 0.6799 GB, free: 5.891 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 3.767e-06/0.1647, allocations: 0 / 0.6799 GB, free: 5.891 MB / 0.5137 GB Notification: Performance of FrontEnd: time 2.955e-06/0.1647, allocations: 0 / 0.6799 GB, free: 5.891 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 1.418e-05/0.1647, allocations: 7.938 kB / 0.68 GB, free: 5.883 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: 34 * Number of variables: 34 Notification: Performance of Generate backend data structure: time 0.001421/0.1661, allocations: 0.933 MB / 0.6809 GB, free: 4.898 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.914e-05/0.1662, allocations: 11.97 kB / 0.6809 GB, free: 4.887 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001175/0.1663, allocations: 72.45 kB / 0.6809 GB, free: 4.816 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000574/0.1669, allocations: 493 kB / 0.6814 GB, free: 4.293 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.766e-05/0.1669, allocations: 8.375 kB / 0.6814 GB, free: 4.285 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.97e-05/0.1669, allocations: 12.38 kB / 0.6814 GB, free: 4.273 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006754/0.1676, allocations: 301.3 kB / 0.6817 GB, free: 3.965 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.124e-05/0.1676, allocations: 3.984 kB / 0.6817 GB, free: 3.961 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.295e-05/0.1677, allocations: 4 kB / 0.6817 GB, free: 3.957 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.189e-05/0.1677, allocations: 15.98 kB / 0.6817 GB, free: 3.941 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001103/0.1688, allocations: 409.2 kB / 0.6821 GB, free: 3.543 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001208/0.17, allocations: 0.8675 MB / 0.683 GB, free: 2.621 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001257/0.1713, allocations: 492.7 kB / 0.6835 GB, free: 2.121 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004859/0.1718, allocations: 201.7 kB / 0.6836 GB, free: 1.918 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 4.973e-05/0.1719, allocations: 11.94 kB / 0.6837 GB, free: 1.906 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.686e-05/0.1719, allocations: 34.56 kB / 0.6837 GB, free: 1.863 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=23): time 2.114e-06/0.1719, allocations: 0 / 0.6837 GB, free: 1.863 MB / 0.5137 GB Notification: Performance of matching and sorting (n=23): time 0.001711/0.1736, allocations: 0.6145 MB / 0.6843 GB, free: 1.242 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.815e-05/0.1737, allocations: 85.11 kB / 0.6844 GB, free: 1.141 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001032/0.1747, allocations: 0.8946 MB / 0.6852 GB, free: 244 kB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 2.722e-05/0.1748, allocations: 29.7 kB / 0.6853 GB, free: 208 kB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002325/0.175, allocations: 280.5 kB / 0.6855 GB, free: 15.93 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 7.21e-05/0.1751, allocations: 67.42 kB / 0.6856 GB, free: 15.86 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.847e-05/0.1752, allocations: 49.69 kB / 0.6856 GB, free: 15.8 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001748/0.1754, allocations: 378.8 kB / 0.686 GB, free: 15.43 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004687/0.1758, allocations: 175.7 kB / 0.6862 GB, free: 15.25 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004689/0.1763, allocations: 195 kB / 0.6864 GB, free: 15.06 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008386/0.1772, allocations: 321.3 kB / 0.6867 GB, free: 14.74 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.497e-06/0.1772, allocations: 0 / 0.6867 GB, free: 14.74 MB / 0.5294 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.001097/0.1783, allocations: 436.9 kB / 0.6871 GB, free: 14.3 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 2.067e-05/0.1783, allocations: 11.94 kB / 0.6871 GB, free: 14.29 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.925e-06/0.1783, allocations: 0 / 0.6871 GB, free: 14.29 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.261e-05/0.1784, allocations: 3.938 kB / 0.6871 GB, free: 14.29 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004218/0.1788, allocations: 83.91 kB / 0.6872 GB, free: 14.21 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.045e-05/0.1788, allocations: 4 kB / 0.6872 GB, free: 14.2 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002714/0.1791, allocations: 43.84 kB / 0.6872 GB, free: 14.16 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.806e-05/0.1791, allocations: 11.98 kB / 0.6872 GB, free: 14.15 MB / 0.5294 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 10 (fctEsc1.u[5],fctEsc1.u[4],fctEsc1.u[3],fctEsc1.u[2],fctEsc1.u[1],fctEscPer1.u[5],fctEscPer1.u[4],fctEscPer1.u[3],fctEscPer1.u[2],fctEscPer1.u[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (23): * Single equations (assignments): 23 * 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.0002999/0.1794, allocations: 245.7 kB / 0.6875 GB, free: 13.9 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000115/0.1795, allocations: 63.58 kB / 0.6875 GB, free: 13.84 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001197/0.1808, allocations: 494.6 kB / 0.688 GB, free: 13.34 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.852e-06/0.1808, allocations: 3.938 kB / 0.688 GB, free: 13.34 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.675e-06/0.1808, allocations: 4 kB / 0.688 GB, free: 13.33 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.55e-06/0.1808, allocations: 3.984 kB / 0.688 GB, free: 13.33 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000571/0.1814, allocations: 489.2 kB / 0.6885 GB, free: 12.8 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.503e-06/0.1814, allocations: 0 / 0.6885 GB, free: 12.8 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003305/0.1817, allocations: 79.86 kB / 0.6886 GB, free: 12.72 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.885e-06/0.1817, allocations: 0 / 0.6886 GB, free: 12.72 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.811e-05/0.1818, allocations: 11.98 kB / 0.6886 GB, free: 12.71 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.807e-06/0.1818, allocations: 7.875 kB / 0.6886 GB, free: 12.7 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.613e-06/0.1818, allocations: 0 / 0.6886 GB, free: 12.7 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001094/0.1829, allocations: 0.6136 MB / 0.6892 GB, free: 12.07 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000114/0.183, allocations: 148.7 kB / 0.6893 GB, free: 11.91 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.313e-05/0.1831, allocations: 0 / 0.6893 GB, free: 11.91 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003022/0.1834, allocations: 43.89 kB / 0.6894 GB, free: 11.87 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002289/0.1836, allocations: 91.84 kB / 0.6894 GB, free: 11.78 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.661e-05/0.1836, allocations: 11.98 kB / 0.6895 GB, free: 11.77 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.000737/0.1844, allocations: 0.6474 MB / 0.6901 GB, free: 11.12 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.4e-07/0.1844, allocations: 4 kB / 0.6901 GB, free: 11.12 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.000385/0.1848, allocations: 63.89 kB / 0.6902 GB, free: 11.06 MB / 0.5294 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 10 (fctEsc1.u[1],fctEsc1.u[2],fctEsc1.u[3],fctEsc1.u[4],fctEsc1.u[5],fctEscPer1.u[1],fctEscPer1.u[2],fctEscPer1.u[3],fctEscPer1.u[4],fctEscPer1.u[5]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (23): * Single equations (assignments): 23 * 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.0008737/0.1857, allocations: 363.1 kB / 0.6905 GB, free: 10.82 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.001062/0.1867, allocations: 399.5 kB / 0.6909 GB, free: 10.43 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 2.775e-06/0.1868, allocations: 0 / 0.6909 GB, free: 10.43 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0005595/0.1873, allocations: 252.3 kB / 0.6911 GB, free: 10.19 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006343/0.188, allocations: 82.56 kB / 0.6912 GB, free: 10.11 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001632/0.1896, allocations: 1.003 MB / 0.6922 GB, free: 9.078 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004626/0.1901, allocations: 0.8929 MB / 0.6931 GB, free: 8.156 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.0002819/0.1904, allocations: 114.8 kB / 0.6932 GB, free: 8.043 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001359/0.1905, allocations: 43.42 kB / 0.6932 GB, free: 8.004 MB / 0.5294 GB Notification: Performance of SimCode: time 7.01e-07/0.1905, allocations: 0 / 0.6932 GB, free: 8.004 MB / 0.5294 GB Notification: Performance of Templates: time 0.01193/0.2025, allocations: 5.81 MB / 0.6989 GB, free: 2.203 MB / 0.5294 GB make -j1 -f BuildSysPro_BuildSysPro.BoundaryConditions.Scenarios.Examples.StepFunctionExample.makefile (rm -f BuildSysPro_BuildSysPro.BoundaryConditions.Scenarios.Examples.StepFunctionExample.pipe ; mkfifo BuildSysPro_BuildSysPro.BoundaryConditions.Scenarios.Examples.StepFunctionExample.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.BoundaryConditions.Scenarios.Examples.StepFunctionExample.pipe >> ../files/BuildSysPro_BuildSysPro.BoundaryConditions.Scenarios.Examples.StepFunctionExample.sim & ./BuildSysPro_BuildSysPro.BoundaryConditions.Scenarios.Examples.StepFunctionExample -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.BoundaryConditions.Scenarios.Examples.StepFunctionExample.pipe 2>&1)