Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.RegStep.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.IBPSA.Utilities.Math.Functions.Examples.RegStep,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.RegStep") translateModel(BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.RegStep,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.RegStep") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo): time 0.7333/0.7333, allocations: 131 MB / 146.3 MB, free: 1.309 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.0009963/0.0009964, allocations: 192.2 kB / 176.4 MB, free: 4.887 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.468/1.468, allocations: 225.7 MB / 431.9 MB, free: 8.742 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.0008136/0.0008136, allocations: 89.2 kB / 0.5003 GB, free: 9.844 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003256/0.0003256, allocations: 8 kB / 0.5886 GB, free: 72.68 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1313/0.1317, allocations: 79.59 MB / 0.6663 GB, free: 8.922 MB / 442.7 MB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.RegStep): time 0.000746/0.1325, allocations: 306.2 kB / 0.6666 GB, free: 8.621 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002842/0.1328, allocations: 132.9 kB / 0.6667 GB, free: 8.473 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.196e-06/0.1328, allocations: 0 / 0.6667 GB, free: 8.473 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 1.026e-05/0.1328, allocations: 0 / 0.6667 GB, free: 8.473 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 4.639e-06/0.1328, allocations: 0 / 0.6667 GB, free: 8.473 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001736/0.133, allocations: 11.98 kB / 0.6667 GB, free: 8.461 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 3.058e-05/0.133, allocations: 0 / 0.6667 GB, free: 8.461 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.251e-05/0.1331, allocations: 4 kB / 0.6667 GB, free: 8.457 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 1.231e-05/0.1331, allocations: 4 kB / 0.6667 GB, free: 8.453 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 2.934e-05/0.1331, allocations: 0 / 0.6667 GB, free: 8.453 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 6.162e-06/0.1331, allocations: 0 / 0.6667 GB, free: 8.453 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.886e-05/0.1332, allocations: 23.98 kB / 0.6667 GB, free: 8.43 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 9.989e-06/0.1333, allocations: 3.984 kB / 0.6667 GB, free: 8.426 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 2.66e-05/0.1333, allocations: 29.69 kB / 0.6668 GB, free: 8.391 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 7.116e-05/0.1334, allocations: 15.92 kB / 0.6668 GB, free: 8.375 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.974e-06/0.1334, allocations: 4 kB / 0.6668 GB, free: 8.371 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.312e-06/0.1334, allocations: 0 / 0.6668 GB, free: 8.371 MB / 442.7 MB Notification: Performance of Transformations before backend: time 5.049e-06/0.1334, allocations: 0 / 0.6668 GB, free: 8.371 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0002345/0.1336, allocations: 311.5 kB / 0.6671 GB, free: 8.016 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.364e-05/0.1337, allocations: 8.094 kB / 0.6671 GB, free: 8.008 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000256/0.1339, allocations: 24.91 kB / 0.6671 GB, free: 7.984 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.318e-05/0.134, allocations: 164.4 kB / 0.6673 GB, free: 7.785 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.776e-06/0.134, allocations: 384 / 0.6673 GB, free: 7.785 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.015e-05/0.1341, allocations: 384 / 0.6673 GB, free: 7.785 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001231/0.1342, allocations: 34.25 kB / 0.6673 GB, free: 7.746 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.424e-06/0.1342, allocations: 4.188 kB / 0.6673 GB, free: 7.742 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.118e-06/0.1342, allocations: 3.938 kB / 0.6673 GB, free: 7.738 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.787e-06/0.1342, allocations: 0 / 0.6673 GB, free: 7.738 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.557e-05/0.1343, allocations: 11.98 kB / 0.6673 GB, free: 7.727 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000123/0.1344, allocations: 149.7 kB / 0.6675 GB, free: 7.531 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.179e-05/0.1345, allocations: 30.53 kB / 0.6675 GB, free: 7.492 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.919e-05/0.1346, allocations: 12.92 kB / 0.6675 GB, free: 7.477 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.936e-05/0.1346, allocations: 0 / 0.6675 GB, free: 7.477 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.075e-05/0.1346, allocations: 34.55 kB / 0.6675 GB, free: 7.434 MB / 442.7 MB Notification: Performance of pre-optimization done (n=1): time 7.02e-07/0.1346, allocations: 0 / 0.6675 GB, free: 7.434 MB / 442.7 MB Notification: Performance of matching and sorting (n=1): time 0.0002211/0.1349, allocations: 45.62 kB / 0.6676 GB, free: 7.383 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.257e-05/0.1349, allocations: 55.34 kB / 0.6676 GB, free: 7.316 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.714e-05/0.135, allocations: 97.98 kB / 0.6677 GB, free: 7.211 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 1.193e-05/0.135, allocations: 25.7 kB / 0.6678 GB, free: 7.18 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.286e-05/0.135, allocations: 84.12 kB / 0.6678 GB, free: 7.094 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.228e-05/0.135, allocations: 4 kB / 0.6678 GB, free: 7.09 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.665e-06/0.135, allocations: 0 / 0.6678 GB, free: 7.09 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001034/0.1351, allocations: 318.8 kB / 0.6681 GB, free: 6.77 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.204e-05/0.1352, allocations: 4 kB / 0.6681 GB, free: 6.766 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.421e-05/0.1352, allocations: 3.984 kB / 0.6681 GB, free: 6.762 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.262e-05/0.1353, allocations: 20.91 kB / 0.6682 GB, free: 6.738 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.645e-06/0.1353, allocations: 0 / 0.6682 GB, free: 6.738 MB / 442.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 0.000111/0.1355, allocations: 49.56 kB / 0.6682 GB, free: 6.684 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.119e-05/0.1355, allocations: 8 kB / 0.6682 GB, free: 6.676 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.937e-06/0.1355, allocations: 0 / 0.6682 GB, free: 6.676 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.274e-05/0.1355, allocations: 3.938 kB / 0.6682 GB, free: 6.672 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.696e-05/0.1356, allocations: 4 kB / 0.6682 GB, free: 6.668 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.031e-06/0.1356, allocations: 8.016 kB / 0.6682 GB, free: 6.66 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.046e-05/0.1356, allocations: 0 / 0.6682 GB, free: 6.66 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.482e-06/0.1356, allocations: 0 / 0.6682 GB, free: 6.66 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1): * Single equations (assignments): 1 * 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 6.941e-05/0.1357, allocations: 109.8 kB / 0.6683 GB, free: 6.543 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.921e-06/0.1357, allocations: 0 / 0.6683 GB, free: 6.543 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.461e-05/0.1357, allocations: 7.062 kB / 0.6684 GB, free: 6.539 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.143e-06/0.1358, allocations: 0 / 0.6684 GB, free: 6.539 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.246e-06/0.1358, allocations: 0 / 0.6684 GB, free: 6.539 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.954e-06/0.1358, allocations: 4 kB / 0.6684 GB, free: 6.535 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.872e-05/0.1359, allocations: 149.7 kB / 0.6685 GB, free: 6.34 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.71e-07/0.1359, allocations: 0 / 0.6685 GB, free: 6.34 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.891e-05/0.1359, allocations: 0 / 0.6685 GB, free: 6.34 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.687e-06/0.1359, allocations: 4 kB / 0.6685 GB, free: 6.336 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.007e-06/0.1359, allocations: 7.922 kB / 0.6685 GB, free: 6.328 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.354e-06/0.1359, allocations: 3.984 kB / 0.6685 GB, free: 6.324 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.51e-07/0.1359, allocations: 0 / 0.6685 GB, free: 6.324 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001381/0.1361, allocations: 72.97 kB / 0.6686 GB, free: 6.234 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.271e-05/0.1361, allocations: 81.11 kB / 0.6687 GB, free: 6.137 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.151e-05/0.1361, allocations: 3.938 kB / 0.6687 GB, free: 6.133 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.092e-05/0.1362, allocations: 3.984 kB / 0.6687 GB, free: 6.129 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.357e-05/0.1362, allocations: 0 / 0.6687 GB, free: 6.129 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.447e-06/0.1362, allocations: 0 / 0.6687 GB, free: 6.129 MB / 442.7 MB Notification: Performance of sorting global known variables: time 2.661e-05/0.1362, allocations: 75.28 kB / 0.6687 GB, free: 6.055 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.11e-07/0.1362, allocations: 4 kB / 0.6687 GB, free: 6.051 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0001582/0.1364, allocations: 8.031 kB / 0.6688 GB, free: 6.043 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (1): * Single equations (assignments): 1 * 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.0001068/0.1365, allocations: 103.9 kB / 0.6688 GB, free: 5.934 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.000125/0.1367, allocations: 11.98 kB / 0.6689 GB, free: 5.922 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 1.863e-06/0.1367, allocations: 0 / 0.6689 GB, free: 5.922 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 4.444e-05/0.1367, allocations: 7.984 kB / 0.6689 GB, free: 5.914 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001133/0.1368, allocations: 4.219 kB / 0.6689 GB, free: 5.91 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002095/0.1371, allocations: 86.81 kB / 0.669 GB, free: 5.797 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002129/0.1373, allocations: 0.6731 MB / 0.6696 GB, free: 5.098 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 4.384e-05/0.1373, allocations: 4 kB / 0.6696 GB, free: 5.094 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.296e-05/0.1374, allocations: 11.44 kB / 0.6696 GB, free: 5.082 MB / 442.7 MB Notification: Performance of SimCode: time 5.91e-07/0.1374, allocations: 0 / 0.6696 GB, free: 5.082 MB / 442.7 MB Notification: Performance of Templates: time 0.001714/0.1391, allocations: 220 kB / 0.6698 GB, free: 4.871 MB / 442.7 MB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.RegStep.makefile (rm -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.RegStep.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.RegStep.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.RegStep.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.RegStep.sim & ./BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.RegStep -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.RegStep.pipe 2>&1)