Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.BoundaryConditions.Scenarios.Examples.StepFunctionExample.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package BuildSysPro with version 3.4.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-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(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo): time 0.7563/0.7563, allocations: 131 MB / 146.3 MB, free: 1.332 MB / 106.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00102/0.00102, allocations: 187.8 kB / 176.4 MB, free: 4.91 MB / 138.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.462/1.462, allocations: 225.7 MB / 431.9 MB, free: 8.797 MB / 314.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007605/0.0007604, allocations: 93.58 kB / 0.5003 GB, free: 9.914 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003157/0.0003158, allocations: 8 kB / 0.5885 GB, free: 72.73 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1336/0.1339, allocations: 79.6 MB / 0.6662 GB, free: 8.961 MB / 442.7 MB Notification: Performance of NFInst.instantiate(BuildSysPro.BoundaryConditions.Scenarios.Examples.StepFunctionExample): time 0.001428/0.1354, allocations: 0.8817 MB / 0.6671 GB, free: 8.078 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.001096/0.1365, allocations: 0.7775 MB / 0.6679 GB, free: 7.277 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.405e-05/0.1366, allocations: 7.938 kB / 0.6679 GB, free: 7.27 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003796/0.137, allocations: 239.4 kB / 0.6681 GB, free: 7.035 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004247/0.1374, allocations: 227.4 kB / 0.6683 GB, free: 6.812 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005011/0.138, allocations: 247.6 kB / 0.6686 GB, free: 6.57 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003565/0.1383, allocations: 347 kB / 0.6689 GB, free: 6.23 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001946/0.1385, allocations: 72.86 kB / 0.669 GB, free: 6.16 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001451/0.1387, allocations: 143.3 kB / 0.6691 GB, free: 6.02 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000245/0.1389, allocations: 235.1 kB / 0.6693 GB, free: 5.789 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 3.233e-05/0.139, allocations: 4 kB / 0.6693 GB, free: 5.785 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.79e-05/0.1391, allocations: 35.92 kB / 0.6693 GB, free: 5.75 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001428/0.1392, allocations: 155.5 kB / 0.6695 GB, free: 5.598 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001859/0.1394, allocations: 204.2 kB / 0.6697 GB, free: 5.391 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003799/0.1398, allocations: 446.2 kB / 0.6701 GB, free: 4.953 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.147e-06/0.1398, allocations: 0 / 0.6701 GB, free: 4.953 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.433e-06/0.1398, allocations: 4 kB / 0.6701 GB, free: 4.949 MB / 442.7 MB Notification: Performance of Transformations before backend: time 6.642e-06/0.1398, allocations: 0 / 0.6701 GB, free: 4.949 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.001246/0.1411, allocations: 0.8753 MB / 0.671 GB, free: 4.023 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.318e-05/0.1411, allocations: 12.03 kB / 0.671 GB, free: 4.012 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.957e-05/0.1412, allocations: 64.09 kB / 0.671 GB, free: 3.949 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000548/0.1418, allocations: 492.3 kB / 0.6715 GB, free: 3.43 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.56e-05/0.1418, allocations: 16.38 kB / 0.6715 GB, free: 3.414 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.17e-05/0.1418, allocations: 4.375 kB / 0.6715 GB, free: 3.41 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000701/0.1426, allocations: 337.2 kB / 0.6719 GB, free: 3.066 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.025e-05/0.1426, allocations: 3.938 kB / 0.6719 GB, free: 3.062 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.165e-05/0.1426, allocations: 12 kB / 0.6719 GB, free: 3.051 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.815e-05/0.1426, allocations: 11.98 kB / 0.6719 GB, free: 3.039 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001083/0.1437, allocations: 475.5 kB / 0.6723 GB, free: 2.574 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00117/0.1449, allocations: 0.8713 MB / 0.6732 GB, free: 1.648 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001279/0.1462, allocations: 0.5709 MB / 0.6737 GB, free: 1.059 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005329/0.1467, allocations: 241.6 kB / 0.674 GB, free: 0.8164 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.864e-05/0.1468, allocations: 4 kB / 0.674 GB, free: 0.8125 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.155e-05/0.1468, allocations: 38.69 kB / 0.674 GB, free: 0.7656 MB / 442.7 MB Notification: Performance of pre-optimization done (n=23): time 2.134e-06/0.1468, allocations: 0 / 0.674 GB, free: 0.7656 MB / 442.7 MB Notification: Performance of matching and sorting (n=23): time 0.001755/0.1486, allocations: 0.7152 MB / 0.6747 GB, free: 44 kB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.165e-05/0.1487, allocations: 77.11 kB / 0.6748 GB, free: 15.95 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001099/0.1498, allocations: 0.8907 MB / 0.6757 GB, free: 15.05 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 2.993e-05/0.1499, allocations: 29.7 kB / 0.6757 GB, free: 15.01 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002469/0.1501, allocations: 276.5 kB / 0.676 GB, free: 14.74 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.869e-05/0.1502, allocations: 67.08 kB / 0.676 GB, free: 14.67 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.633e-05/0.1502, allocations: 4 kB / 0.676 GB, free: 14.67 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0002522/0.1505, allocations: 374.8 kB / 0.6764 GB, free: 14.29 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004865/0.151, allocations: 207.8 kB / 0.6766 GB, free: 14.09 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005089/0.1515, allocations: 226.8 kB / 0.6768 GB, free: 13.86 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009317/0.1525, allocations: 382.2 kB / 0.6772 GB, free: 13.48 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.781e-06/0.1525, allocations: 11.98 kB / 0.6772 GB, free: 13.47 MB / 458.7 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.001099/0.1536, allocations: 0.4888 MB / 0.6776 GB, free: 12.97 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.205e-05/0.1536, allocations: 4 kB / 0.6777 GB, free: 12.97 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.917e-06/0.1536, allocations: 4 kB / 0.6777 GB, free: 12.96 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.801e-05/0.1537, allocations: 3.938 kB / 0.6777 GB, free: 12.96 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000421/0.1541, allocations: 99.86 kB / 0.6778 GB, free: 12.86 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.016e-05/0.1541, allocations: 3.984 kB / 0.6778 GB, free: 12.86 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002943/0.1544, allocations: 63.8 kB / 0.6778 GB, free: 12.8 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.495e-05/0.1544, allocations: 8 kB / 0.6778 GB, free: 12.79 MB / 458.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[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 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.0002816/0.1547, allocations: 250.2 kB / 0.6781 GB, free: 12.54 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001049/0.1548, allocations: 63.16 kB / 0.6781 GB, free: 12.47 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001214/0.1561, allocations: 0.5452 MB / 0.6787 GB, free: 11.91 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.847e-06/0.1561, allocations: 7.938 kB / 0.6787 GB, free: 11.91 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.62e-06/0.1561, allocations: 0 / 0.6787 GB, free: 11.91 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.644e-06/0.1561, allocations: 7.969 kB / 0.6787 GB, free: 11.9 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005426/0.1567, allocations: 477.2 kB / 0.6791 GB, free: 11.38 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.855e-06/0.1567, allocations: 4 kB / 0.6791 GB, free: 11.38 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003423/0.157, allocations: 87.92 kB / 0.6792 GB, free: 11.29 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.889e-06/0.157, allocations: 4 kB / 0.6792 GB, free: 11.29 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.453e-05/0.1571, allocations: 11.98 kB / 0.6792 GB, free: 11.28 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.448e-06/0.1571, allocations: 7.938 kB / 0.6792 GB, free: 11.27 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.066e-06/0.1571, allocations: 7.875 kB / 0.6792 GB, free: 11.26 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001078/0.1582, allocations: 0.6668 MB / 0.6799 GB, free: 10.58 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001462/0.1583, allocations: 156.3 kB / 0.68 GB, free: 10.41 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.108e-05/0.1584, allocations: 8 kB / 0.6801 GB, free: 10.4 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002971/0.1587, allocations: 59.89 kB / 0.6801 GB, free: 10.34 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000205/0.1589, allocations: 91.83 kB / 0.6802 GB, free: 10.25 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.358e-05/0.159, allocations: 4 kB / 0.6802 GB, free: 10.25 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.000721/0.1597, allocations: 0.6434 MB / 0.6808 GB, free: 9.605 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.41e-07/0.1597, allocations: 0 / 0.6808 GB, free: 9.605 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0003559/0.16, allocations: 71.83 kB / 0.6809 GB, free: 9.535 MB / 458.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.0008252/0.1609, allocations: 425.6 kB / 0.6813 GB, free: 9.227 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.001027/0.1619, allocations: 459.5 kB / 0.6817 GB, free: 8.777 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 2.785e-06/0.1619, allocations: 4 kB / 0.6817 GB, free: 8.773 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005876/0.1625, allocations: 279.7 kB / 0.682 GB, free: 8.5 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005625/0.1631, allocations: 68.27 kB / 0.6821 GB, free: 8.438 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001684/0.1648, allocations: 1.145 MB / 0.6832 GB, free: 7.262 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004737/0.1653, allocations: 0.8893 MB / 0.6841 GB, free: 6.348 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.0002427/0.1655, allocations: 102.9 kB / 0.6842 GB, free: 6.25 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001196/0.1657, allocations: 47.34 kB / 0.6842 GB, free: 6.203 MB / 458.7 MB Notification: Performance of SimCode: time 2.1e-07/0.1657, allocations: 0 / 0.6842 GB, free: 6.203 MB / 458.7 MB Notification: Performance of Templates: time 0.009369/0.175, allocations: 4.945 MB / 0.689 GB, free: 1.289 MB / 458.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)