Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-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(IBPSA.Utilities.Math.Functions.Examples.SpliceFunction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.SpliceFunction") translateModel(IBPSA.Utilities.Math.Functions.Examples.SpliceFunction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.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.0007995/0.0007995, allocations: 87.91 kB / 16.66 MB, free: 5.742 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.0009717/0.0009718, allocations: 177.6 kB / 17.58 MB, free: 5.477 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.323/1.323, allocations: 223.3 MB / 241.6 MB, free: 14.49 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7305/0.7305, allocations: 115.5 MB / 408.2 MB, free: 7.215 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003257/0.0003257, allocations: 12 kB / 496.5 MB, free: 15.68 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3559/0.3563, allocations: 77.52 MB / 0.5606 GB, free: 35.66 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Functions.Examples.SpliceFunction): time 0.0006328/0.3569, allocations: 317.2 kB / 0.5609 GB, free: 35.44 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001285/0.3582, allocations: 1.238 MB / 0.5621 GB, free: 34.53 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.101e-05/0.3583, allocations: 3.938 kB / 0.5621 GB, free: 34.52 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 1.02e-05/0.3583, allocations: 0.75 kB / 0.5621 GB, free: 34.52 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 4.498e-06/0.3583, allocations: 1.156 kB / 0.5621 GB, free: 34.52 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002784/0.3586, allocations: 43.06 kB / 0.5622 GB, free: 34.51 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 3.323e-05/0.3586, allocations: 1.125 kB / 0.5622 GB, free: 34.51 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.128e-05/0.3587, allocations: 6.625 kB / 0.5622 GB, free: 34.5 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.469e-05/0.3587, allocations: 1.5 kB / 0.5622 GB, free: 34.5 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.282e-05/0.3587, allocations: 5.375 kB / 0.5622 GB, free: 34.5 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 7.795e-06/0.3587, allocations: 0 / 0.5622 GB, free: 34.5 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002244/0.359, allocations: 104.1 kB / 0.5623 GB, free: 34.47 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 8.025e-06/0.359, allocations: 1.531 kB / 0.5623 GB, free: 34.47 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 2.254e-05/0.359, allocations: 29.7 kB / 0.5623 GB, free: 34.44 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 8.886e-05/0.3591, allocations: 36.39 kB / 0.5623 GB, free: 34.43 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.348e-06/0.3591, allocations: 0.9375 kB / 0.5623 GB, free: 34.43 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.124e-06/0.3591, allocations: 0.8125 kB / 0.5623 GB, free: 34.43 MB / 446.1 MB Notification: Performance of Transformations before backend: time 3.667e-06/0.3591, allocations: 0 / 0.5623 GB, free: 34.43 MB / 446.1 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.0002137/0.3594, allocations: 321.7 kB / 0.5626 GB, free: 34.07 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.757e-05/0.3594, allocations: 12.84 kB / 0.5626 GB, free: 34.07 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.357e-05/0.3594, allocations: 6.781 kB / 0.5627 GB, free: 34.07 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 4.512e-05/0.3595, allocations: 161.8 kB / 0.5628 GB, free: 33.87 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.082e-05/0.3595, allocations: 4.375 kB / 0.5628 GB, free: 33.87 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.635e-06/0.3595, allocations: 5.656 kB / 0.5628 GB, free: 33.86 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.515e-05/0.3596, allocations: 36.3 kB / 0.5629 GB, free: 33.83 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.59e-06/0.3596, allocations: 1.375 kB / 0.5629 GB, free: 33.83 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.444e-06/0.3596, allocations: 0 / 0.5629 GB, free: 33.83 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.717e-06/0.3596, allocations: 0 / 0.5629 GB, free: 33.83 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.783e-05/0.3597, allocations: 5.406 kB / 0.5629 GB, free: 33.82 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.997e-05/0.3597, allocations: 145.7 kB / 0.563 GB, free: 33.64 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 3.16e-05/0.3598, allocations: 25.31 kB / 0.563 GB, free: 33.61 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.286e-05/0.3598, allocations: 8.547 kB / 0.563 GB, free: 33.6 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004054/0.3602, allocations: 0.5594 MB / 0.5636 GB, free: 32.94 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.665e-05/0.3602, allocations: 37.83 kB / 0.5636 GB, free: 32.9 MB / 446.1 MB Notification: Performance of pre-optimization done (n=1): time 1.052e-06/0.3602, allocations: 0 / 0.5636 GB, free: 32.9 MB / 446.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001064/0.3604, allocations: 42.53 kB / 0.5637 GB, free: 32.86 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.058e-05/0.3604, allocations: 52.16 kB / 0.5637 GB, free: 32.8 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.699e-05/0.3604, allocations: 90.77 kB / 0.5638 GB, free: 32.7 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 6.011e-06/0.3604, allocations: 25.7 kB / 0.5638 GB, free: 32.67 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.017e-06/0.3604, allocations: 80.73 kB / 0.5639 GB, free: 32.59 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.124e-05/0.3605, allocations: 2.547 kB / 0.5639 GB, free: 32.59 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.783e-05/0.3605, allocations: 9.719 kB / 0.5639 GB, free: 32.57 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.11e-05/0.3605, allocations: 317.9 kB / 0.5642 GB, free: 32.25 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.847e-06/0.3605, allocations: 4.906 kB / 0.5642 GB, free: 32.25 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.921e-06/0.3606, allocations: 2.625 kB / 0.5642 GB, free: 32.25 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.137e-05/0.3606, allocations: 8.688 kB / 0.5642 GB, free: 32.24 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.472e-06/0.3606, allocations: 0.5625 kB / 0.5642 GB, free: 32.24 MB / 446.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 4.349e-05/0.3606, allocations: 38.78 kB / 0.5643 GB, free: 32.21 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.094e-05/0.3607, allocations: 9.375 kB / 0.5643 GB, free: 32.2 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.449e-06/0.3607, allocations: 0.7031 kB / 0.5643 GB, free: 32.2 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.097e-06/0.3607, allocations: 0 / 0.5643 GB, free: 32.2 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.736e-05/0.3607, allocations: 4 kB / 0.5643 GB, free: 32.2 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.757e-06/0.3607, allocations: 0 / 0.5643 GB, free: 32.2 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.036e-05/0.3608, allocations: 0.5 kB / 0.5643 GB, free: 32.2 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.192e-06/0.3608, allocations: 2.375 kB / 0.5643 GB, free: 32.2 MB / 446.1 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 4.286e-05/0.3608, allocations: 108.8 kB / 0.5644 GB, free: 32.09 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.745e-06/0.3608, allocations: 7.844 kB / 0.5644 GB, free: 32.08 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.276e-05/0.3609, allocations: 46.2 kB / 0.5644 GB, free: 32.04 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.774e-06/0.3609, allocations: 1 kB / 0.5644 GB, free: 32.04 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.896e-06/0.3609, allocations: 4.875 kB / 0.5644 GB, free: 32.04 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.475e-06/0.3609, allocations: 2.188 kB / 0.5644 GB, free: 32.04 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.576e-05/0.361, allocations: 144.6 kB / 0.5646 GB, free: 31.85 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.72e-07/0.361, allocations: 1.156 kB / 0.5646 GB, free: 31.85 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.353e-05/0.361, allocations: 1.562 kB / 0.5646 GB, free: 31.85 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.706e-06/0.361, allocations: 6.094 kB / 0.5646 GB, free: 31.85 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.228e-06/0.361, allocations: 1.719 kB / 0.5646 GB, free: 31.85 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.362e-06/0.361, allocations: 1.406 kB / 0.5646 GB, free: 31.85 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.61e-07/0.361, allocations: 0 / 0.5646 GB, free: 31.85 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.092e-05/0.3611, allocations: 60.41 kB / 0.5646 GB, free: 31.78 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.553e-05/0.3611, allocations: 79.73 kB / 0.5647 GB, free: 31.69 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.818e-06/0.3611, allocations: 5.156 kB / 0.5647 GB, free: 31.68 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.041e-05/0.3611, allocations: 4.703 kB / 0.5647 GB, free: 31.68 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.022e-05/0.3612, allocations: 1.969 kB / 0.5647 GB, free: 31.68 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.125e-06/0.3612, allocations: 1.297 kB / 0.5647 GB, free: 31.68 MB / 446.1 MB Notification: Performance of sorting global known variables: time 1.312e-05/0.3612, allocations: 79.78 kB / 0.5648 GB, free: 31.6 MB / 446.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3612, allocations: 1.094 kB / 0.5648 GB, free: 31.6 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0001807/0.3614, allocations: 6.25 kB / 0.5648 GB, free: 31.6 MB / 446.1 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.0001219/0.3615, allocations: 112.4 kB / 0.5649 GB, free: 31.5 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 5.225e-05/0.3616, allocations: 5.984 kB / 0.5649 GB, free: 31.5 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.583e-06/0.3616, allocations: 0 / 0.5649 GB, free: 31.5 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 6.462e-06/0.3616, allocations: 2.344 kB / 0.5649 GB, free: 31.5 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000118/0.3617, allocations: 2.719 kB / 0.5649 GB, free: 31.5 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001403/0.3618, allocations: 101.5 kB / 0.565 GB, free: 31.38 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.76e-05/0.3619, allocations: 0.6749 MB / 0.5657 GB, free: 30.68 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.106e-05/0.362, allocations: 15.98 kB / 0.5657 GB, free: 30.67 MB / 446.1 MB Notification: Performance of SimCode: time 2e-07/0.362, allocations: 0.875 kB / 0.5657 GB, free: 30.67 MB / 446.1 MB Notification: Performance of Templates: time 0.001771/0.3637, allocations: 432.8 kB / 0.5661 GB, free: 30.66 MB / 446.1 MB make -j1 -f IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.SpliceFunction.makefile (rm -f IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.SpliceFunction.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.SpliceFunction.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.SpliceFunction.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.SpliceFunction.sim & ./IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.SpliceFunction -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.SpliceFunction.pipe 2>&1)