Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Math.Examples.Splice.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/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) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) Using package NcDataReader2 with version 2.5.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) 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 BuildingSystems with version 2.0.0-beta (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Running command: translateModel(BuildingSystems.Utilities.Math.Examples.Splice,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Examples.Splice") translateModel(BuildingSystems.Utilities.Math.Examples.Splice,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Examples.Splice") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.7683/0.7683, allocations: 143.8 MB / 159.1 MB, free: 6.484 MB / 122.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.001026/0.001026, allocations: 179.5 kB / 192 MB, free: 6.727 MB / 154.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.475/1.475, allocations: 225.7 MB / 450.4 MB, free: 5.012 MB / 330.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.001076/0.001077, allocations: 95.55 kB / 0.5211 GB, free: 1.676 MB / 410.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001662/0.001662, allocations: 275.5 kB / 0.6025 GB, free: 49.32 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000416/0.000416, allocations: 13.91 kB / 0.6948 GB, free: 59.16 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1503/0.1508, allocations: 82.45 MB / 0.7753 GB, free: 14.39 MB / 458.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.Splice): time 0.001752/0.1526, allocations: 1.209 MB / 0.7765 GB, free: 13.18 MB / 458.7 MB Notification: Performance of NFInst.instExpressions: time 0.001166/0.1537, allocations: 0.7628 MB / 0.7772 GB, free: 12.37 MB / 458.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.006e-05/0.1538, allocations: 0 / 0.7772 GB, free: 12.37 MB / 458.7 MB Notification: Performance of NFTyping.typeComponents: time 2.277e-05/0.1538, allocations: 7.875 kB / 0.7772 GB, free: 12.36 MB / 458.7 MB Notification: Performance of NFTyping.typeBindings: time 5.019e-05/0.1539, allocations: 3.938 kB / 0.7772 GB, free: 12.36 MB / 458.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002946/0.1542, allocations: 55.88 kB / 0.7773 GB, free: 12.3 MB / 458.7 MB Notification: Performance of NFFlatten.flatten: time 6.819e-05/0.1543, allocations: 31.86 kB / 0.7773 GB, free: 12.27 MB / 458.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001006/0.1544, allocations: 20.27 kB / 0.7773 GB, free: 12.25 MB / 458.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.808e-05/0.1545, allocations: 15.92 kB / 0.7774 GB, free: 12.24 MB / 458.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.605e-05/0.1545, allocations: 11.92 kB / 0.7774 GB, free: 12.23 MB / 458.7 MB Notification: Performance of NFPackage.collectConstants: time 1.186e-05/0.1545, allocations: 4 kB / 0.7774 GB, free: 12.22 MB / 458.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001779/0.1547, allocations: 95.84 kB / 0.7775 GB, free: 12.13 MB / 458.7 MB Notification: Performance of NFScalarize.scalarize: time 1.526e-05/0.1547, allocations: 3.984 kB / 0.7775 GB, free: 12.12 MB / 458.7 MB Notification: Performance of NFVerifyModel.verify: time 4.391e-05/0.1548, allocations: 41.58 kB / 0.7775 GB, free: 12.08 MB / 458.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001595/0.155, allocations: 83.77 kB / 0.7776 GB, free: 12 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.488e-06/0.155, allocations: 0 / 0.7776 GB, free: 12 MB / 458.7 MB Notification: Performance of FrontEnd: time 1.222e-06/0.155, allocations: 4 kB / 0.7776 GB, free: 11.99 MB / 458.7 MB Notification: Performance of Transformations before backend: time 4.869e-06/0.155, allocations: 0 / 0.7776 GB, free: 11.99 MB / 458.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004035/0.1554, allocations: 355.4 kB / 0.7779 GB, free: 11.6 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.478e-05/0.1554, allocations: 8.031 kB / 0.7779 GB, free: 11.59 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.77e-05/0.1555, allocations: 8.844 kB / 0.778 GB, free: 11.58 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000118/0.1556, allocations: 168.3 kB / 0.7781 GB, free: 11.38 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.018e-05/0.1556, allocations: 384 / 0.7781 GB, free: 11.38 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.316e-05/0.1556, allocations: 4.375 kB / 0.7781 GB, free: 11.38 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001531/0.1558, allocations: 61.98 kB / 0.7782 GB, free: 11.31 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.362e-06/0.1558, allocations: 0 / 0.7782 GB, free: 11.31 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.127e-06/0.1558, allocations: 0 / 0.7782 GB, free: 11.31 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.46e-06/0.1558, allocations: 4 kB / 0.7782 GB, free: 11.3 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.199e-05/0.1559, allocations: 35.91 kB / 0.7782 GB, free: 11.27 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003593/0.1563, allocations: 280.7 kB / 0.7785 GB, free: 10.95 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.619e-05/0.1564, allocations: 38.56 kB / 0.7785 GB, free: 10.9 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.701e-05/0.1564, allocations: 16.86 kB / 0.7785 GB, free: 10.88 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005141/0.157, allocations: 0.5544 MB / 0.7791 GB, free: 10.2 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.159e-05/0.157, allocations: 42.56 kB / 0.7791 GB, free: 10.14 MB / 458.7 MB Notification: Performance of pre-optimization done (n=2): time 9.72e-07/0.157, allocations: 0 / 0.7791 GB, free: 10.14 MB / 458.7 MB Notification: Performance of matching and sorting (n=2): time 0.0002594/0.1573, allocations: 69.66 kB / 0.7792 GB, free: 10.07 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.484e-05/0.1573, allocations: 51.41 kB / 0.7792 GB, free: 10.01 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.753e-05/0.1574, allocations: 117.8 kB / 0.7793 GB, free: 9.883 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 1.742e-05/0.1575, allocations: 29.83 kB / 0.7794 GB, free: 9.848 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.976e-05/0.1575, allocations: 88.14 kB / 0.7795 GB, free: 9.758 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.573e-05/0.1575, allocations: 11.89 kB / 0.7795 GB, free: 9.746 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.346e-06/0.1576, allocations: 0 / 0.7795 GB, free: 9.746 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001192/0.1577, allocations: 318.8 kB / 0.7798 GB, free: 9.426 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.318e-05/0.1577, allocations: 15.92 kB / 0.7798 GB, free: 9.41 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.314e-05/0.1578, allocations: 12 kB / 0.7798 GB, free: 9.398 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.384e-05/0.1579, allocations: 36.84 kB / 0.7798 GB, free: 9.359 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.683e-06/0.1579, allocations: 0 / 0.7798 GB, free: 9.359 MB / 458.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.000112/0.158, allocations: 57.59 kB / 0.7799 GB, free: 9.297 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.365e-05/0.158, allocations: 8 kB / 0.7799 GB, free: 9.289 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.669e-06/0.158, allocations: 3.938 kB / 0.7799 GB, free: 9.285 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.2e-05/0.158, allocations: 4.031 kB / 0.7799 GB, free: 9.281 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.585e-05/0.1581, allocations: 7.984 kB / 0.7799 GB, free: 9.273 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.753e-06/0.1581, allocations: 0 / 0.7799 GB, free: 9.273 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.489e-05/0.1582, allocations: 11.94 kB / 0.7799 GB, free: 9.262 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.702e-06/0.1582, allocations: 0 / 0.7799 GB, free: 9.262 MB / 458.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 (2): * Single equations (assignments): 2 * 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 7.254e-05/0.1582, allocations: 117.8 kB / 0.78 GB, free: 9.137 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.215e-05/0.1583, allocations: 3.984 kB / 0.78 GB, free: 9.133 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001711/0.1584, allocations: 69.22 kB / 0.7801 GB, free: 9.055 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.256e-06/0.1585, allocations: 3.984 kB / 0.7801 GB, free: 9.051 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.216e-06/0.1585, allocations: 0 / 0.7801 GB, free: 9.051 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.044e-06/0.1585, allocations: 0 / 0.7801 GB, free: 9.051 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001528/0.1586, allocations: 169.5 kB / 0.7803 GB, free: 8.836 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.81e-07/0.1586, allocations: 0 / 0.7803 GB, free: 8.836 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.093e-05/0.1587, allocations: 4 kB / 0.7803 GB, free: 8.832 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.313e-06/0.1587, allocations: 0 / 0.7803 GB, free: 8.832 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.142e-06/0.1587, allocations: 0 / 0.7803 GB, free: 8.832 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.072e-06/0.1587, allocations: 8.031 kB / 0.7803 GB, free: 8.824 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.224e-06/0.1587, allocations: 0 / 0.7803 GB, free: 8.824 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001551/0.1589, allocations: 159.4 kB / 0.7804 GB, free: 8.652 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.724e-05/0.1589, allocations: 85.02 kB / 0.7805 GB, free: 8.551 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.334e-05/0.1589, allocations: 0 / 0.7805 GB, free: 8.551 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.085e-05/0.159, allocations: 8.016 kB / 0.7805 GB, free: 8.543 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.058e-05/0.1591, allocations: 4 kB / 0.7805 GB, free: 8.539 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.246e-06/0.1591, allocations: 0 / 0.7805 GB, free: 8.539 MB / 458.7 MB Notification: Performance of sorting global known variables: time 5.229e-05/0.1591, allocations: 99.27 kB / 0.7806 GB, free: 8.441 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.21e-07/0.1591, allocations: 0 / 0.7806 GB, free: 8.441 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0001958/0.1593, allocations: 15.94 kB / 0.7806 GB, free: 8.426 MB / 458.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 (2): * Single equations (assignments): 2 * 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.0001454/0.1595, allocations: 103.2 kB / 0.7807 GB, free: 8.316 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.000128/0.1596, allocations: 39.91 kB / 0.7808 GB, free: 8.277 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 1.764e-06/0.1596, allocations: 0 / 0.7808 GB, free: 8.277 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 4.651e-05/0.1597, allocations: 12 kB / 0.7808 GB, free: 8.266 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001827/0.1599, allocations: 7.938 kB / 0.7808 GB, free: 8.258 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002787/0.1601, allocations: 156.7 kB / 0.7809 GB, free: 8.074 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002429/0.1604, allocations: 0.6809 MB / 0.7816 GB, free: 7.367 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 2.498e-05/0.1604, allocations: 4 kB / 0.7816 GB, free: 7.363 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.667e-05/0.1605, allocations: 11.38 kB / 0.7816 GB, free: 7.352 MB / 458.7 MB Notification: Performance of SimCode: time 2.3e-07/0.1605, allocations: 0 / 0.7816 GB, free: 7.352 MB / 458.7 MB Notification: Performance of Templates: time 0.002222/0.1627, allocations: 443.8 kB / 0.782 GB, free: 6.922 MB / 458.7 MB make -j1 -f BuildingSystems_BuildingSystems.Utilities.Math.Examples.Splice.makefile (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Examples.Splice.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Examples.Splice.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Examples.Splice.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Examples.Splice.sim & ./BuildingSystems_BuildingSystems.Utilities.Math.Examples.Splice -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Math.Examples.Splice.pipe 2>&1)