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.001105/0.001105, allocations: 95.77 kB / 16.02 MB, free: 76 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001806/0.001806, allocations: 180.9 kB / 16.92 MB, free: 6.754 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.672/1.672, allocations: 223.3 MB / 241 MB, free: 5.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.8914/0.8914, allocations: 126.9 MB / 418.9 MB, free: 7.305 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003595/0.0003596, allocations: 12.72 kB / 0.498 GB, free: 9.691 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4333/0.4336, allocations: 80.24 MB / 0.5764 GB, free: 7.902 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Functions.Examples.SpliceFunction): time 0.0007593/0.4344, allocations: 312.6 kB / 0.5767 GB, free: 7.691 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.001569/0.436, allocations: 1.235 MB / 0.5779 GB, free: 6.785 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.004e-05/0.4361, allocations: 0 / 0.5779 GB, free: 6.785 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 1.19e-05/0.4361, allocations: 4 kB / 0.5779 GB, free: 6.781 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 5.24e-06/0.4361, allocations: 0.7188 kB / 0.5779 GB, free: 6.781 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003222/0.4364, allocations: 45.44 kB / 0.5779 GB, free: 6.762 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 3.79e-05/0.4365, allocations: 4.781 kB / 0.5779 GB, free: 6.758 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.9e-05/0.4365, allocations: 1.875 kB / 0.5779 GB, free: 6.758 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.691e-05/0.4365, allocations: 4.797 kB / 0.5779 GB, free: 6.754 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.712e-05/0.4366, allocations: 2.156 kB / 0.5779 GB, free: 6.754 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 9.328e-06/0.4366, allocations: 0 / 0.5779 GB, free: 6.754 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002563/0.4369, allocations: 100.1 kB / 0.578 GB, free: 6.727 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 9.959e-06/0.4369, allocations: 5.156 kB / 0.578 GB, free: 6.723 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 2.54e-05/0.4369, allocations: 30.16 kB / 0.578 GB, free: 6.688 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001294/0.4371, allocations: 52.27 kB / 0.5781 GB, free: 6.672 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.009e-06/0.4371, allocations: 1.672 kB / 0.5781 GB, free: 6.672 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.904e-06/0.4371, allocations: 0 / 0.5781 GB, free: 6.672 MB / 430.1 MB Notification: Performance of Transformations before backend: time 4.158e-06/0.4371, allocations: 0 / 0.5781 GB, free: 6.672 MB / 430.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.0002331/0.4373, allocations: 327.3 kB / 0.5784 GB, free: 6.312 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.938e-05/0.4374, allocations: 10.53 kB / 0.5784 GB, free: 6.312 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.5e-05/0.4374, allocations: 0.9375 kB / 0.5784 GB, free: 6.312 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.758e-05/0.4375, allocations: 161.6 kB / 0.5786 GB, free: 6.117 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.439e-05/0.4375, allocations: 5.844 kB / 0.5786 GB, free: 6.113 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.06e-05/0.4375, allocations: 4.312 kB / 0.5786 GB, free: 6.109 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.132e-05/0.4376, allocations: 32.78 kB / 0.5786 GB, free: 6.074 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.846e-06/0.4376, allocations: 0 / 0.5786 GB, free: 6.074 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.834e-06/0.4376, allocations: 1.375 kB / 0.5786 GB, free: 6.074 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.497e-06/0.4376, allocations: 0 / 0.5786 GB, free: 6.074 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.934e-05/0.4377, allocations: 2.641 kB / 0.5786 GB, free: 6.074 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001018/0.4378, allocations: 148.2 kB / 0.5788 GB, free: 5.883 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 3.523e-05/0.4378, allocations: 20.55 kB / 0.5788 GB, free: 5.855 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.279e-05/0.4378, allocations: 10.84 kB / 0.5788 GB, free: 5.844 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004017/0.4382, allocations: 0.5603 MB / 0.5793 GB, free: 5.188 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.905e-05/0.4383, allocations: 39.38 kB / 0.5794 GB, free: 5.141 MB / 430.1 MB Notification: Performance of pre-optimization done (n=1): time 1.242e-06/0.4383, allocations: 4 kB / 0.5794 GB, free: 5.137 MB / 430.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001177/0.4384, allocations: 33.22 kB / 0.5794 GB, free: 5.105 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.059e-05/0.4384, allocations: 52.09 kB / 0.5795 GB, free: 5.043 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.49e-05/0.4384, allocations: 90.77 kB / 0.5795 GB, free: 4.945 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 6.031e-06/0.4385, allocations: 25.7 kB / 0.5796 GB, free: 4.914 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.008e-05/0.4385, allocations: 80.14 kB / 0.5796 GB, free: 4.832 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.2e-05/0.4385, allocations: 4.938 kB / 0.5797 GB, free: 4.828 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.874e-05/0.4385, allocations: 10.42 kB / 0.5797 GB, free: 4.812 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 3.948e-05/0.4386, allocations: 320.7 kB / 0.58 GB, free: 4.492 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.948e-06/0.4386, allocations: 5.312 kB / 0.58 GB, free: 4.488 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.621e-06/0.4386, allocations: 0.9375 kB / 0.58 GB, free: 4.488 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.428e-05/0.4386, allocations: 8.062 kB / 0.58 GB, free: 4.48 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.513e-06/0.4386, allocations: 0.9062 kB / 0.58 GB, free: 4.48 MB / 430.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 4.323e-05/0.4387, allocations: 32.52 kB / 0.58 GB, free: 4.449 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.183e-05/0.4387, allocations: 9.594 kB / 0.58 GB, free: 4.445 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.637e-06/0.4387, allocations: 0.5625 kB / 0.58 GB, free: 4.445 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.148e-05/0.4387, allocations: 96 / 0.58 GB, free: 4.445 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.786e-05/0.4388, allocations: 6.594 kB / 0.58 GB, free: 4.441 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.779e-06/0.4388, allocations: 0.9062 kB / 0.58 GB, free: 4.441 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.113e-05/0.4388, allocations: 0 / 0.58 GB, free: 4.441 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.612e-06/0.4388, allocations: 5.625 kB / 0.58 GB, free: 4.438 MB / 430.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 3.765e-05/0.4388, allocations: 118.8 kB / 0.5801 GB, free: 4.312 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.552e-06/0.4388, allocations: 5.5 kB / 0.5802 GB, free: 4.309 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.939e-05/0.4389, allocations: 40.16 kB / 0.5802 GB, free: 4.27 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.133e-06/0.4389, allocations: 1.469 kB / 0.5802 GB, free: 4.27 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.378e-06/0.4389, allocations: 4.938 kB / 0.5802 GB, free: 4.266 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.094e-06/0.439, allocations: 0 / 0.5802 GB, free: 4.266 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.873e-05/0.439, allocations: 144.7 kB / 0.5803 GB, free: 4.078 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.52e-07/0.439, allocations: 0 / 0.5803 GB, free: 4.078 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.454e-05/0.439, allocations: 2.672 kB / 0.5803 GB, free: 4.078 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.895e-06/0.439, allocations: 5.125 kB / 0.5803 GB, free: 4.074 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.42e-06/0.439, allocations: 0.5156 kB / 0.5803 GB, free: 4.074 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.52e-07/0.4391, allocations: 0 / 0.5803 GB, free: 4.074 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.62e-07/0.4391, allocations: 0.9688 kB / 0.5803 GB, free: 4.074 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.046e-05/0.4391, allocations: 65.62 kB / 0.5804 GB, free: 4 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.532e-05/0.4391, allocations: 80.25 kB / 0.5805 GB, free: 3.906 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.258e-06/0.4392, allocations: 5.438 kB / 0.5805 GB, free: 3.902 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.889e-06/0.4392, allocations: 0.9375 kB / 0.5805 GB, free: 3.902 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.046e-05/0.4392, allocations: 5.016 kB / 0.5805 GB, free: 3.898 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.385e-06/0.4392, allocations: 0.8438 kB / 0.5805 GB, free: 3.898 MB / 430.1 MB Notification: Performance of sorting global known variables: time 1.026e-05/0.4392, allocations: 75.28 kB / 0.5806 GB, free: 3.824 MB / 430.1 MB Notification: Performance of sort global known variables: time 8e-08/0.4392, allocations: 4.031 kB / 0.5806 GB, free: 3.82 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0001924/0.4394, allocations: 10.06 kB / 0.5806 GB, free: 3.816 MB / 430.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.0001438/0.4396, allocations: 108.7 kB / 0.5807 GB, free: 3.723 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 6.482e-05/0.4396, allocations: 3.234 kB / 0.5807 GB, free: 3.723 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 1.713e-06/0.4396, allocations: 0 / 0.5807 GB, free: 3.723 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 7.413e-06/0.4396, allocations: 6.438 kB / 0.5807 GB, free: 3.719 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001228/0.4398, allocations: 2.469 kB / 0.5807 GB, free: 3.719 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001344/0.4399, allocations: 84.97 kB / 0.5808 GB, free: 3.617 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.268e-05/0.44, allocations: 0.6709 MB / 0.5814 GB, free: 2.922 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 2.06e-05/0.44, allocations: 2.297 kB / 0.5814 GB, free: 2.922 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.223e-05/0.4401, allocations: 8.594 kB / 0.5814 GB, free: 2.918 MB / 430.1 MB Notification: Performance of SimCode: time 2.21e-07/0.4401, allocations: 0 / 0.5814 GB, free: 2.918 MB / 430.1 MB Notification: Performance of Templates: time 0.002492/0.4426, allocations: 294.9 kB / 0.5817 GB, free: 2.848 MB / 430.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)