Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.SpliceFunction.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(BuildingSystems.Utilities.Math.Functions.Examples.SpliceFunction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.SpliceFunction") translateModel(BuildingSystems.Utilities.Math.Functions.Examples.SpliceFunction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.SpliceFunction") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00123/0.00123, allocations: 115.3 kB / 16.42 MB, free: 6.02 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001315/0.001315, allocations: 186.1 kB / 17.35 MB, free: 5.633 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.254/1.254, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001998/0.001998, allocations: 286.3 kB / 291.5 MB, free: 14.46 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8969/0.8969, allocations: 169.2 MB / 0.499 GB, free: 4.457 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001753/0.001753, allocations: 95.86 kB / 0.6822 GB, free: 6.961 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3597/0.3614, allocations: 86.98 MB / 0.7671 GB, free: 3.953 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.SpliceFunction): time 0.001564/0.363, allocations: 0.5785 MB / 0.7677 GB, free: 3.379 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.001407/0.3645, allocations: 1.252 MB / 0.7689 GB, free: 2.109 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.433e-05/0.3645, allocations: 0 / 0.7689 GB, free: 2.109 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 1.239e-05/0.3645, allocations: 0 / 0.7689 GB, free: 2.109 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 4.699e-06/0.3645, allocations: 0 / 0.7689 GB, free: 2.109 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003272/0.3649, allocations: 63.75 kB / 0.769 GB, free: 2.047 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 3.407e-05/0.3649, allocations: 8 kB / 0.769 GB, free: 2.039 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 3.352e-05/0.3649, allocations: 0 / 0.769 GB, free: 2.039 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 1.071e-05/0.365, allocations: 0 / 0.769 GB, free: 2.039 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 3.574e-05/0.365, allocations: 4 kB / 0.769 GB, free: 2.035 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 6.913e-06/0.365, allocations: 0 / 0.769 GB, free: 2.035 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002096/0.3652, allocations: 103.8 kB / 0.7691 GB, free: 1.934 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 8.466e-06/0.3652, allocations: 4 kB / 0.7691 GB, free: 1.93 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 1.776e-05/0.3653, allocations: 4 kB / 0.7691 GB, free: 1.926 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0001154/0.3654, allocations: 47.94 kB / 0.7691 GB, free: 1.879 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.337e-06/0.3654, allocations: 3.938 kB / 0.7691 GB, free: 1.875 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.092e-06/0.3654, allocations: 4 kB / 0.7691 GB, free: 1.871 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 3.787e-06/0.3654, allocations: 0 / 0.7691 GB, free: 1.871 MB / 0.5294 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.0002694/0.3657, allocations: 331.6 kB / 0.7694 GB, free: 1.5 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.291e-05/0.3657, allocations: 8.031 kB / 0.7694 GB, free: 1.492 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.671e-05/0.3658, allocations: 4.875 kB / 0.7695 GB, free: 1.488 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.579e-05/0.3658, allocations: 164.4 kB / 0.7696 GB, free: 1.289 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.191e-06/0.3659, allocations: 384 / 0.7696 GB, free: 1.289 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.516e-06/0.3659, allocations: 384 / 0.7696 GB, free: 1.289 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.417e-05/0.3659, allocations: 34.02 kB / 0.7696 GB, free: 1.25 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.4e-06/0.366, allocations: 4 kB / 0.7696 GB, free: 1.246 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.025e-05/0.366, allocations: 3.984 kB / 0.7696 GB, free: 1.242 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.506e-06/0.366, allocations: 0 / 0.7696 GB, free: 1.242 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.94e-05/0.366, allocations: 3.938 kB / 0.7697 GB, free: 1.238 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001199/0.3661, allocations: 151.5 kB / 0.7698 GB, free: 1.043 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 2.906e-05/0.3662, allocations: 18.58 kB / 0.7698 GB, free: 1.016 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.514e-05/0.3662, allocations: 8.953 kB / 0.7698 GB, free: 1.004 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000494/0.3667, allocations: 0.5622 MB / 0.7704 GB, free: 320 kB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.894e-05/0.3667, allocations: 34.5 kB / 0.7704 GB, free: 276 kB / 0.5294 GB Notification: Performance of pre-optimization done (n=1): time 1.202e-06/0.3667, allocations: 0 / 0.7704 GB, free: 276 kB / 0.5294 GB Notification: Performance of matching and sorting (n=1): time 0.0001142/0.3668, allocations: 37.64 kB / 0.7704 GB, free: 232 kB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.833e-05/0.3669, allocations: 55.41 kB / 0.7705 GB, free: 164 kB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.837e-05/0.3669, allocations: 93.97 kB / 0.7706 GB, free: 60 kB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 9.999e-06/0.3669, allocations: 29.7 kB / 0.7706 GB, free: 24 kB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 3.809e-05/0.367, allocations: 80.14 kB / 0.7707 GB, free: 15.94 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 2.565e-05/0.367, allocations: 7.562 kB / 0.7707 GB, free: 15.94 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.438e-05/0.367, allocations: 9.719 kB / 0.7707 GB, free: 15.92 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 9.256e-05/0.3671, allocations: 318.8 kB / 0.771 GB, free: 15.6 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.546e-06/0.3671, allocations: 0 / 0.771 GB, free: 15.6 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.039e-06/0.3671, allocations: 0 / 0.771 GB, free: 15.6 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.46e-05/0.3672, allocations: 12.92 kB / 0.771 GB, free: 15.59 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.443e-06/0.3672, allocations: 0 / 0.771 GB, free: 15.59 MB / 0.545 GB Notification: Performance of matching and sorting (n=1) (initialization): time 5.279e-05/0.3672, allocations: 37.62 kB / 0.7711 GB, free: 15.54 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.561e-05/0.3673, allocations: 8 kB / 0.7711 GB, free: 15.54 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.199e-06/0.3673, allocations: 7.875 kB / 0.7711 GB, free: 15.53 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.298e-05/0.3673, allocations: 0 / 0.7711 GB, free: 15.53 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.726e-05/0.3673, allocations: 0 / 0.7711 GB, free: 15.53 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.178e-06/0.3673, allocations: 0 / 0.7711 GB, free: 15.53 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.3e-05/0.3674, allocations: 4 kB / 0.7711 GB, free: 15.52 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.998e-06/0.3674, allocations: 0 / 0.7711 GB, free: 15.52 MB / 0.545 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 7.088e-05/0.3674, allocations: 112.3 kB / 0.7712 GB, free: 15.41 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.017e-06/0.3675, allocations: 4 kB / 0.7712 GB, free: 15.4 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.101e-05/0.3675, allocations: 48.69 kB / 0.7712 GB, free: 15.35 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.114e-06/0.3675, allocations: 0 / 0.7712 GB, free: 15.35 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.31e-07/0.3676, allocations: 0 / 0.7712 GB, free: 15.35 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 2.691e-05/0.3676, allocations: 77.11 kB / 0.7713 GB, free: 15.26 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.626e-06/0.3676, allocations: 0 / 0.7713 GB, free: 15.26 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.618e-06/0.3676, allocations: 7.969 kB / 0.7713 GB, free: 15.25 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.208e-05/0.3676, allocations: 0 / 0.7713 GB, free: 15.25 MB / 0.545 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 6.983e-05/0.3677, allocations: 117 kB / 0.7714 GB, free: 15.13 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 9.92e-05/0.3678, allocations: 202.7 kB / 0.7716 GB, free: 14.91 MB / 0.545 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 1.491e-05/0.3678, allocations: 7.984 kB / 0.7716 GB, free: 14.91 MB / 0.545 GB Notification: Performance of sorting global known variables: time 2.126e-05/0.3679, allocations: 83.34 kB / 0.7717 GB, free: 14.82 MB / 0.545 GB Notification: Performance of Backend: time 2.81e-07/0.3679, allocations: 0 / 0.7717 GB, free: 14.82 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0003704/0.3682, allocations: 102.4 kB / 0.7718 GB, free: 14.71 MB / 0.545 GB Notification: Performance of SimCode: time 0.0002789/0.3685, allocations: 0.5176 MB / 0.7723 GB, free: 14.15 MB / 0.545 GB Notification: Performance of Templates: time 0.002197/0.3707, allocations: 0.516 MB / 0.7728 GB, free: 13.63 MB / 0.545 GB make -j1 -f BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.SpliceFunction.makefile (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.SpliceFunction.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.SpliceFunction.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.SpliceFunction.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.SpliceFunction.sim & ./BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.SpliceFunction -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.SpliceFunction.pipe 2>&1)