Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.Splice.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.Examples.Splice,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.Splice") translateModel(BuildSysPro.IBPSA.Utilities.Math.Examples.Splice,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.Splice") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo): time 0.766/0.766, allocations: 131 MB / 146.3 MB, free: 1.305 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.0009937/0.000994, allocations: 191.2 kB / 176.4 MB, free: 4.879 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.406/1.406, allocations: 225.7 MB / 431.9 MB, free: 8.723 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.0007616/0.0007616, allocations: 97.11 kB / 0.5003 GB, free: 9.82 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003517/0.0003518, allocations: 12 kB / 0.5885 GB, free: 72.68 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1336/0.134, allocations: 79.6 MB / 0.6663 GB, free: 8.914 MB / 442.7 MB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Examples.Splice): time 0.001653/0.1357, allocations: 1.202 MB / 0.6674 GB, free: 7.699 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.00104/0.1367, allocations: 0.7675 MB / 0.6682 GB, free: 6.891 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.791e-05/0.1368, allocations: 0 / 0.6682 GB, free: 6.891 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 1.858e-05/0.1368, allocations: 3.938 kB / 0.6682 GB, free: 6.887 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 5.601e-05/0.1369, allocations: 7.938 kB / 0.6682 GB, free: 6.879 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002576/0.1371, allocations: 55.86 kB / 0.6683 GB, free: 6.824 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 6.305e-05/0.1372, allocations: 35.86 kB / 0.6683 GB, free: 6.789 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.383e-05/0.1373, allocations: 12 kB / 0.6683 GB, free: 6.777 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.778e-05/0.1374, allocations: 15.92 kB / 0.6683 GB, free: 6.762 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.564e-05/0.1375, allocations: 15.92 kB / 0.6683 GB, free: 6.746 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 9.698e-06/0.1375, allocations: 0 / 0.6683 GB, free: 6.746 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001637/0.1376, allocations: 91.84 kB / 0.6684 GB, free: 6.656 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 1.304e-05/0.1377, allocations: 3.984 kB / 0.6684 GB, free: 6.652 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 3.971e-05/0.1377, allocations: 45.56 kB / 0.6685 GB, free: 6.602 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001412/0.1379, allocations: 75.84 kB / 0.6685 GB, free: 6.527 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 5e-06/0.1379, allocations: 3.938 kB / 0.6685 GB, free: 6.523 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.403e-06/0.1379, allocations: 0 / 0.6685 GB, free: 6.523 MB / 442.7 MB Notification: Performance of Transformations before backend: time 3.977e-06/0.1379, allocations: 0 / 0.6685 GB, free: 6.523 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004118/0.1383, allocations: 355.7 kB / 0.6689 GB, free: 6.129 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.407e-05/0.1383, allocations: 12.03 kB / 0.6689 GB, free: 6.117 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.607e-05/0.1384, allocations: 4.844 kB / 0.6689 GB, free: 6.113 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001092/0.1385, allocations: 172.3 kB / 0.6691 GB, free: 5.906 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.576e-06/0.1385, allocations: 384 / 0.6691 GB, free: 5.906 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.484e-05/0.1385, allocations: 4.375 kB / 0.6691 GB, free: 5.902 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001448/0.1387, allocations: 61.94 kB / 0.6691 GB, free: 5.836 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.654e-06/0.1387, allocations: 4 kB / 0.6691 GB, free: 5.832 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.237e-06/0.1387, allocations: 0 / 0.6691 GB, free: 5.832 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.258e-06/0.1387, allocations: 0 / 0.6691 GB, free: 5.832 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.174e-05/0.1388, allocations: 35.97 kB / 0.6692 GB, free: 5.797 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003259/0.1391, allocations: 276.7 kB / 0.6694 GB, free: 5.477 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000106/0.1393, allocations: 38.52 kB / 0.6695 GB, free: 5.43 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.099e-05/0.1393, allocations: 20.84 kB / 0.6695 GB, free: 5.406 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004449/0.1398, allocations: 0.5583 MB / 0.67 GB, free: 4.719 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.293e-05/0.1398, allocations: 30.56 kB / 0.6701 GB, free: 4.68 MB / 442.7 MB Notification: Performance of pre-optimization done (n=2): time 1.021e-06/0.1398, allocations: 4 kB / 0.6701 GB, free: 4.676 MB / 442.7 MB Notification: Performance of matching and sorting (n=2): time 0.0002337/0.1401, allocations: 69.58 kB / 0.6701 GB, free: 4.602 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.184e-05/0.1401, allocations: 59.34 kB / 0.6702 GB, free: 4.531 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.667e-05/0.1402, allocations: 125.8 kB / 0.6703 GB, free: 4.398 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 1.36e-05/0.1402, allocations: 25.7 kB / 0.6703 GB, free: 4.367 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.879e-05/0.1403, allocations: 92.27 kB / 0.6704 GB, free: 4.273 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.335e-05/0.1403, allocations: 7.844 kB / 0.6704 GB, free: 4.266 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.216e-06/0.1403, allocations: 0 / 0.6704 GB, free: 4.266 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001192/0.1404, allocations: 322.8 kB / 0.6707 GB, free: 3.941 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.127e-05/0.1405, allocations: 8 kB / 0.6707 GB, free: 3.934 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.617e-05/0.1405, allocations: 15.98 kB / 0.6708 GB, free: 3.918 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.775e-05/0.1406, allocations: 28.92 kB / 0.6708 GB, free: 3.887 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.875e-06/0.1406, allocations: 7.922 kB / 0.6708 GB, free: 3.879 MB / 442.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001188/0.1407, allocations: 57.69 kB / 0.6708 GB, free: 3.816 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.409e-05/0.1408, allocations: 4 kB / 0.6708 GB, free: 3.812 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.488e-06/0.1408, allocations: 3.938 kB / 0.6709 GB, free: 3.809 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.205e-05/0.1408, allocations: 0 / 0.6709 GB, free: 3.809 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.034e-05/0.1409, allocations: 8.031 kB / 0.6709 GB, free: 3.801 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.943e-06/0.1409, allocations: 4 kB / 0.6709 GB, free: 3.797 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.927e-05/0.1409, allocations: 7.891 kB / 0.6709 GB, free: 3.789 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.688e-06/0.1409, allocations: 4 kB / 0.6709 GB, free: 3.785 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 (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.042e-05/0.141, allocations: 113.8 kB / 0.671 GB, free: 3.664 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.252e-05/0.141, allocations: 4 kB / 0.671 GB, free: 3.66 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001653/0.1412, allocations: 73.19 kB / 0.6711 GB, free: 3.586 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.744e-06/0.1412, allocations: 0 / 0.6711 GB, free: 3.586 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.226e-06/0.1412, allocations: 0 / 0.6711 GB, free: 3.586 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.865e-06/0.1412, allocations: 0 / 0.6711 GB, free: 3.586 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001571/0.1414, allocations: 169.6 kB / 0.6712 GB, free: 3.371 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.92e-07/0.1414, allocations: 0 / 0.6712 GB, free: 3.371 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.765e-05/0.1415, allocations: 19.92 kB / 0.6712 GB, free: 3.352 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.623e-06/0.1415, allocations: 0 / 0.6712 GB, free: 3.352 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.131e-06/0.1415, allocations: 0 / 0.6712 GB, free: 3.352 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.021e-06/0.1415, allocations: 0 / 0.6712 GB, free: 3.352 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.31e-07/0.1415, allocations: 4.031 kB / 0.6712 GB, free: 3.348 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000158/0.1416, allocations: 159.4 kB / 0.6714 GB, free: 3.176 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.209e-05/0.1417, allocations: 81.09 kB / 0.6715 GB, free: 3.078 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.204e-05/0.1417, allocations: 0 / 0.6715 GB, free: 3.078 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.875e-05/0.1418, allocations: 4 kB / 0.6715 GB, free: 3.074 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.682e-05/0.1418, allocations: 8.031 kB / 0.6715 GB, free: 3.066 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.416e-06/0.1418, allocations: 3.938 kB / 0.6715 GB, free: 3.062 MB / 442.7 MB Notification: Performance of sorting global known variables: time 4.964e-05/0.1419, allocations: 95.27 kB / 0.6716 GB, free: 2.969 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.41e-07/0.1419, allocations: 0 / 0.6716 GB, free: 2.969 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0002007/0.1421, allocations: 15.84 kB / 0.6716 GB, free: 2.953 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 (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.0001631/0.1423, allocations: 115.2 kB / 0.6717 GB, free: 2.832 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0001324/0.1424, allocations: 35.86 kB / 0.6717 GB, free: 2.797 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 1.733e-06/0.1424, allocations: 0 / 0.6717 GB, free: 2.797 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 4.721e-05/0.1425, allocations: 19.98 kB / 0.6718 GB, free: 2.777 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001995/0.1427, allocations: 0 / 0.6718 GB, free: 2.777 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003176/0.143, allocations: 152.8 kB / 0.6719 GB, free: 2.602 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002897/0.1433, allocations: 0.6809 MB / 0.6726 GB, free: 1.895 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 3.027e-05/0.1433, allocations: 7.984 kB / 0.6726 GB, free: 1.887 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.124e-05/0.1434, allocations: 7.438 kB / 0.6726 GB, free: 1.879 MB / 442.7 MB Notification: Performance of SimCode: time 2.054e-06/0.1434, allocations: 0 / 0.6726 GB, free: 1.879 MB / 442.7 MB Notification: Performance of Templates: time 0.002269/0.1456, allocations: 455.9 kB / 0.673 GB, free: 1.434 MB / 442.7 MB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.Splice.makefile (rm -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.Splice.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.Splice.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.Splice.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.Splice.sim & ./BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.Splice -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.Splice.pipe 2>&1)