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.001454/0.00146, allocations: 105.2 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.001381/0.001381, allocations: 190.5 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.324/1.324, allocations: 222.9 MB / 241 MB, free: 15.18 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.8256/0.8256, allocations: 143 MB / 434.2 MB, free: 12.02 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001434/0.001434, allocations: 55.91 kB / 0.5156 GB, free: 14.47 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3602/0.3616, allocations: 82.04 MB / 0.5957 GB, free: 16.12 MB / 446.1 MB Notification: Performance of NFInst.instantiate(BuildSysPro.BoundaryConditions.Scenarios.Examples.StepFunctionExample): time 0.002245/0.3639, allocations: 1.233 MB / 0.5969 GB, free: 14.9 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009452/0.3649, allocations: 0.7278 MB / 0.5976 GB, free: 14.17 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.588e-05/0.365, allocations: 7.938 kB / 0.5976 GB, free: 14.16 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000351/0.3653, allocations: 255.2 kB / 0.5978 GB, free: 13.91 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004674/0.3658, allocations: 247.7 kB / 0.5981 GB, free: 13.68 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000456/0.3663, allocations: 266.1 kB / 0.5983 GB, free: 13.42 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.000282/0.3666, allocations: 372.5 kB / 0.5987 GB, free: 13.06 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001741/0.3668, allocations: 78.97 kB / 0.5988 GB, free: 12.98 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001213/0.3669, allocations: 159.3 kB / 0.5989 GB, free: 12.83 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001934/0.3671, allocations: 245.3 kB / 0.5991 GB, free: 12.59 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 3.633e-05/0.3671, allocations: 19.98 kB / 0.5992 GB, free: 12.57 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.487e-05/0.3672, allocations: 49.39 kB / 0.5992 GB, free: 12.52 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001246/0.3673, allocations: 163.4 kB / 0.5994 GB, free: 12.36 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001155/0.3675, allocations: 198.4 kB / 0.5996 GB, free: 12.17 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003231/0.3678, allocations: 474.3 kB / 0.6 GB, free: 11.7 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.498e-06/0.3678, allocations: 4.906 kB / 0.6 GB, free: 11.7 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.334e-06/0.3678, allocations: 0 / 0.6 GB, free: 11.7 MB / 446.1 MB Notification: Performance of Transformations before backend: time 7.815e-06/0.3678, allocations: 5.094 kB / 0.6 GB, free: 11.7 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.001111/0.3689, allocations: 0.9192 MB / 0.6009 GB, free: 10.73 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.322e-05/0.369, allocations: 8.031 kB / 0.6009 GB, free: 10.72 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.351e-05/0.3691, allocations: 64.09 kB / 0.601 GB, free: 10.66 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004753/0.3696, allocations: 497.7 kB / 0.6015 GB, free: 10.14 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.693e-05/0.3696, allocations: 8.375 kB / 0.6015 GB, free: 10.13 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.599e-05/0.3696, allocations: 8.375 kB / 0.6015 GB, free: 10.12 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005334/0.3702, allocations: 301.3 kB / 0.6018 GB, free: 9.816 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.14e-05/0.3702, allocations: 3.984 kB / 0.6018 GB, free: 9.812 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.136e-05/0.3702, allocations: 4 kB / 0.6018 GB, free: 9.809 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.287e-05/0.3702, allocations: 12 kB / 0.6018 GB, free: 9.797 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008426/0.3711, allocations: 403.4 kB / 0.6022 GB, free: 9.406 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009475/0.372, allocations: 0.8737 MB / 0.603 GB, free: 8.48 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009314/0.373, allocations: 0.4916 MB / 0.6035 GB, free: 7.98 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003568/0.3733, allocations: 200.6 kB / 0.6037 GB, free: 7.781 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.536e-05/0.3734, allocations: 11.97 kB / 0.6037 GB, free: 7.77 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.75e-05/0.3734, allocations: 39.94 kB / 0.6037 GB, free: 7.723 MB / 446.1 MB Notification: Performance of pre-optimization done (n=23): time 1.312e-06/0.3734, allocations: 0 / 0.6037 GB, free: 7.723 MB / 446.1 MB Notification: Performance of matching and sorting (n=23): time 0.001246/0.3747, allocations: 0.6041 MB / 0.6043 GB, free: 7.117 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.478e-05/0.3747, allocations: 86.62 kB / 0.6044 GB, free: 7.016 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006838/0.3754, allocations: 0.8869 MB / 0.6053 GB, free: 6.121 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 2.06e-05/0.3754, allocations: 33.7 kB / 0.6053 GB, free: 6.082 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001459/0.3756, allocations: 277.1 kB / 0.6056 GB, free: 5.809 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.538e-05/0.3756, allocations: 59.11 kB / 0.6056 GB, free: 5.75 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.349e-05/0.3757, allocations: 50.75 kB / 0.6057 GB, free: 5.695 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 8.442e-05/0.3758, allocations: 375.5 kB / 0.606 GB, free: 5.32 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003683/0.3762, allocations: 170 kB / 0.6062 GB, free: 5.156 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00036/0.3766, allocations: 206.3 kB / 0.6064 GB, free: 4.953 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006325/0.3772, allocations: 317.8 kB / 0.6067 GB, free: 4.645 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.194e-06/0.3772, allocations: 1.031 kB / 0.6067 GB, free: 4.645 MB / 446.1 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0007643/0.378, allocations: 441 kB / 0.6071 GB, free: 4.211 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.486e-05/0.378, allocations: 7.938 kB / 0.6071 GB, free: 4.203 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.13e-06/0.378, allocations: 2.844 kB / 0.6071 GB, free: 4.203 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.772e-05/0.378, allocations: 3.938 kB / 0.6071 GB, free: 4.199 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003251/0.3784, allocations: 71.92 kB / 0.6072 GB, free: 4.129 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.332e-06/0.3784, allocations: 4 kB / 0.6072 GB, free: 4.125 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002032/0.3786, allocations: 53.2 kB / 0.6073 GB, free: 4.074 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.064e-05/0.3786, allocations: 7.984 kB / 0.6073 GB, free: 4.066 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.0001813/0.3788, allocations: 247.4 kB / 0.6075 GB, free: 3.816 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.69e-05/0.3789, allocations: 59.25 kB / 0.6076 GB, free: 3.758 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009235/0.3798, allocations: 497.9 kB / 0.608 GB, free: 3.266 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.05e-06/0.3798, allocations: 8.438 kB / 0.608 GB, free: 3.258 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.041e-06/0.3799, allocations: 0 / 0.608 GB, free: 3.258 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.372e-06/0.3799, allocations: 0.5312 kB / 0.608 GB, free: 3.258 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004346/0.3803, allocations: 486.1 kB / 0.6085 GB, free: 2.734 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.443e-06/0.3803, allocations: 0 / 0.6085 GB, free: 2.734 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002806/0.3806, allocations: 80.86 kB / 0.6086 GB, free: 2.656 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.264e-06/0.3806, allocations: 0.5938 kB / 0.6086 GB, free: 2.656 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.04e-05/0.3806, allocations: 8.672 kB / 0.6086 GB, free: 2.648 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.495e-06/0.3807, allocations: 7.875 kB / 0.6086 GB, free: 2.641 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.073e-06/0.3807, allocations: 1.031 kB / 0.6086 GB, free: 2.641 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007971/0.3815, allocations: 0.6001 MB / 0.6092 GB, free: 2.027 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001172/0.3816, allocations: 150.1 kB / 0.6093 GB, free: 1.863 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.979e-05/0.3816, allocations: 4 kB / 0.6093 GB, free: 1.859 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002587/0.3819, allocations: 48.53 kB / 0.6094 GB, free: 1.812 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001567/0.3821, allocations: 88.42 kB / 0.6095 GB, free: 1.727 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.901e-05/0.3821, allocations: 11.98 kB / 0.6095 GB, free: 1.715 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0005047/0.3826, allocations: 0.6527 MB / 0.6101 GB, free: 1.066 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3826, allocations: 0 / 0.6101 GB, free: 1.066 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0003335/0.383, allocations: 60 kB / 0.6102 GB, free: 1.008 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.0007931/0.3838, allocations: 369.8 kB / 0.6105 GB, free: 0.8086 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0008157/0.3846, allocations: 393.8 kB / 0.6109 GB, free: 436 kB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.825e-06/0.3846, allocations: 4 kB / 0.6109 GB, free: 432 kB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004249/0.385, allocations: 255.4 kB / 0.6111 GB, free: 180 kB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005112/0.3855, allocations: 74.89 kB / 0.6112 GB, free: 112 kB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001436/0.387, allocations: 1.004 MB / 0.6122 GB, free: 15.07 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00043/0.3874, allocations: 0.8929 MB / 0.6131 GB, free: 14.15 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0002083/0.3876, allocations: 102.9 kB / 0.6132 GB, free: 14.05 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000122/0.3878, allocations: 43.41 kB / 0.6132 GB, free: 14.01 MB / 462.1 MB Notification: Performance of SimCode: time 2.1e-07/0.3878, allocations: 0 / 0.6132 GB, free: 14.01 MB / 462.1 MB Notification: Performance of Templates: time 0.009976/0.3978, allocations: 5.768 MB / 0.6188 GB, free: 8.27 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 cvode -lv LOG_STATS > BuildSysPro_BuildSysPro.BoundaryConditions.Scenarios.Examples.StepFunctionExample.pipe 2>&1)