Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.SpliceFunction.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Utilities.Math.Functions.Examples.SpliceFunction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.SpliceFunction") translateModel(Buildings.Utilities.Math.Functions.Examples.SpliceFunction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.SpliceFunction") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.297/1.297, allocations: 251.5 MB / 267.4 MB, free: 11.07 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009848/0.0009848, allocations: 187.3 kB / 326.5 MB, free: 2.703 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.48/1.48, allocations: 205 MB / 0.5766 GB, free: 21 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0006938/0.0006938, allocations: 90.97 kB / 0.6804 GB, free: 14.73 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0002721/0.0002722, allocations: 12.56 kB / 0.7938 GB, free: 136.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1521/0.1524, allocations: 105.4 MB / 0.8968 GB, free: 68.19 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.SpliceFunction): time 0.0005573/0.153, allocations: 331.3 kB / 0.8971 GB, free: 67.87 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.001269/0.1542, allocations: 1.289 MB / 0.8983 GB, free: 66.56 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.865e-06/0.1543, allocations: 0 / 0.8983 GB, free: 66.56 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 1.227e-05/0.1543, allocations: 4 kB / 0.8983 GB, free: 66.56 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 3.927e-06/0.1543, allocations: 0 / 0.8983 GB, free: 66.56 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002495/0.1545, allocations: 39.89 kB / 0.8984 GB, free: 66.52 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 3.054e-05/0.1546, allocations: 4 kB / 0.8984 GB, free: 66.52 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 3.527e-05/0.1546, allocations: 3.984 kB / 0.8984 GB, free: 66.51 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 1.073e-05/0.1546, allocations: 4 kB / 0.8984 GB, free: 66.51 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 3.414e-05/0.1547, allocations: 4 kB / 0.8984 GB, free: 66.5 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 6.773e-06/0.1547, allocations: 0 / 0.8984 GB, free: 66.5 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001657/0.1549, allocations: 99.83 kB / 0.8985 GB, free: 66.41 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 7.524e-06/0.1549, allocations: 0 / 0.8985 GB, free: 66.41 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 1.353e-05/0.1549, allocations: 0 / 0.8985 GB, free: 66.41 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 9.112e-05/0.155, allocations: 55.81 kB / 0.8985 GB, free: 66.35 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 2.725e-06/0.155, allocations: 0 / 0.8985 GB, free: 66.35 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.283e-06/0.155, allocations: 0 / 0.8985 GB, free: 66.35 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 3.416e-06/0.155, allocations: 0 / 0.8985 GB, free: 66.35 MB / 0.6042 GB 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.0001892/0.1552, allocations: 331.5 kB / 0.8989 GB, free: 65.98 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.241e-05/0.1553, allocations: 8.031 kB / 0.8989 GB, free: 65.97 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.285e-05/0.1553, allocations: 8.844 kB / 0.8989 GB, free: 65.96 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 4.324e-05/0.1553, allocations: 160.7 kB / 0.899 GB, free: 65.77 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.304e-06/0.1553, allocations: 384 / 0.899 GB, free: 65.77 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.207e-06/0.1554, allocations: 384 / 0.899 GB, free: 65.77 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.292e-05/0.1554, allocations: 30.02 kB / 0.8991 GB, free: 65.73 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.642e-06/0.1554, allocations: 0 / 0.8991 GB, free: 65.73 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.432e-06/0.1555, allocations: 7.984 kB / 0.8991 GB, free: 65.73 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.196e-06/0.1555, allocations: 4 kB / 0.8991 GB, free: 65.72 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.425e-05/0.1555, allocations: 3.938 kB / 0.8991 GB, free: 65.72 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 7.76e-05/0.1556, allocations: 145.7 kB / 0.8992 GB, free: 65.53 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 2.164e-05/0.1556, allocations: 18.61 kB / 0.8992 GB, free: 65.5 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.046e-05/0.1556, allocations: 4.859 kB / 0.8992 GB, free: 65.49 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003334/0.156, allocations: 0.5662 MB / 0.8998 GB, free: 64.8 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.53e-05/0.156, allocations: 34.5 kB / 0.8998 GB, free: 64.75 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=1): time 1.353e-06/0.156, allocations: 0 / 0.8998 GB, free: 64.75 MB / 0.6042 GB Notification: Performance of matching and sorting (n=1): time 9.422e-05/0.1561, allocations: 37.64 kB / 0.8999 GB, free: 64.71 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.34e-05/0.1561, allocations: 51.41 kB / 0.8999 GB, free: 64.65 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.365e-05/0.1561, allocations: 89.86 kB / 0.9 GB, free: 64.55 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 5.209e-06/0.1561, allocations: 25.7 kB / 0.9 GB, free: 64.52 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 7.955e-06/0.1561, allocations: 80.27 kB / 0.9001 GB, free: 64.44 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 1.963e-05/0.1562, allocations: 7.938 kB / 0.9001 GB, free: 64.43 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.596e-05/0.1562, allocations: 13.72 kB / 0.9001 GB, free: 64.41 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 3.387e-05/0.1562, allocations: 318.8 kB / 0.9004 GB, free: 64.09 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.693e-06/0.1562, allocations: 3.938 kB / 0.9004 GB, free: 64.09 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.609e-06/0.1562, allocations: 0 / 0.9004 GB, free: 64.09 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.984e-05/0.1563, allocations: 8.859 kB / 0.9004 GB, free: 64.07 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.202e-06/0.1563, allocations: 0 / 0.9004 GB, free: 64.07 MB / 0.6042 GB Notification: Performance of matching and sorting (n=1) (initialization): time 3.805e-05/0.1563, allocations: 37.7 kB / 0.9005 GB, free: 64.03 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.033e-05/0.1563, allocations: 8 kB / 0.9005 GB, free: 64.02 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.837e-06/0.1563, allocations: 3.938 kB / 0.9005 GB, free: 64.02 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.003e-05/0.1564, allocations: 0 / 0.9005 GB, free: 64.02 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.511e-05/0.1564, allocations: 3.984 kB / 0.9005 GB, free: 64.02 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.499e-06/0.1564, allocations: 0 / 0.9005 GB, free: 64.02 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.064e-05/0.1564, allocations: 4 kB / 0.9005 GB, free: 64.01 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.198e-06/0.1564, allocations: 0 / 0.9005 GB, free: 64.01 MB / 0.6042 GB 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 3.444e-05/0.1565, allocations: 109.8 kB / 0.9006 GB, free: 63.89 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.821e-06/0.1565, allocations: 3.969 kB / 0.9006 GB, free: 63.89 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.724e-05/0.1566, allocations: 48.7 kB / 0.9006 GB, free: 63.84 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.415e-06/0.1566, allocations: 3.984 kB / 0.9006 GB, free: 63.83 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.51e-07/0.1566, allocations: 0 / 0.9006 GB, free: 63.83 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 1.142e-05/0.1566, allocations: 77.11 kB / 0.9007 GB, free: 63.74 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.025e-06/0.1566, allocations: 0 / 0.9007 GB, free: 63.74 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.137e-06/0.1566, allocations: 0 / 0.9007 GB, free: 63.74 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.249e-05/0.1566, allocations: 0 / 0.9007 GB, free: 63.74 MB / 0.6042 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 3.784e-05/0.1567, allocations: 121 kB / 0.9008 GB, free: 63.61 MB / 0.6042 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 5.463e-05/0.1567, allocations: 210.7 kB / 0.901 GB, free: 63.39 MB / 0.6042 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 1.15e-05/0.1568, allocations: 0 / 0.901 GB, free: 63.39 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 9.488e-06/0.1568, allocations: 83.31 kB / 0.9011 GB, free: 63.31 MB / 0.6042 GB Notification: Performance of Backend: time 3.11e-07/0.1568, allocations: 0 / 0.9011 GB, free: 63.31 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0003431/0.1571, allocations: 98.45 kB / 0.9012 GB, free: 63.2 MB / 0.6042 GB Notification: Performance of SimCode: time 0.0001585/0.1573, allocations: 0.5272 MB / 0.9017 GB, free: 62.63 MB / 0.6042 GB Notification: Performance of Templates: time 0.001776/0.1591, allocations: 496.3 kB / 0.9022 GB, free: 62.14 MB / 0.6042 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.SpliceFunction.makefile (rm -f Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.SpliceFunction.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.SpliceFunction.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.SpliceFunction.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.SpliceFunction.sim & ./Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.SpliceFunction -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.SpliceFunction.pipe 2>&1)