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.001219/0.001219, allocations: 106.4 kB / 16.35 MB, free: 5.824 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.001187/0.001187, allocations: 193.4 kB / 17.29 MB, free: 5.48 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.214/1.214, allocations: 222.9 MB / 241 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.7816/0.7816, allocations: 143.1 MB / 434.2 MB, free: 12 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001206/0.001206, allocations: 59.89 kB / 0.5156 GB, free: 14.46 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2782/0.2795, allocations: 82.03 MB / 0.5957 GB, free: 16.12 MB / 446.1 MB Notification: Performance of NFInst.instantiate(BuildSysPro.BoundaryConditions.Scenarios.Examples.StepFunctionExample): time 0.002171/0.2817, allocations: 1.233 MB / 0.5969 GB, free: 14.9 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.000877/0.2826, allocations: 0.7263 MB / 0.5976 GB, free: 14.17 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.074e-05/0.2827, allocations: 4 kB / 0.5976 GB, free: 14.17 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003078/0.283, allocations: 256 kB / 0.5978 GB, free: 13.92 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003865/0.2834, allocations: 253.3 kB / 0.5981 GB, free: 13.67 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003922/0.2838, allocations: 272.1 kB / 0.5983 GB, free: 13.42 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002515/0.284, allocations: 375 kB / 0.5987 GB, free: 13.05 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001395/0.2842, allocations: 74.94 kB / 0.5988 GB, free: 12.98 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001096/0.2843, allocations: 168.8 kB / 0.5989 GB, free: 12.82 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001728/0.2845, allocations: 240.5 kB / 0.5991 GB, free: 12.58 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 3.186e-05/0.2845, allocations: 16 kB / 0.5992 GB, free: 12.57 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.221e-05/0.2846, allocations: 47.98 kB / 0.5992 GB, free: 12.52 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001044/0.2847, allocations: 164.8 kB / 0.5994 GB, free: 12.36 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000107/0.2848, allocations: 198.5 kB / 0.5996 GB, free: 12.16 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002706/0.2851, allocations: 478.2 kB / 0.6 GB, free: 11.7 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.695e-06/0.2851, allocations: 1.375 kB / 0.6 GB, free: 11.7 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.041e-06/0.2851, allocations: 0 / 0.6 GB, free: 11.7 MB / 446.1 MB Notification: Performance of Transformations before backend: time 9.267e-06/0.2851, allocations: 4 kB / 0.6 GB, free: 11.69 MB / 446.1 MB 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.0009871/0.2861, allocations: 0.9227 MB / 0.6009 GB, free: 10.72 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.448e-05/0.2862, allocations: 9.344 kB / 0.6009 GB, free: 10.71 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.319e-05/0.2862, allocations: 64.09 kB / 0.601 GB, free: 10.65 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004311/0.2867, allocations: 488.3 kB / 0.6015 GB, free: 10.14 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.278e-05/0.2867, allocations: 9.844 kB / 0.6015 GB, free: 10.13 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.376e-05/0.2867, allocations: 12.36 kB / 0.6015 GB, free: 10.12 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005035/0.2872, allocations: 298.8 kB / 0.6018 GB, free: 9.812 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.704e-06/0.2873, allocations: 1.219 kB / 0.6018 GB, free: 9.812 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.854e-05/0.2873, allocations: 4 kB / 0.6018 GB, free: 9.809 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.113e-05/0.2873, allocations: 21.42 kB / 0.6018 GB, free: 9.789 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008155/0.2881, allocations: 403.7 kB / 0.6022 GB, free: 9.398 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008814/0.289, allocations: 0.8726 MB / 0.603 GB, free: 8.473 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009618/0.29, allocations: 483.4 kB / 0.6035 GB, free: 7.988 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003655/0.2904, allocations: 204.2 kB / 0.6037 GB, free: 7.785 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.576e-05/0.2904, allocations: 9.156 kB / 0.6037 GB, free: 7.777 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.226e-05/0.2904, allocations: 39.84 kB / 0.6037 GB, free: 7.73 MB / 446.1 MB Notification: Performance of pre-optimization done (n=23): time 1.292e-06/0.2904, allocations: 0 / 0.6037 GB, free: 7.73 MB / 446.1 MB Notification: Performance of matching and sorting (n=23): time 0.001214/0.2916, allocations: 0.609 MB / 0.6043 GB, free: 7.121 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.103e-05/0.2917, allocations: 86.45 kB / 0.6044 GB, free: 7.02 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006455/0.2923, allocations: 0.8907 MB / 0.6053 GB, free: 6.121 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.699e-05/0.2923, allocations: 31.17 kB / 0.6053 GB, free: 6.086 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001192/0.2925, allocations: 284.5 kB / 0.6056 GB, free: 5.805 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.829e-05/0.2925, allocations: 59.11 kB / 0.6056 GB, free: 5.746 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.725e-05/0.2926, allocations: 50.28 kB / 0.6057 GB, free: 5.691 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 6.694e-05/0.2927, allocations: 380.1 kB / 0.606 GB, free: 5.312 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003568/0.293, allocations: 169.3 kB / 0.6062 GB, free: 5.148 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003558/0.2934, allocations: 203.2 kB / 0.6064 GB, free: 4.949 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006352/0.294, allocations: 314.3 kB / 0.6067 GB, free: 4.645 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.645e-06/0.294, allocations: 4 kB / 0.6067 GB, free: 4.641 MB / 446.1 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0007822/0.2948, allocations: 441.5 kB / 0.6071 GB, free: 4.207 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.072e-05/0.2949, allocations: 4 kB / 0.6071 GB, free: 4.203 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.028e-06/0.2949, allocations: 0 / 0.6071 GB, free: 4.203 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.226e-05/0.2949, allocations: 6.625 kB / 0.6071 GB, free: 4.199 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003167/0.2952, allocations: 79.84 kB / 0.6072 GB, free: 4.121 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.021e-06/0.2952, allocations: 4 kB / 0.6072 GB, free: 4.117 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002042/0.2954, allocations: 54.42 kB / 0.6073 GB, free: 4.066 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.98e-05/0.2955, allocations: 11.98 kB / 0.6073 GB, free: 4.055 MB / 446.1 MB 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.0001682/0.2956, allocations: 241.7 kB / 0.6075 GB, free: 3.809 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.469e-05/0.2957, allocations: 60.75 kB / 0.6076 GB, free: 3.75 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00092/0.2966, allocations: 490.8 kB / 0.608 GB, free: 3.262 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.096e-06/0.2967, allocations: 3.938 kB / 0.608 GB, free: 3.258 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.228e-06/0.2967, allocations: 4 kB / 0.608 GB, free: 3.254 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.777e-06/0.2967, allocations: 5.703 kB / 0.608 GB, free: 3.25 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003955/0.2971, allocations: 485.1 kB / 0.6085 GB, free: 2.727 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.302e-06/0.2971, allocations: 0 / 0.6085 GB, free: 2.727 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002872/0.2974, allocations: 72.95 kB / 0.6086 GB, free: 2.656 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.776e-06/0.2974, allocations: 0.6875 kB / 0.6086 GB, free: 2.656 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.059e-05/0.2974, allocations: 11.98 kB / 0.6086 GB, free: 2.645 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.435e-06/0.2974, allocations: 4.469 kB / 0.6086 GB, free: 2.641 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.22e-07/0.2974, allocations: 0 / 0.6086 GB, free: 2.641 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008004/0.2982, allocations: 0.6068 MB / 0.6092 GB, free: 2.023 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001104/0.2983, allocations: 149.2 kB / 0.6093 GB, free: 1.859 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.805e-05/0.2984, allocations: 0 / 0.6093 GB, free: 1.859 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002649/0.2987, allocations: 46.67 kB / 0.6094 GB, free: 1.816 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001532/0.2988, allocations: 91.84 kB / 0.6095 GB, free: 1.727 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.785e-05/0.2989, allocations: 8 kB / 0.6095 GB, free: 1.719 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0004771/0.2993, allocations: 0.6474 MB / 0.6101 GB, free: 1.074 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.2993, allocations: 4.656 kB / 0.6101 GB, free: 1.07 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.000322/0.2997, allocations: 52.91 kB / 0.6102 GB, free: 1.02 MB / 446.1 MB 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.0006929/0.3004, allocations: 384.6 kB / 0.6105 GB, free: 0.8047 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0008083/0.3012, allocations: 398.9 kB / 0.6109 GB, free: 432 kB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.703e-06/0.3012, allocations: 0 / 0.6109 GB, free: 432 kB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004314/0.3016, allocations: 251.8 kB / 0.6111 GB, free: 184 kB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005003/0.3021, allocations: 78.48 kB / 0.6112 GB, free: 112 kB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001323/0.3035, allocations: 1.002 MB / 0.6122 GB, free: 15.07 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004287/0.3039, allocations: 0.8928 MB / 0.6131 GB, free: 14.15 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.000209/0.3041, allocations: 106.8 kB / 0.6132 GB, free: 14.05 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001133/0.3043, allocations: 39.42 kB / 0.6132 GB, free: 14.02 MB / 462.1 MB Notification: Performance of SimCode: time 2.41e-07/0.3043, allocations: 0 / 0.6132 GB, free: 14.02 MB / 462.1 MB Notification: Performance of Templates: time 0.009205/0.3135, allocations: 5.764 MB / 0.6188 GB, free: 8.273 MB / 462.1 MB 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 -s gbode -lv LOG_STATS > BuildSysPro_BuildSysPro.BoundaryConditions.Scenarios.Examples.StepFunctionExample.pipe 2>&1)