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.001661/0.001661, allocations: 111.1 kB / 17.04 MB, free: 5.355 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.00173/0.00173, allocations: 199.2 kB / 17.98 MB, free: 4.895 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.334/1.334, allocations: 222.9 MB / 241.7 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7218/0.7218, allocations: 115.1 MB / 406.9 MB, free: 6.352 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00122/0.00122, allocations: 67.89 kB / 494.8 MB, free: 15.86 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3325/0.3337, allocations: 76.14 MB / 0.5576 GB, free: 36.78 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Functions.Examples.SpliceFunction): time 0.001627/0.3354, allocations: 0.5677 MB / 0.5581 GB, free: 36.45 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001242/0.3366, allocations: 1.252 MB / 0.5594 GB, free: 35.53 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.408e-05/0.3366, allocations: 0 / 0.5594 GB, free: 35.53 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 9.738e-06/0.3367, allocations: 1.594 kB / 0.5594 GB, free: 35.53 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 4.328e-06/0.3367, allocations: 0.5 kB / 0.5594 GB, free: 35.53 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003315/0.337, allocations: 64.44 kB / 0.5594 GB, free: 35.5 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 3.598e-05/0.3371, allocations: 2.812 kB / 0.5594 GB, free: 35.5 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.234e-05/0.3371, allocations: 2.172 kB / 0.5594 GB, free: 35.5 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.284e-05/0.3371, allocations: 2.266 kB / 0.5594 GB, free: 35.5 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.853e-05/0.3372, allocations: 4.891 kB / 0.5594 GB, free: 35.5 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.008e-05/0.3372, allocations: 0 / 0.5594 GB, free: 35.5 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002282/0.3374, allocations: 98.53 kB / 0.5595 GB, free: 35.47 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 1.02e-05/0.3375, allocations: 0 / 0.5595 GB, free: 35.47 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 1.936e-05/0.3375, allocations: 5.422 kB / 0.5595 GB, free: 35.47 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001339/0.3376, allocations: 57.03 kB / 0.5596 GB, free: 35.45 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.198e-06/0.3376, allocations: 2.109 kB / 0.5596 GB, free: 35.45 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.443e-06/0.3376, allocations: 0 / 0.5596 GB, free: 35.45 MB / 446.1 MB Notification: Performance of Transformations before backend: time 7.724e-06/0.3376, allocations: 0 / 0.5596 GB, free: 35.45 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.0002215/0.3379, allocations: 321.8 kB / 0.5599 GB, free: 35.1 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.175e-05/0.3379, allocations: 10.47 kB / 0.5599 GB, free: 35.1 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.892e-05/0.3379, allocations: 2.391 kB / 0.5599 GB, free: 35.1 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.066e-05/0.338, allocations: 161.1 kB / 0.5601 GB, free: 34.9 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.1e-05/0.338, allocations: 5.844 kB / 0.5601 GB, free: 34.9 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.283e-06/0.338, allocations: 1.5 kB / 0.5601 GB, free: 34.9 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.617e-05/0.3381, allocations: 38.3 kB / 0.5601 GB, free: 34.86 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.722e-06/0.3381, allocations: 0.875 kB / 0.5601 GB, free: 34.86 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.895e-06/0.3382, allocations: 3.938 kB / 0.5601 GB, free: 34.86 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.967e-06/0.3382, allocations: 1.125 kB / 0.5601 GB, free: 34.86 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.78e-05/0.3382, allocations: 3.359 kB / 0.5601 GB, free: 34.86 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.354e-05/0.3383, allocations: 145.7 kB / 0.5603 GB, free: 34.67 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 2.975e-05/0.3383, allocations: 19.83 kB / 0.5603 GB, free: 34.64 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.357e-05/0.3383, allocations: 15.91 kB / 0.5603 GB, free: 34.63 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003871/0.3387, allocations: 0.5622 MB / 0.5608 GB, free: 33.97 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.217e-05/0.3388, allocations: 35.59 kB / 0.5609 GB, free: 33.93 MB / 446.1 MB Notification: Performance of pre-optimization done (n=1): time 1.062e-06/0.3388, allocations: 0 / 0.5609 GB, free: 33.93 MB / 446.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001097/0.3389, allocations: 36.94 kB / 0.5609 GB, free: 33.89 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.674e-05/0.3389, allocations: 52.2 kB / 0.561 GB, free: 33.83 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.563e-05/0.3389, allocations: 90.58 kB / 0.561 GB, free: 33.73 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 6.191e-06/0.3389, allocations: 30.95 kB / 0.5611 GB, free: 33.7 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.976e-06/0.339, allocations: 80.86 kB / 0.5612 GB, free: 33.62 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.325e-05/0.339, allocations: 0.7969 kB / 0.5612 GB, free: 33.62 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.196e-05/0.339, allocations: 12.75 kB / 0.5612 GB, free: 33.6 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 3.574e-05/0.339, allocations: 319.4 kB / 0.5615 GB, free: 33.29 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.108e-06/0.3391, allocations: 0 / 0.5615 GB, free: 33.29 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.57e-06/0.3391, allocations: 5.188 kB / 0.5615 GB, free: 33.28 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.081e-05/0.3391, allocations: 13.86 kB / 0.5615 GB, free: 33.27 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.823e-06/0.3391, allocations: 1.406 kB / 0.5615 GB, free: 33.27 MB / 446.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 4.301e-05/0.3392, allocations: 34.47 kB / 0.5615 GB, free: 33.24 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.076e-05/0.3392, allocations: 8 kB / 0.5615 GB, free: 33.23 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.038e-06/0.3392, allocations: 5.062 kB / 0.5615 GB, free: 33.23 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.281e-05/0.3392, allocations: 0 / 0.5615 GB, free: 33.23 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.633e-05/0.3392, allocations: 4.688 kB / 0.5615 GB, free: 33.23 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.94e-06/0.3393, allocations: 0 / 0.5615 GB, free: 33.23 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.01e-05/0.3393, allocations: 3.938 kB / 0.5615 GB, free: 33.23 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.569e-06/0.3393, allocations: 2.031 kB / 0.5615 GB, free: 33.23 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 3.84e-05/0.3393, allocations: 109.4 kB / 0.5616 GB, free: 33.11 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.476e-06/0.3393, allocations: 9.25 kB / 0.5617 GB, free: 33.11 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.69e-05/0.3394, allocations: 41.42 kB / 0.5617 GB, free: 33.07 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.182e-06/0.3394, allocations: 1.094 kB / 0.5617 GB, free: 33.07 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.156e-06/0.3394, allocations: 0 / 0.5617 GB, free: 33.07 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.986e-06/0.3394, allocations: 2.219 kB / 0.5617 GB, free: 33.07 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.663e-05/0.3395, allocations: 145.6 kB / 0.5618 GB, free: 32.88 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.71e-07/0.3395, allocations: 0 / 0.5618 GB, free: 32.88 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.463e-05/0.3395, allocations: 2.25 kB / 0.5618 GB, free: 32.88 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.315e-06/0.3395, allocations: 6.094 kB / 0.5618 GB, free: 32.88 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.882e-06/0.3395, allocations: 0.7969 kB / 0.5618 GB, free: 32.88 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.52e-07/0.3395, allocations: 0.9688 kB / 0.5618 GB, free: 32.88 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.31e-07/0.3395, allocations: 1.125 kB / 0.5619 GB, free: 32.88 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.843e-05/0.3396, allocations: 62.45 kB / 0.5619 GB, free: 32.81 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.407e-05/0.3396, allocations: 82 kB / 0.562 GB, free: 32.71 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.808e-06/0.3396, allocations: 5.344 kB / 0.562 GB, free: 32.71 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.777e-06/0.3396, allocations: 0 / 0.562 GB, free: 32.71 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.453e-05/0.3397, allocations: 1.891 kB / 0.562 GB, free: 32.71 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.944e-06/0.3397, allocations: 0 / 0.562 GB, free: 32.71 MB / 446.1 MB Notification: Performance of sorting global known variables: time 1.071e-05/0.3397, allocations: 76.81 kB / 0.5621 GB, free: 32.64 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3397, allocations: 0 / 0.5621 GB, free: 32.64 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0001904/0.3399, allocations: 5.656 kB / 0.5621 GB, free: 32.64 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.0001161/0.34, allocations: 109.2 kB / 0.5622 GB, free: 32.54 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 6.262e-05/0.3401, allocations: 11.98 kB / 0.5622 GB, free: 32.54 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.703e-06/0.3401, allocations: 4.781 kB / 0.5622 GB, free: 32.53 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 7.965e-06/0.3401, allocations: 6.922 kB / 0.5622 GB, free: 32.53 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001223/0.3402, allocations: 5.984 kB / 0.5622 GB, free: 32.53 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001327/0.3404, allocations: 74.73 kB / 0.5623 GB, free: 32.44 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.029e-05/0.3405, allocations: 0.6722 MB / 0.5629 GB, free: 31.75 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 1.718e-05/0.3405, allocations: 2.594 kB / 0.5629 GB, free: 31.75 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.042e-05/0.3405, allocations: 7.438 kB / 0.5629 GB, free: 31.74 MB / 446.1 MB Notification: Performance of SimCode: time 2.4e-07/0.3405, allocations: 1.125 kB / 0.5629 GB, free: 31.74 MB / 446.1 MB Notification: Performance of Templates: time 0.002051/0.3426, allocations: 304.7 kB / 0.5632 GB, free: 31.69 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 -s gbode -lv LOG_STATS > IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.SpliceFunction.pipe 2>&1)