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.001127/0.001127, allocations: 109.2 kB / 16.27 MB, free: 6.004 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.001071/0.001072, allocations: 186.1 kB / 17.2 MB, free: 5.617 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.371/1.371, allocations: 222.9 MB / 240.9 MB, free: 15.27 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.8142/0.8142, allocations: 126.1 MB / 417.1 MB, free: 12.88 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001259/0.001259, allocations: 63.91 kB / 0.495 GB, free: 3.512 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3745/0.3758, allocations: 78.69 MB / 0.5718 GB, free: 31.64 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Functions.Examples.SpliceFunction): time 0.001947/0.3778, allocations: 0.5842 MB / 0.5724 GB, free: 31.29 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001657/0.3795, allocations: 1.241 MB / 0.5736 GB, free: 30.37 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.847e-05/0.3795, allocations: 2.906 kB / 0.5736 GB, free: 30.37 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 1.716e-05/0.3795, allocations: 1.031 kB / 0.5736 GB, free: 30.37 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 7.284e-06/0.3795, allocations: 0 / 0.5736 GB, free: 30.37 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004459/0.38, allocations: 64.09 kB / 0.5737 GB, free: 30.34 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 5.151e-05/0.3801, allocations: 3.438 kB / 0.5737 GB, free: 30.34 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.078e-05/0.3801, allocations: 4.547 kB / 0.5737 GB, free: 30.34 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.14e-05/0.3801, allocations: 1.469 kB / 0.5737 GB, free: 30.34 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.757e-05/0.3802, allocations: 10.45 kB / 0.5737 GB, free: 30.33 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 9.748e-06/0.3802, allocations: 0.8438 kB / 0.5737 GB, free: 30.33 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002936/0.3805, allocations: 96.42 kB / 0.5738 GB, free: 30.31 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 1.137e-05/0.3805, allocations: 1.219 kB / 0.5738 GB, free: 30.31 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 2.13e-05/0.3806, allocations: 1.312 kB / 0.5738 GB, free: 30.31 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001633/0.3807, allocations: 53.92 kB / 0.5738 GB, free: 30.29 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.228e-06/0.3807, allocations: 0 / 0.5738 GB, free: 30.29 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.755e-06/0.3807, allocations: 0 / 0.5738 GB, free: 30.29 MB / 446.1 MB Notification: Performance of Transformations before backend: time 6.753e-06/0.3808, allocations: 1.719 kB / 0.5738 GB, free: 30.29 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.0003388/0.3811, allocations: 333.1 kB / 0.5742 GB, free: 29.93 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.749e-05/0.3812, allocations: 9 kB / 0.5742 GB, free: 29.93 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.765e-05/0.3812, allocations: 2 kB / 0.5742 GB, free: 29.93 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.464e-05/0.3813, allocations: 162.8 kB / 0.5743 GB, free: 29.74 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.244e-05/0.3813, allocations: 384 / 0.5743 GB, free: 29.74 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.416e-06/0.3813, allocations: 1.5 kB / 0.5743 GB, free: 29.74 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001166/0.3814, allocations: 38.64 kB / 0.5744 GB, free: 29.7 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.057e-06/0.3814, allocations: 0.75 kB / 0.5744 GB, free: 29.7 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.191e-05/0.3815, allocations: 0 / 0.5744 GB, free: 29.7 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.45e-06/0.3815, allocations: 2.031 kB / 0.5744 GB, free: 29.7 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.293e-05/0.3815, allocations: 1.062 kB / 0.5744 GB, free: 29.7 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001299/0.3816, allocations: 145.8 kB / 0.5745 GB, free: 29.51 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.109e-05/0.3817, allocations: 22.23 kB / 0.5745 GB, free: 29.48 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.884e-05/0.3817, allocations: 14.7 kB / 0.5745 GB, free: 29.47 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005566/0.3823, allocations: 0.56 MB / 0.5751 GB, free: 28.81 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.608e-05/0.3823, allocations: 41.62 kB / 0.5751 GB, free: 28.77 MB / 446.1 MB Notification: Performance of pre-optimization done (n=1): time 1.322e-06/0.3823, allocations: 3.938 kB / 0.5751 GB, free: 28.76 MB / 446.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001547/0.3825, allocations: 33 kB / 0.5752 GB, free: 28.73 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.789e-05/0.3825, allocations: 52.2 kB / 0.5752 GB, free: 28.67 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.629e-05/0.3825, allocations: 91.05 kB / 0.5753 GB, free: 28.57 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.114e-05/0.3826, allocations: 26.8 kB / 0.5753 GB, free: 28.54 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.159e-05/0.3826, allocations: 80.67 kB / 0.5754 GB, free: 28.46 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.785e-05/0.3826, allocations: 5.562 kB / 0.5754 GB, free: 28.45 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.688e-05/0.3827, allocations: 13.05 kB / 0.5754 GB, free: 28.44 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 6.927e-05/0.3827, allocations: 315.9 kB / 0.5757 GB, free: 28.12 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.339e-05/0.3828, allocations: 3.078 kB / 0.5757 GB, free: 28.12 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.945e-06/0.3828, allocations: 0.9688 kB / 0.5757 GB, free: 28.12 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.987e-05/0.3828, allocations: 13.91 kB / 0.5757 GB, free: 28.11 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.814e-06/0.3828, allocations: 1.812 kB / 0.5757 GB, free: 28.11 MB / 446.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 5.172e-05/0.3829, allocations: 32.75 kB / 0.5758 GB, free: 28.08 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.874e-05/0.3829, allocations: 10.97 kB / 0.5758 GB, free: 28.07 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.29e-06/0.3829, allocations: 0 / 0.5758 GB, free: 28.07 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.579e-05/0.3829, allocations: 2.109 kB / 0.5758 GB, free: 28.07 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.042e-05/0.383, allocations: 3.219 kB / 0.5758 GB, free: 28.07 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.648e-06/0.383, allocations: 5.734 kB / 0.5758 GB, free: 28.07 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.294e-05/0.383, allocations: 3.938 kB / 0.5758 GB, free: 28.07 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.292e-06/0.383, allocations: 1.156 kB / 0.5758 GB, free: 28.07 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 5.774e-05/0.3831, allocations: 112.1 kB / 0.5759 GB, free: 27.95 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.877e-06/0.3831, allocations: 5.938 kB / 0.5759 GB, free: 27.95 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001038/0.3832, allocations: 42.89 kB / 0.5759 GB, free: 27.91 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.035e-06/0.3832, allocations: 0.6094 kB / 0.5759 GB, free: 27.91 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.518e-06/0.3832, allocations: 1.344 kB / 0.5759 GB, free: 27.91 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.367e-06/0.3833, allocations: 0.5625 kB / 0.5759 GB, free: 27.91 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.409e-05/0.3833, allocations: 145.9 kB / 0.5761 GB, free: 27.72 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.21e-07/0.3833, allocations: 0 / 0.5761 GB, free: 27.72 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.449e-05/0.3834, allocations: 3.203 kB / 0.5761 GB, free: 27.72 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.064e-06/0.3834, allocations: 4.562 kB / 0.5761 GB, free: 27.71 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.207e-06/0.3834, allocations: 5.891 kB / 0.5761 GB, free: 27.71 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.223e-06/0.3834, allocations: 0.7188 kB / 0.5761 GB, free: 27.71 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.3834, allocations: 0 / 0.5761 GB, free: 27.71 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.237e-05/0.3835, allocations: 60.16 kB / 0.5762 GB, free: 27.64 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.342e-05/0.3835, allocations: 84.78 kB / 0.5762 GB, free: 27.55 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.488e-05/0.3835, allocations: 4.547 kB / 0.5762 GB, free: 27.54 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.478e-06/0.3835, allocations: 1.719 kB / 0.5762 GB, free: 27.54 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.287e-05/0.3836, allocations: 1.531 kB / 0.5762 GB, free: 27.54 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.893e-06/0.3836, allocations: 5.062 kB / 0.5763 GB, free: 27.54 MB / 446.1 MB Notification: Performance of sorting global known variables: time 1.748e-05/0.3836, allocations: 82.66 kB / 0.5763 GB, free: 27.46 MB / 446.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.3836, allocations: 1.062 kB / 0.5763 GB, free: 27.46 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002153/0.3838, allocations: 5.312 kB / 0.5763 GB, free: 27.46 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.0001567/0.384, allocations: 113.2 kB / 0.5764 GB, free: 27.36 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 6.367e-05/0.384, allocations: 5.547 kB / 0.5765 GB, free: 27.36 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.384, allocations: 0.9062 kB / 0.5765 GB, free: 27.36 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 7.534e-06/0.3841, allocations: 2.656 kB / 0.5765 GB, free: 27.36 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001427/0.3842, allocations: 2.188 kB / 0.5765 GB, free: 27.36 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001628/0.3844, allocations: 81.28 kB / 0.5765 GB, free: 27.27 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.424e-05/0.3845, allocations: 0.6706 MB / 0.5772 GB, free: 26.57 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 2.003e-05/0.3845, allocations: 2.828 kB / 0.5772 GB, free: 26.57 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.088e-05/0.3845, allocations: 8.531 kB / 0.5772 GB, free: 26.57 MB / 446.1 MB Notification: Performance of SimCode: time 2.3e-07/0.3845, allocations: 0.7188 kB / 0.5772 GB, free: 26.57 MB / 446.1 MB Notification: Performance of Templates: time 0.002331/0.3869, allocations: 300.6 kB / 0.5775 GB, free: 26.52 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)