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/BuildSysPro 3.5.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package BuildSysPro with version 3.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/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/BuildSysPro 3.5.0/package.mo): time 0.7093/0.7093, allocations: 128.7 MB / 144.5 MB, free: 1.379 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001265/0.001265, allocations: 190.5 kB / 174.3 MB, free: 5.922 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.476/1.476, allocations: 205 MB / 408.9 MB, free: 9.715 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001028/0.001028, allocations: 92.92 kB / 485.1 MB, free: 13.58 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001038/0.001038, allocations: 55.55 kB / 0.558 GB, free: 97.54 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1544/0.1555, allocations: 75.48 MB / 0.6317 GB, free: 33.04 MB / 442.7 MB Notification: Performance of NFInst.instantiate(BuildSysPro.BoundaryConditions.Scenarios.Examples.StepFunctionExample): time 0.002437/0.158, allocations: 1.272 MB / 0.6329 GB, free: 31.76 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008927/0.1589, allocations: 0.6199 MB / 0.6335 GB, free: 31.14 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001099/0.159, allocations: 0 / 0.6335 GB, free: 31.14 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003834/0.1594, allocations: 247.4 kB / 0.6338 GB, free: 30.89 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003638/0.1598, allocations: 219.4 kB / 0.634 GB, free: 30.68 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004093/0.1602, allocations: 225.8 kB / 0.6342 GB, free: 30.46 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002657/0.1605, allocations: 351.1 kB / 0.6345 GB, free: 30.12 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001484/0.1606, allocations: 56.95 kB / 0.6346 GB, free: 30.07 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001237/0.1608, allocations: 147.3 kB / 0.6347 GB, free: 29.92 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002095/0.161, allocations: 247.1 kB / 0.6349 GB, free: 29.68 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 3.839e-05/0.161, allocations: 8 kB / 0.635 GB, free: 29.67 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.573e-05/0.1611, allocations: 43.92 kB / 0.635 GB, free: 29.63 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001237/0.1613, allocations: 155.5 kB / 0.6351 GB, free: 29.48 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001095/0.1614, allocations: 186.5 kB / 0.6353 GB, free: 29.29 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002945/0.1617, allocations: 474.5 kB / 0.6358 GB, free: 28.83 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.095e-06/0.1617, allocations: 0 / 0.6358 GB, free: 28.83 MB / 442.7 MB Notification: Performance of FrontEnd: time 7.61e-07/0.1617, allocations: 4 kB / 0.6358 GB, free: 28.82 MB / 442.7 MB Notification: Performance of Transformations before backend: time 8.316e-06/0.1617, allocations: 0 / 0.6358 GB, free: 28.82 MB / 442.7 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.001228/0.1629, allocations: 0.9138 MB / 0.6367 GB, free: 27.86 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.613e-05/0.163, allocations: 11.97 kB / 0.6367 GB, free: 27.85 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.351e-05/0.1631, allocations: 64.09 kB / 0.6367 GB, free: 27.79 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004758/0.1636, allocations: 496.3 kB / 0.6372 GB, free: 27.26 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.494e-05/0.1636, allocations: 4.375 kB / 0.6372 GB, free: 27.26 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.512e-05/0.1636, allocations: 16.38 kB / 0.6372 GB, free: 27.24 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005843/0.1642, allocations: 300 kB / 0.6375 GB, free: 26.93 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.099e-05/0.1642, allocations: 0 / 0.6375 GB, free: 26.93 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.014e-05/0.1642, allocations: 4 kB / 0.6375 GB, free: 26.93 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.443e-05/0.1643, allocations: 12 kB / 0.6375 GB, free: 26.92 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009612/0.1652, allocations: 411.5 kB / 0.6379 GB, free: 26.52 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009985/0.1662, allocations: 0.8752 MB / 0.6388 GB, free: 25.59 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001104/0.1674, allocations: 496.6 kB / 0.6393 GB, free: 25.08 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004134/0.1678, allocations: 201.6 kB / 0.6394 GB, free: 24.88 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.399e-05/0.1678, allocations: 4.172 kB / 0.6395 GB, free: 24.88 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.906e-05/0.1679, allocations: 46.44 kB / 0.6395 GB, free: 24.82 MB / 442.7 MB Notification: Performance of pre-optimization done (n=23): time 1.562e-06/0.1679, allocations: 0 / 0.6395 GB, free: 24.82 MB / 442.7 MB Notification: Performance of matching and sorting (n=23): time 0.001432/0.1693, allocations: 0.6059 MB / 0.6401 GB, free: 24.21 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.203e-05/0.1694, allocations: 85.11 kB / 0.6402 GB, free: 24.11 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007787/0.1701, allocations: 0.8869 MB / 0.641 GB, free: 23.21 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 1.966e-05/0.1702, allocations: 29.7 kB / 0.6411 GB, free: 23.17 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001425/0.1703, allocations: 276.5 kB / 0.6413 GB, free: 22.89 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.169e-05/0.1704, allocations: 67.09 kB / 0.6414 GB, free: 22.83 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.886e-05/0.1705, allocations: 49.69 kB / 0.6414 GB, free: 22.77 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 8.766e-05/0.1706, allocations: 378.8 kB / 0.6418 GB, free: 22.39 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004057/0.171, allocations: 167.8 kB / 0.642 GB, free: 22.23 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004184/0.1714, allocations: 204.4 kB / 0.6422 GB, free: 22.03 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007402/0.1722, allocations: 318.2 kB / 0.6425 GB, free: 21.71 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.003e-06/0.1722, allocations: 0 / 0.6425 GB, free: 21.71 MB / 442.7 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0008897/0.1731, allocations: 444.5 kB / 0.6429 GB, free: 21.27 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.545e-05/0.1731, allocations: 4 kB / 0.6429 GB, free: 21.27 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.691e-06/0.1731, allocations: 0 / 0.6429 GB, free: 21.27 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.673e-05/0.1731, allocations: 11.94 kB / 0.6429 GB, free: 21.25 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003634/0.1735, allocations: 71.86 kB / 0.643 GB, free: 21.18 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.392e-06/0.1735, allocations: 4 kB / 0.643 GB, free: 21.18 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002269/0.1737, allocations: 51.78 kB / 0.643 GB, free: 21.13 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.033e-05/0.1738, allocations: 4 kB / 0.643 GB, free: 21.12 MB / 442.7 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.0002019/0.174, allocations: 256.6 kB / 0.6433 GB, free: 20.87 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.629e-05/0.1741, allocations: 63.16 kB / 0.6433 GB, free: 20.8 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00101/0.1751, allocations: 494.3 kB / 0.6438 GB, free: 20.31 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.49e-06/0.1751, allocations: 7.938 kB / 0.6438 GB, free: 20.3 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.889e-06/0.1751, allocations: 0 / 0.6438 GB, free: 20.3 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.338e-06/0.1751, allocations: 0 / 0.6438 GB, free: 20.3 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004241/0.1755, allocations: 485.1 kB / 0.6443 GB, free: 19.78 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.843e-06/0.1756, allocations: 0 / 0.6443 GB, free: 19.78 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003025/0.1759, allocations: 79.91 kB / 0.6443 GB, free: 19.7 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.046e-06/0.1759, allocations: 3.938 kB / 0.6443 GB, free: 19.7 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.136e-05/0.1759, allocations: 4 kB / 0.6444 GB, free: 19.7 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.926e-06/0.1759, allocations: 7.875 kB / 0.6444 GB, free: 19.69 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.283e-06/0.1759, allocations: 0 / 0.6444 GB, free: 19.69 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001812/0.1777, allocations: 1.499 MB / 0.6458 GB, free: 18.13 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001577/0.1779, allocations: 152.2 kB / 0.646 GB, free: 17.96 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.052e-05/0.178, allocations: 7.984 kB / 0.646 GB, free: 17.95 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002824/0.1783, allocations: 39.95 kB / 0.646 GB, free: 17.91 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001814/0.1785, allocations: 87.84 kB / 0.6461 GB, free: 17.83 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.81e-05/0.1785, allocations: 7.984 kB / 0.6461 GB, free: 17.82 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0005302/0.179, allocations: 0.6474 MB / 0.6467 GB, free: 17.18 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.179, allocations: 0 / 0.6467 GB, free: 17.18 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0004383/0.1795, allocations: 64 kB / 0.6468 GB, free: 17.11 MB / 442.7 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.0008493/0.1803, allocations: 371.5 kB / 0.6472 GB, free: 16.88 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0009003/0.1812, allocations: 395.7 kB / 0.6475 GB, free: 16.49 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 3.606e-06/0.1813, allocations: 0 / 0.6475 GB, free: 16.49 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004799/0.1817, allocations: 247.9 kB / 0.6478 GB, free: 16.25 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005959/0.1823, allocations: 84.92 kB / 0.6478 GB, free: 16.18 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001433/0.1838, allocations: 1.336 MB / 0.6492 GB, free: 14.79 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002961/0.1841, allocations: 0.9009 MB / 0.65 GB, free: 13.87 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.0002093/0.1843, allocations: 106.9 kB / 0.6501 GB, free: 13.77 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001112/0.1844, allocations: 39.41 kB / 0.6502 GB, free: 13.73 MB / 442.7 MB Notification: Performance of SimCode: time 2.2e-07/0.1844, allocations: 0 / 0.6502 GB, free: 13.73 MB / 442.7 MB Notification: Performance of Templates: time 0.008014/0.1925, allocations: 5.219 MB / 0.6553 GB, free: 8.516 MB / 442.7 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)