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.004874/0.004874, allocations: 102.3 kB / 15.73 MB, free: 5.582 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.001211/0.001211, allocations: 191.2 kB / 16.67 MB, free: 5.52 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.217/1.217, allocations: 222.9 MB / 240.4 MB, free: 15.16 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.7962/0.7962, allocations: 143.1 MB / 433.6 MB, free: 11.97 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001097/0.001097, allocations: 59.44 kB / 0.5955 GB, free: 12.45 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1289/0.13, allocations: 82.04 MB / 0.6756 GB, free: 10.49 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(BuildSysPro.BoundaryConditions.Scenarios.Examples.StepFunctionExample): time 0.0024/0.1324, allocations: 1.235 MB / 0.6768 GB, free: 9.258 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.001206/0.1336, allocations: 0.7366 MB / 0.6775 GB, free: 8.516 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001212/0.1338, allocations: 0 / 0.6775 GB, free: 8.516 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.0004187/0.1342, allocations: 255.1 kB / 0.6778 GB, free: 8.266 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.000526/0.1348, allocations: 259.1 kB / 0.678 GB, free: 8.012 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005521/0.1353, allocations: 261.5 kB / 0.6783 GB, free: 7.762 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.0004207/0.1358, allocations: 375.1 kB / 0.6786 GB, free: 7.395 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001636/0.1359, allocations: 68.89 kB / 0.6787 GB, free: 7.324 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000183/0.1361, allocations: 167.3 kB / 0.6788 GB, free: 7.16 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002526/0.1364, allocations: 239.2 kB / 0.6791 GB, free: 6.926 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 4.242e-05/0.1364, allocations: 16 kB / 0.6791 GB, free: 6.91 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 9.707e-05/0.1365, allocations: 47.98 kB / 0.6791 GB, free: 6.863 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0001529/0.1367, allocations: 167.4 kB / 0.6793 GB, free: 6.699 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0001571/0.1368, allocations: 206.4 kB / 0.6795 GB, free: 6.496 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0004435/0.1373, allocations: 478.2 kB / 0.6799 GB, free: 6.027 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 4.789e-06/0.1373, allocations: 4 kB / 0.6799 GB, free: 6.023 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.172e-06/0.1373, allocations: 0 / 0.6799 GB, free: 6.023 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 1.127e-05/0.1373, allocations: 0 / 0.6799 GB, free: 6.023 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.00129/0.1386, allocations: 0.9137 MB / 0.6808 GB, free: 5.059 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.206e-05/0.1387, allocations: 8.031 kB / 0.6808 GB, free: 5.051 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.447e-05/0.1388, allocations: 64.09 kB / 0.6809 GB, free: 4.988 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005194/0.1393, allocations: 492.3 kB / 0.6814 GB, free: 4.465 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.653e-05/0.1393, allocations: 8.359 kB / 0.6814 GB, free: 4.457 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.04e-05/0.1394, allocations: 20.3 kB / 0.6814 GB, free: 4.438 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006577/0.14, allocations: 305.3 kB / 0.6817 GB, free: 4.125 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.824e-06/0.14, allocations: 0 / 0.6817 GB, free: 4.125 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.143e-05/0.1401, allocations: 0 / 0.6817 GB, free: 4.125 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.699e-05/0.1401, allocations: 19.98 kB / 0.6817 GB, free: 4.105 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001044/0.1411, allocations: 414.2 kB / 0.6821 GB, free: 3.703 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00108/0.1422, allocations: 0.8674 MB / 0.683 GB, free: 2.781 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00124/0.1435, allocations: 484.8 kB / 0.6834 GB, free: 2.289 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004774/0.144, allocations: 205.5 kB / 0.6836 GB, free: 2.082 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 3.685e-05/0.144, allocations: 12.11 kB / 0.6836 GB, free: 2.07 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.385e-05/0.144, allocations: 38.56 kB / 0.6837 GB, free: 2.023 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=23): time 1.322e-06/0.1441, allocations: 0 / 0.6837 GB, free: 2.023 MB / 0.5137 GB Notification: Performance of matching and sorting (n=23): time 0.001613/0.1457, allocations: 0.6097 MB / 0.6843 GB, free: 1.406 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.015e-05/0.1457, allocations: 85.11 kB / 0.6843 GB, free: 1.305 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009009/0.1466, allocations: 0.8946 MB / 0.6852 GB, free: 412 kB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 3.289e-05/0.1467, allocations: 29.7 kB / 0.6852 GB, free: 376 kB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001793/0.1469, allocations: 272.5 kB / 0.6855 GB, free: 100 kB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 5.814e-05/0.1469, allocations: 67.05 kB / 0.6856 GB, free: 32 kB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.375e-05/0.147, allocations: 49.77 kB / 0.6856 GB, free: 15.97 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001424/0.1472, allocations: 374.8 kB / 0.686 GB, free: 15.6 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004639/0.1476, allocations: 175.7 kB / 0.6861 GB, free: 15.43 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004622/0.1481, allocations: 204 kB / 0.6863 GB, free: 15.22 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008447/0.149, allocations: 317.3 kB / 0.6866 GB, free: 14.91 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/0.149, allocations: 0 / 0.6866 GB, free: 14.91 MB / 0.5294 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.001026/0.15, allocations: 441.5 kB / 0.6871 GB, free: 14.47 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.452e-05/0.15, allocations: 4 kB / 0.6871 GB, free: 14.46 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.278e-06/0.15, allocations: 0 / 0.6871 GB, free: 14.46 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.834e-05/0.1501, allocations: 7.938 kB / 0.6871 GB, free: 14.46 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003702/0.1504, allocations: 83.84 kB / 0.6871 GB, free: 14.38 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.172e-06/0.1505, allocations: 0 / 0.6871 GB, free: 14.38 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002497/0.1507, allocations: 47.8 kB / 0.6872 GB, free: 14.33 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.323e-05/0.1507, allocations: 7.984 kB / 0.6872 GB, free: 14.32 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.0002679/0.151, allocations: 253.6 kB / 0.6874 GB, free: 14.06 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001094/0.1511, allocations: 63.16 kB / 0.6875 GB, free: 14 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001197/0.1523, allocations: 486.3 kB / 0.688 GB, free: 13.51 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.991e-06/0.1523, allocations: 7.938 kB / 0.688 GB, free: 13.5 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.201e-06/0.1524, allocations: 0 / 0.688 GB, free: 13.5 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.143e-06/0.1524, allocations: 3.984 kB / 0.688 GB, free: 13.5 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005926/0.153, allocations: 485 kB / 0.6884 GB, free: 12.98 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.645e-06/0.153, allocations: 0 / 0.6884 GB, free: 12.98 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000349/0.1533, allocations: 79.92 kB / 0.6885 GB, free: 12.9 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.326e-06/0.1534, allocations: 7.938 kB / 0.6885 GB, free: 12.89 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.403e-05/0.1534, allocations: 11.92 kB / 0.6885 GB, free: 12.88 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.468e-06/0.1534, allocations: 3.938 kB / 0.6885 GB, free: 12.88 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/0.1534, allocations: 0 / 0.6885 GB, free: 12.88 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001108/0.1545, allocations: 0.607 MB / 0.6891 GB, free: 12.25 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001285/0.1547, allocations: 144.3 kB / 0.6893 GB, free: 12.09 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.179e-05/0.1547, allocations: 4 kB / 0.6893 GB, free: 12.09 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003063/0.155, allocations: 43.89 kB / 0.6893 GB, free: 12.05 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002161/0.1553, allocations: 91.84 kB / 0.6894 GB, free: 11.96 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.951e-05/0.1553, allocations: 4 kB / 0.6894 GB, free: 11.95 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0007814/0.1561, allocations: 0.6552 MB / 0.69 GB, free: 11.3 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.2e-07/0.1561, allocations: 0 / 0.69 GB, free: 11.3 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0003975/0.1565, allocations: 63.94 kB / 0.6901 GB, free: 11.24 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.0009885/0.1575, allocations: 364.1 kB / 0.6905 GB, free: 11.01 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0011/0.1586, allocations: 391.7 kB / 0.6908 GB, free: 10.62 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 2.795e-06/0.1586, allocations: 4 kB / 0.6908 GB, free: 10.62 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0005941/0.1592, allocations: 256 kB / 0.6911 GB, free: 10.37 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005811/0.1598, allocations: 75.8 kB / 0.6911 GB, free: 10.3 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001475/0.1613, allocations: 0.9927 MB / 0.6921 GB, free: 9.281 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004414/0.1617, allocations: 0.8966 MB / 0.693 GB, free: 8.355 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.0002353/0.162, allocations: 114.9 kB / 0.6931 GB, free: 8.242 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001189/0.1621, allocations: 43.42 kB / 0.6931 GB, free: 8.203 MB / 0.5294 GB Notification: Performance of SimCode: time 2.81e-07/0.1621, allocations: 0 / 0.6931 GB, free: 8.203 MB / 0.5294 GB Notification: Performance of Templates: time 0.01009/0.1722, allocations: 5.807 MB / 0.6988 GB, free: 2.406 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)