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.001524/0.001524, allocations: 104.9 kB / 16.27 MB, free: 6.414 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.001304/0.001304, allocations: 189.8 kB / 17.2 MB, free: 5.953 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.31/1.31, allocations: 222.9 MB / 240.9 MB, free: 15.27 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.8132/0.8132, allocations: 143.1 MB / 434.1 MB, free: 12.08 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001428/0.001428, allocations: 67.84 kB / 0.5148 GB, free: 15.18 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3246/0.326, allocations: 82.02 MB / 0.5949 GB, free: 16.2 MB / 446.1 MB Notification: Performance of NFInst.instantiate(BuildSysPro.BoundaryConditions.Scenarios.Examples.StepFunctionExample): time 0.00239/0.3285, allocations: 1.232 MB / 0.5961 GB, free: 14.98 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.000962/0.3294, allocations: 0.7203 MB / 0.5968 GB, free: 14.25 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.4e-05/0.3295, allocations: 4 kB / 0.5968 GB, free: 14.25 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003733/0.3299, allocations: 268.4 kB / 0.5971 GB, free: 13.99 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000438/0.3304, allocations: 242 kB / 0.5973 GB, free: 13.75 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004446/0.3308, allocations: 267.7 kB / 0.5976 GB, free: 13.5 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002747/0.3311, allocations: 375 kB / 0.5979 GB, free: 13.13 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001696/0.3313, allocations: 72.11 kB / 0.598 GB, free: 13.06 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001164/0.3314, allocations: 159.4 kB / 0.5981 GB, free: 12.91 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001901/0.3316, allocations: 249.1 kB / 0.5984 GB, free: 12.66 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 4.341e-05/0.3317, allocations: 20 kB / 0.5984 GB, free: 12.64 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.022e-05/0.3318, allocations: 44.55 kB / 0.5984 GB, free: 12.6 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001138/0.3319, allocations: 170.3 kB / 0.5986 GB, free: 12.44 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001083/0.332, allocations: 186.5 kB / 0.5988 GB, free: 12.25 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003076/0.3323, allocations: 482.2 kB / 0.5992 GB, free: 11.78 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.538e-06/0.3323, allocations: 0 / 0.5992 GB, free: 11.78 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.563e-06/0.3323, allocations: 0 / 0.5992 GB, free: 11.78 MB / 446.1 MB Notification: Performance of Transformations before backend: time 6.773e-06/0.3323, allocations: 0 / 0.5992 GB, free: 11.78 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.001075/0.3334, allocations: 0.9197 MB / 0.6001 GB, free: 10.82 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.302e-05/0.3335, allocations: 8.031 kB / 0.6001 GB, free: 10.81 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.332e-05/0.3336, allocations: 68.78 kB / 0.6002 GB, free: 10.74 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004341/0.334, allocations: 488.4 kB / 0.6007 GB, free: 10.23 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.071e-05/0.334, allocations: 5.875 kB / 0.6007 GB, free: 10.22 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.979e-05/0.334, allocations: 16.31 kB / 0.6007 GB, free: 10.21 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005672/0.3346, allocations: 294.9 kB / 0.601 GB, free: 9.906 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.168e-06/0.3346, allocations: 5.406 kB / 0.601 GB, free: 9.902 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.266e-05/0.3347, allocations: 3.984 kB / 0.601 GB, free: 9.898 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.498e-05/0.3347, allocations: 19.92 kB / 0.601 GB, free: 9.879 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009235/0.3356, allocations: 413.2 kB / 0.6014 GB, free: 9.48 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009157/0.3366, allocations: 0.8733 MB / 0.6023 GB, free: 8.555 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001071/0.3376, allocations: 489.7 kB / 0.6027 GB, free: 8.066 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004122/0.3381, allocations: 203.9 kB / 0.6029 GB, free: 7.863 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.777e-05/0.3381, allocations: 4 kB / 0.6029 GB, free: 7.859 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.578e-05/0.3381, allocations: 35.91 kB / 0.603 GB, free: 7.816 MB / 446.1 MB Notification: Performance of pre-optimization done (n=23): time 1.593e-06/0.3381, allocations: 0 / 0.603 GB, free: 7.816 MB / 446.1 MB Notification: Performance of matching and sorting (n=23): time 0.001392/0.3395, allocations: 0.6191 MB / 0.6036 GB, free: 7.199 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.643e-05/0.3396, allocations: 77.11 kB / 0.6036 GB, free: 7.105 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000673/0.3402, allocations: 0.8922 MB / 0.6045 GB, free: 6.207 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 2.04e-05/0.3403, allocations: 33.7 kB / 0.6045 GB, free: 6.168 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001336/0.3404, allocations: 272.5 kB / 0.6048 GB, free: 5.898 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.877e-05/0.3405, allocations: 67.09 kB / 0.6049 GB, free: 5.832 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.187e-05/0.3405, allocations: 51.03 kB / 0.6049 GB, free: 5.777 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 7.542e-05/0.3406, allocations: 374.8 kB / 0.6053 GB, free: 5.402 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003981/0.341, allocations: 174.5 kB / 0.6054 GB, free: 5.234 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004002/0.3414, allocations: 199.6 kB / 0.6056 GB, free: 5.039 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007384/0.3422, allocations: 315.6 kB / 0.6059 GB, free: 4.73 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.024e-06/0.3422, allocations: 0.5938 kB / 0.6059 GB, free: 4.73 MB / 446.1 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0008777/0.3431, allocations: 447.5 kB / 0.6064 GB, free: 4.293 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.549e-05/0.3431, allocations: 7.938 kB / 0.6064 GB, free: 4.285 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.871e-06/0.3431, allocations: 0 / 0.6064 GB, free: 4.285 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.811e-05/0.3431, allocations: 8.812 kB / 0.6064 GB, free: 4.277 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003596/0.3435, allocations: 78.94 kB / 0.6064 GB, free: 4.203 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.743e-06/0.3435, allocations: 0 / 0.6064 GB, free: 4.203 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000223/0.3437, allocations: 51.7 kB / 0.6065 GB, free: 4.152 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.054e-05/0.3438, allocations: 11.98 kB / 0.6065 GB, free: 4.141 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.0001863/0.344, allocations: 244.5 kB / 0.6067 GB, free: 3.895 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.977e-05/0.3441, allocations: 59.25 kB / 0.6068 GB, free: 3.836 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009954/0.3451, allocations: 490.7 kB / 0.6073 GB, free: 3.348 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.55e-06/0.3451, allocations: 12.73 kB / 0.6073 GB, free: 3.336 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.338e-06/0.3451, allocations: 0 / 0.6073 GB, free: 3.336 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.418e-06/0.3451, allocations: 1.562 kB / 0.6073 GB, free: 3.336 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004159/0.3455, allocations: 477.1 kB / 0.6077 GB, free: 2.82 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.543e-06/0.3455, allocations: 0 / 0.6077 GB, free: 2.82 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003102/0.3458, allocations: 80.61 kB / 0.6078 GB, free: 2.742 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.137e-06/0.3459, allocations: 4.625 kB / 0.6078 GB, free: 2.738 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.841e-05/0.3459, allocations: 3.984 kB / 0.6078 GB, free: 2.734 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.026e-06/0.3459, allocations: 4.844 kB / 0.6078 GB, free: 2.73 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.164e-06/0.3459, allocations: 4 kB / 0.6078 GB, free: 2.727 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008994/0.3468, allocations: 0.6 MB / 0.6084 GB, free: 2.117 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.315e-05/0.3469, allocations: 148.3 kB / 0.6086 GB, free: 1.953 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.256e-05/0.347, allocations: 4.5 kB / 0.6086 GB, free: 1.949 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002735/0.3472, allocations: 45.64 kB / 0.6086 GB, free: 1.906 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001626/0.3474, allocations: 100.8 kB / 0.6087 GB, free: 1.809 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.685e-05/0.3474, allocations: 11.92 kB / 0.6087 GB, free: 1.797 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0004961/0.3479, allocations: 0.6481 MB / 0.6093 GB, free: 1.152 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3479, allocations: 0 / 0.6093 GB, free: 1.152 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.000343/0.3483, allocations: 60.53 kB / 0.6094 GB, free: 1.094 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.0007703/0.3491, allocations: 369 kB / 0.6098 GB, free: 0.8906 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0009266/0.35, allocations: 424.7 kB / 0.6102 GB, free: 492 kB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.435e-06/0.35, allocations: 0 / 0.6102 GB, free: 492 kB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004575/0.3505, allocations: 239.7 kB / 0.6104 GB, free: 252 kB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005364/0.351, allocations: 75.83 kB / 0.6105 GB, free: 188 kB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001471/0.3525, allocations: 1.061 MB / 0.6115 GB, free: 15.07 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004284/0.3529, allocations: 0.8929 MB / 0.6124 GB, free: 14.16 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001391/0.3531, allocations: 47.41 kB / 0.6124 GB, free: 14.11 MB / 462.1 MB Notification: Performance of SimCode: time 4.51e-07/0.3531, allocations: 0 / 0.6124 GB, free: 14.11 MB / 462.1 MB Notification: Performance of Templates: time 0.008315/0.3614, allocations: 6.546 MB / 0.6188 GB, free: 7.582 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 -lv LOG_STATS > BuildSysPro_BuildSysPro.BoundaryConditions.Scenarios.Examples.StepFunctionExample.pipe 2>&1)