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.005789/0.005789, allocations: 100.8 kB / 15.87 MB, free: 5.867 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.001144/0.001144, allocations: 194.6 kB / 16.79 MB, free: 5.809 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.372/1.372, allocations: 222.9 MB / 240.5 MB, free: 4.555 MB / 190.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.9695/0.9695, allocations: 143 MB / 433.7 MB, free: 11.62 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001234/0.001234, allocations: 59.91 kB / 0.5141 GB, free: 12.11 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1791/0.1803, allocations: 82.04 MB / 0.5942 GB, free: 10.04 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.BoundaryConditions.Scenarios.Examples.StepFunctionExample): time 0.003262/0.1837, allocations: 1.281 MB / 0.5955 GB, free: 8.754 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001329/0.185, allocations: 0.7253 MB / 0.5962 GB, free: 8.023 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001017/0.1851, allocations: 7.938 kB / 0.5962 GB, free: 8.016 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0004817/0.1856, allocations: 239.4 kB / 0.5964 GB, free: 7.781 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0004683/0.1861, allocations: 223.4 kB / 0.5967 GB, free: 7.562 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005393/0.1867, allocations: 249.3 kB / 0.5969 GB, free: 7.324 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0003722/0.1871, allocations: 351.1 kB / 0.5972 GB, free: 6.98 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002018/0.1873, allocations: 76.86 kB / 0.5973 GB, free: 6.902 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001528/0.1874, allocations: 147.3 kB / 0.5974 GB, free: 6.758 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002692/0.1877, allocations: 235.1 kB / 0.5977 GB, free: 6.527 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 4.31e-05/0.1878, allocations: 12 kB / 0.5977 GB, free: 6.516 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001064/0.1879, allocations: 39.91 kB / 0.5977 GB, free: 6.477 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001669/0.188, allocations: 155.5 kB / 0.5979 GB, free: 6.324 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001777/0.1882, allocations: 190.4 kB / 0.598 GB, free: 6.137 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0003656/0.1886, allocations: 375.5 kB / 0.5984 GB, free: 5.77 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.188e-06/0.1886, allocations: 0 / 0.5984 GB, free: 5.77 MB / 0.4981 GB Notification: Performance of FrontEnd: time 9.62e-07/0.1886, allocations: 0 / 0.5984 GB, free: 5.77 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.961e-06/0.1886, allocations: 3.938 kB / 0.5984 GB, free: 5.766 MB / 0.4981 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.001363/0.19, allocations: 0.9176 MB / 0.5993 GB, free: 4.797 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.237e-05/0.1901, allocations: 12.03 kB / 0.5993 GB, free: 4.785 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001015/0.1902, allocations: 60.09 kB / 0.5994 GB, free: 4.727 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005646/0.1907, allocations: 496.3 kB / 0.5998 GB, free: 4.199 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.79e-05/0.1908, allocations: 4.375 kB / 0.5998 GB, free: 4.195 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.734e-05/0.1908, allocations: 8.375 kB / 0.5999 GB, free: 4.188 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006841/0.1915, allocations: 300.6 kB / 0.6001 GB, free: 3.879 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.239e-05/0.1915, allocations: 7.922 kB / 0.6001 GB, free: 3.871 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.453e-05/0.1915, allocations: 3.984 kB / 0.6002 GB, free: 3.867 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.899e-05/0.1916, allocations: 16 kB / 0.6002 GB, free: 3.852 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001095/0.1927, allocations: 407.5 kB / 0.6006 GB, free: 3.453 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001187/0.1939, allocations: 0.8713 MB / 0.6014 GB, free: 2.527 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001179/0.1951, allocations: 488.6 kB / 0.6019 GB, free: 2.031 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004576/0.1955, allocations: 205.6 kB / 0.6021 GB, free: 1.824 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 4.745e-05/0.1956, allocations: 7.984 kB / 0.6021 GB, free: 1.816 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.19e-05/0.1956, allocations: 42.69 kB / 0.6021 GB, free: 1.766 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=23): time 1.673e-06/0.1956, allocations: 0 / 0.6021 GB, free: 1.766 MB / 0.4981 GB Notification: Performance of matching and sorting (n=23): time 0.001568/0.1972, allocations: 0.602 MB / 0.6027 GB, free: 1.156 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.247e-05/0.1973, allocations: 89.03 kB / 0.6028 GB, free: 1.051 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009642/0.1982, allocations: 0.8907 MB / 0.6037 GB, free: 156 kB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.741e-05/0.1983, allocations: 29.7 kB / 0.6037 GB, free: 120 kB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.3309/0.5292, allocations: 269.7 kB / 0.6039 GB, free: 44 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001497/0.5294, allocations: 70.47 kB / 0.604 GB, free: 44 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001284/0.5295, allocations: 50.66 kB / 0.6041 GB, free: 43.99 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001124/0.5296, allocations: 377.7 kB / 0.6044 GB, free: 43.68 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004717/0.5301, allocations: 171.4 kB / 0.6046 GB, free: 43.68 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003902/0.5305, allocations: 199.3 kB / 0.6048 GB, free: 43.66 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007112/0.5312, allocations: 313.1 kB / 0.6051 GB, free: 43.64 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.679e-06/0.5312, allocations: 1.5 kB / 0.6051 GB, free: 43.64 MB / 0.4981 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0009947/0.5323, allocations: 445.4 kB / 0.6055 GB, free: 43.61 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.073e-05/0.5323, allocations: 9.078 kB / 0.6055 GB, free: 43.61 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.763e-06/0.5323, allocations: 0.8438 kB / 0.6055 GB, free: 43.61 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.164e-05/0.5323, allocations: 6.406 kB / 0.6055 GB, free: 43.61 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003845/0.5327, allocations: 77.11 kB / 0.6056 GB, free: 43.61 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.564e-06/0.5327, allocations: 0 / 0.6056 GB, free: 43.61 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002526/0.533, allocations: 50.92 kB / 0.6056 GB, free: 43.61 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.336e-05/0.533, allocations: 11.89 kB / 0.6056 GB, free: 43.61 MB / 0.4981 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.0002709/0.5333, allocations: 236.8 kB / 0.6059 GB, free: 43.5 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001079/0.5334, allocations: 67.33 kB / 0.6059 GB, free: 43.46 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001054/0.5345, allocations: 495.7 kB / 0.6064 GB, free: 43.41 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.809e-06/0.5345, allocations: 6.938 kB / 0.6064 GB, free: 43.41 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.771e-06/0.5345, allocations: 0 / 0.6064 GB, free: 43.41 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.929e-06/0.5345, allocations: 3.516 kB / 0.6064 GB, free: 43.41 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005366/0.535, allocations: 482.9 kB / 0.6069 GB, free: 43.22 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.673e-06/0.5351, allocations: 1.688 kB / 0.6069 GB, free: 43.22 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003067/0.5354, allocations: 76.89 kB / 0.607 GB, free: 43.22 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.106e-06/0.5354, allocations: 0 / 0.607 GB, free: 43.22 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.645e-05/0.5354, allocations: 13.8 kB / 0.607 GB, free: 43.22 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.466e-06/0.5354, allocations: 2.875 kB / 0.607 GB, free: 43.22 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.673e-06/0.5354, allocations: 3.875 kB / 0.607 GB, free: 43.22 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009627/0.5364, allocations: 0.6018 MB / 0.6076 GB, free: 42.98 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 9.493e-05/0.5365, allocations: 145.7 kB / 0.6077 GB, free: 42.86 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.782e-05/0.5366, allocations: 12.78 kB / 0.6077 GB, free: 42.86 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002774/0.5368, allocations: 39.3 kB / 0.6078 GB, free: 42.86 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001924/0.537, allocations: 88.78 kB / 0.6078 GB, free: 42.86 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.116e-05/0.5371, allocations: 9.062 kB / 0.6078 GB, free: 42.86 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0007032/0.5378, allocations: 0.6479 MB / 0.6085 GB, free: 42.76 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.173e-06/0.5378, allocations: 0 / 0.6085 GB, free: 42.76 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0003729/0.5382, allocations: 67.81 kB / 0.6085 GB, free: 42.76 MB / 0.4981 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.0009289/0.5391, allocations: 365.7 kB / 0.6089 GB, free: 42.66 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0009051/0.54, allocations: 400.4 kB / 0.6093 GB, free: 42.66 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.54, allocations: 0 / 0.6093 GB, free: 42.66 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0004737/0.5405, allocations: 237.3 kB / 0.6095 GB, free: 42.66 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005863/0.5411, allocations: 73.69 kB / 0.6096 GB, free: 42.65 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001466/0.5426, allocations: 1.191 MB / 0.6107 GB, free: 42.11 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003299/0.5429, allocations: 0.8915 MB / 0.6116 GB, free: 41.41 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000145/0.5431, allocations: 45.78 kB / 0.6116 GB, free: 41.4 MB / 0.4981 GB Notification: Performance of SimCode: time 2.5e-07/0.5431, allocations: 0 / 0.6116 GB, free: 41.4 MB / 0.4981 GB Notification: Performance of Templates: time 0.008442/0.5515, allocations: 6.53 MB / 0.618 GB, free: 40.78 MB / 0.4981 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)