Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.SpliceFunction.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.SpliceFunction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.SpliceFunction") translateModel(BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.SpliceFunction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.SpliceFunction") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo): time 0.6912/0.6912, allocations: 131 MB / 146.3 MB, free: 1.289 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.000897/0.0008972, allocations: 183.8 kB / 176.4 MB, free: 4.871 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.382/1.382, allocations: 225.7 MB / 431.9 MB, free: 8.789 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.0008007/0.0008008, allocations: 93.45 kB / 0.5003 GB, free: 9.91 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003174/0.0003174, allocations: 12 kB / 0.5885 GB, free: 72.66 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1207/0.121, allocations: 79.61 MB / 0.6663 GB, free: 8.891 MB / 442.7 MB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.SpliceFunction): time 0.0006654/0.1217, allocations: 302.2 kB / 0.6666 GB, free: 8.594 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.00139/0.1231, allocations: 1.118 MB / 0.6677 GB, free: 7.426 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.103e-05/0.1231, allocations: 0 / 0.6677 GB, free: 7.426 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 1.038e-05/0.1232, allocations: 0 / 0.6677 GB, free: 7.426 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 4.329e-06/0.1232, allocations: 0 / 0.6677 GB, free: 7.426 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000276/0.1234, allocations: 43.89 kB / 0.6677 GB, free: 7.383 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 3.366e-05/0.1235, allocations: 7.938 kB / 0.6677 GB, free: 7.375 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.709e-05/0.1235, allocations: 0 / 0.6677 GB, free: 7.375 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 1.375e-05/0.1236, allocations: 4 kB / 0.6677 GB, free: 7.371 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.955e-05/0.1236, allocations: 3.984 kB / 0.6677 GB, free: 7.367 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 6.331e-06/0.1236, allocations: 0 / 0.6677 GB, free: 7.367 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002053/0.1238, allocations: 91.89 kB / 0.6678 GB, free: 7.277 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 1.193e-05/0.1238, allocations: 0 / 0.6678 GB, free: 7.277 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 3.532e-05/0.1239, allocations: 25.7 kB / 0.6678 GB, free: 7.246 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001342/0.124, allocations: 47.94 kB / 0.6679 GB, free: 7.199 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.031e-06/0.124, allocations: 0 / 0.6679 GB, free: 7.199 MB / 442.7 MB Notification: Performance of FrontEnd: time 3.326e-06/0.124, allocations: 0 / 0.6679 GB, free: 7.199 MB / 442.7 MB Notification: Performance of Transformations before backend: time 4.679e-06/0.1241, allocations: 7.938 kB / 0.6679 GB, free: 7.191 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.0003278/0.1244, allocations: 319.6 kB / 0.6682 GB, free: 6.828 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.113e-05/0.1245, allocations: 12.02 kB / 0.6682 GB, free: 6.816 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.415e-05/0.1245, allocations: 0.9375 kB / 0.6682 GB, free: 6.816 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001091/0.1246, allocations: 160.4 kB / 0.6684 GB, free: 6.621 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.459e-05/0.1246, allocations: 384 / 0.6684 GB, free: 6.621 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.588e-06/0.1246, allocations: 384 / 0.6684 GB, free: 6.621 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001133/0.1248, allocations: 34.2 kB / 0.6684 GB, free: 6.582 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.287e-06/0.1248, allocations: 4.188 kB / 0.6684 GB, free: 6.578 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.214e-05/0.1248, allocations: 7.875 kB / 0.6684 GB, free: 6.57 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.43e-06/0.1248, allocations: 0 / 0.6684 GB, free: 6.57 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.114e-05/0.1248, allocations: 0 / 0.6684 GB, free: 6.57 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001674/0.125, allocations: 153.7 kB / 0.6685 GB, free: 6.371 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.852e-05/0.1251, allocations: 14.58 kB / 0.6686 GB, free: 6.348 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.264e-05/0.1251, allocations: 12.94 kB / 0.6686 GB, free: 6.332 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006238/0.1257, allocations: 0.5622 MB / 0.6691 GB, free: 5.641 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.694e-05/0.1258, allocations: 38.48 kB / 0.6692 GB, free: 5.594 MB / 442.7 MB Notification: Performance of pre-optimization done (n=1): time 1.222e-06/0.1258, allocations: 0 / 0.6692 GB, free: 5.594 MB / 442.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001659/0.126, allocations: 33.64 kB / 0.6692 GB, free: 5.555 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.186e-05/0.126, allocations: 51.41 kB / 0.6692 GB, free: 5.492 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.264e-05/0.1261, allocations: 89.86 kB / 0.6693 GB, free: 5.395 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 1.599e-05/0.1261, allocations: 33.83 kB / 0.6694 GB, free: 5.355 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.495e-05/0.1261, allocations: 84.14 kB / 0.6694 GB, free: 5.27 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.386e-05/0.1262, allocations: 0 / 0.6694 GB, free: 5.27 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.364e-06/0.1262, allocations: 0 / 0.6694 GB, free: 5.27 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001692/0.1264, allocations: 310.8 kB / 0.6697 GB, free: 4.957 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.063e-05/0.1264, allocations: 0 / 0.6697 GB, free: 4.957 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.079e-05/0.1264, allocations: 4 kB / 0.6697 GB, free: 4.953 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.191e-05/0.1264, allocations: 12.78 kB / 0.6698 GB, free: 4.938 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.543e-06/0.1265, allocations: 4.062 kB / 0.6698 GB, free: 4.934 MB / 442.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 7.434e-05/0.1265, allocations: 33.7 kB / 0.6698 GB, free: 4.895 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.651e-05/0.1266, allocations: 4 kB / 0.6698 GB, free: 4.891 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.751e-06/0.1266, allocations: 0 / 0.6698 GB, free: 4.891 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.96e-05/0.1266, allocations: 3.938 kB / 0.6698 GB, free: 4.887 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.463e-05/0.1266, allocations: 7.938 kB / 0.6698 GB, free: 4.879 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.23e-06/0.1267, allocations: 0 / 0.6698 GB, free: 4.879 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.701e-05/0.1267, allocations: 4 kB / 0.6698 GB, free: 4.875 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.822e-06/0.1267, allocations: 0 / 0.6698 GB, free: 4.875 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 7.372e-05/0.1268, allocations: 110.4 kB / 0.6699 GB, free: 4.758 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.709e-06/0.1268, allocations: 7.984 kB / 0.6699 GB, free: 4.75 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.999e-05/0.1269, allocations: 40.7 kB / 0.67 GB, free: 4.707 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.883e-06/0.1269, allocations: 0 / 0.67 GB, free: 4.707 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.927e-06/0.1269, allocations: 0 / 0.67 GB, free: 4.707 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.184e-06/0.1269, allocations: 0 / 0.67 GB, free: 4.707 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.589e-05/0.127, allocations: 157.6 kB / 0.6701 GB, free: 4.504 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.332e-06/0.127, allocations: 0 / 0.6701 GB, free: 4.504 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.655e-05/0.127, allocations: 4.031 kB / 0.6701 GB, free: 4.5 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.084e-06/0.127, allocations: 0 / 0.6701 GB, free: 4.5 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.173e-06/0.1271, allocations: 3.938 kB / 0.6701 GB, free: 4.496 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.412e-06/0.1271, allocations: 0 / 0.6701 GB, free: 4.496 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.1271, allocations: 4 kB / 0.6701 GB, free: 4.492 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.883e-05/0.1272, allocations: 61 kB / 0.6702 GB, free: 4.414 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.05e-05/0.1272, allocations: 81.11 kB / 0.6703 GB, free: 4.316 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.355e-05/0.1272, allocations: 7.938 kB / 0.6703 GB, free: 4.309 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.868e-06/0.1272, allocations: 8.031 kB / 0.6703 GB, free: 4.301 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.158e-05/0.1273, allocations: 0 / 0.6703 GB, free: 4.301 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.265e-06/0.1273, allocations: 0 / 0.6703 GB, free: 4.301 MB / 442.7 MB Notification: Performance of sorting global known variables: time 2.616e-05/0.1273, allocations: 75.28 kB / 0.6703 GB, free: 4.227 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1273, allocations: 0 / 0.6703 GB, free: 4.227 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0002132/0.1275, allocations: 4 kB / 0.6703 GB, free: 4.223 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.0001746/0.1277, allocations: 111.2 kB / 0.6705 GB, free: 4.105 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 5.883e-05/0.1278, allocations: 8 kB / 0.6705 GB, free: 4.098 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 1.803e-06/0.1278, allocations: 0 / 0.6705 GB, free: 4.098 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 7.394e-06/0.1278, allocations: 4 kB / 0.6705 GB, free: 4.094 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001415/0.1279, allocations: 288 / 0.6705 GB, free: 4.094 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001803/0.1281, allocations: 86.64 kB / 0.6705 GB, free: 3.98 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000277/0.1284, allocations: 0.6731 MB / 0.6712 GB, free: 3.281 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 2.493e-05/0.1284, allocations: 4.125 kB / 0.6712 GB, free: 3.277 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.743e-05/0.1285, allocations: 11.44 kB / 0.6712 GB, free: 3.266 MB / 442.7 MB Notification: Performance of SimCode: time 2.2e-07/0.1285, allocations: 0 / 0.6712 GB, free: 3.266 MB / 442.7 MB Notification: Performance of Templates: time 0.002069/0.1305, allocations: 292.9 kB / 0.6715 GB, free: 2.98 MB / 442.7 MB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.SpliceFunction.makefile (rm -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.SpliceFunction.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.SpliceFunction.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.SpliceFunction.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.SpliceFunction.sim & ./BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.SpliceFunction -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.SpliceFunction.pipe 2>&1)