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.001085/0.001085, allocations: 107.1 kB / 17.04 MB, free: 6.086 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.00116/0.00116, allocations: 195 kB / 17.98 MB, free: 5.16 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.245/1.245, allocations: 222.9 MB / 241.7 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6828/0.6828, allocations: 115.1 MB / 407 MB, free: 6.312 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001167/0.001167, allocations: 59.91 kB / 494.8 MB, free: 15.82 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.323/0.3242, allocations: 76.15 MB / 0.5576 GB, free: 36.57 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Functions.Examples.SpliceFunction): time 0.001655/0.3259, allocations: 0.5645 MB / 0.5581 GB, free: 36.25 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001335/0.3272, allocations: 1.251 MB / 0.5594 GB, free: 35.33 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.77e-05/0.3272, allocations: 0 / 0.5594 GB, free: 35.33 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 1.283e-05/0.3273, allocations: 2.438 kB / 0.5594 GB, free: 35.33 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 5.54e-06/0.3273, allocations: 0 / 0.5594 GB, free: 35.33 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003916/0.3277, allocations: 68.02 kB / 0.5594 GB, free: 35.3 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 5.115e-05/0.3277, allocations: 1.375 kB / 0.5594 GB, free: 35.3 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.979e-05/0.3278, allocations: 3.703 kB / 0.5594 GB, free: 35.3 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.617e-05/0.3278, allocations: 0.6875 kB / 0.5594 GB, free: 35.3 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.642e-05/0.3279, allocations: 1.125 kB / 0.5594 GB, free: 35.3 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.046e-05/0.3279, allocations: 2.656 kB / 0.5594 GB, free: 35.3 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002606/0.3281, allocations: 101.3 kB / 0.5595 GB, free: 35.27 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 1.162e-05/0.3282, allocations: 4 kB / 0.5595 GB, free: 35.27 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 2.47e-05/0.3282, allocations: 1.062 kB / 0.5595 GB, free: 35.27 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001428/0.3283, allocations: 55.81 kB / 0.5596 GB, free: 35.25 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.83e-06/0.3284, allocations: 2.016 kB / 0.5596 GB, free: 35.25 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.904e-06/0.3284, allocations: 1.625 kB / 0.5596 GB, free: 35.25 MB / 446.1 MB Notification: Performance of Transformations before backend: time 5.811e-06/0.3284, allocations: 0 / 0.5596 GB, free: 35.25 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.0003001/0.3287, allocations: 322.4 kB / 0.5599 GB, free: 34.89 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.54e-05/0.3287, allocations: 10.22 kB / 0.5599 GB, free: 34.89 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.242e-05/0.3288, allocations: 0.9375 kB / 0.5599 GB, free: 34.89 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.257e-05/0.3288, allocations: 162.6 kB / 0.5601 GB, free: 34.7 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.527e-05/0.3289, allocations: 1.719 kB / 0.5601 GB, free: 34.7 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.044e-05/0.3289, allocations: 3.078 kB / 0.5601 GB, free: 34.7 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001007/0.329, allocations: 35.3 kB / 0.5601 GB, free: 34.66 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.524e-06/0.329, allocations: 1.594 kB / 0.5601 GB, free: 34.66 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.022e-05/0.329, allocations: 2.766 kB / 0.5601 GB, free: 34.66 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.751e-06/0.329, allocations: 1.375 kB / 0.5601 GB, free: 34.66 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.325e-05/0.329, allocations: 1.531 kB / 0.5601 GB, free: 34.66 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000146/0.3292, allocations: 148.5 kB / 0.5603 GB, free: 34.47 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.559e-05/0.3293, allocations: 16.95 kB / 0.5603 GB, free: 34.45 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.267e-05/0.3293, allocations: 14.55 kB / 0.5603 GB, free: 34.43 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004993/0.3298, allocations: 0.5693 MB / 0.5608 GB, free: 33.77 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.572e-05/0.3298, allocations: 38.62 kB / 0.5609 GB, free: 33.73 MB / 446.1 MB Notification: Performance of pre-optimization done (n=1): time 1.042e-06/0.3298, allocations: 1.094 kB / 0.5609 GB, free: 33.73 MB / 446.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001418/0.33, allocations: 31.11 kB / 0.5609 GB, free: 33.7 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.963e-05/0.33, allocations: 51.41 kB / 0.561 GB, free: 33.63 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.122e-05/0.33, allocations: 97.33 kB / 0.561 GB, free: 33.53 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 7.254e-06/0.3301, allocations: 26.86 kB / 0.5611 GB, free: 33.5 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.652e-05/0.3301, allocations: 80.14 kB / 0.5612 GB, free: 33.42 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.86e-05/0.3301, allocations: 0.5625 kB / 0.5612 GB, free: 33.42 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.597e-05/0.3302, allocations: 13.12 kB / 0.5612 GB, free: 33.4 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 7.329e-05/0.3302, allocations: 311.9 kB / 0.5615 GB, free: 33.09 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.297e-05/0.3303, allocations: 2.688 kB / 0.5615 GB, free: 33.09 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.394e-06/0.3303, allocations: 5.375 kB / 0.5615 GB, free: 33.09 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.929e-05/0.3303, allocations: 12.02 kB / 0.5615 GB, free: 33.07 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/0.3303, allocations: 0 / 0.5615 GB, free: 33.07 MB / 446.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 4.995e-05/0.3304, allocations: 40.28 kB / 0.5615 GB, free: 33.04 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.553e-05/0.3304, allocations: 9.625 kB / 0.5615 GB, free: 33.04 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.662e-06/0.3304, allocations: 1.219 kB / 0.5615 GB, free: 33.04 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.394e-05/0.3304, allocations: 3.719 kB / 0.5615 GB, free: 33.04 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.694e-05/0.3305, allocations: 1.594 kB / 0.5615 GB, free: 33.04 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.103e-06/0.3305, allocations: 1.25 kB / 0.5615 GB, free: 33.04 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.139e-05/0.3305, allocations: 3.938 kB / 0.5615 GB, free: 33.03 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.374e-06/0.3305, allocations: 0.8438 kB / 0.5615 GB, free: 33.03 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 6.355e-05/0.3306, allocations: 111.3 kB / 0.5616 GB, free: 32.91 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.095e-06/0.3306, allocations: 7.844 kB / 0.5617 GB, free: 32.91 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001024/0.3307, allocations: 40.97 kB / 0.5617 GB, free: 32.87 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.396e-06/0.3307, allocations: 1.797 kB / 0.5617 GB, free: 32.87 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.288e-06/0.3307, allocations: 0.9688 kB / 0.5617 GB, free: 32.87 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.687e-06/0.3307, allocations: 0 / 0.5617 GB, free: 32.87 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.773e-05/0.3308, allocations: 150.9 kB / 0.5618 GB, free: 32.68 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.31e-07/0.3308, allocations: 1.188 kB / 0.5618 GB, free: 32.68 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.449e-05/0.3308, allocations: 1.938 kB / 0.5618 GB, free: 32.68 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.226e-06/0.3308, allocations: 3.938 kB / 0.5618 GB, free: 32.68 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.003e-06/0.3308, allocations: 1.953 kB / 0.5618 GB, free: 32.68 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.82e-07/0.3309, allocations: 0 / 0.5618 GB, free: 32.68 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.413e-06/0.3309, allocations: 3 kB / 0.5619 GB, free: 32.68 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.396e-05/0.3309, allocations: 61.14 kB / 0.5619 GB, free: 32.61 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.657e-05/0.331, allocations: 80.23 kB / 0.562 GB, free: 32.51 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.306e-05/0.331, allocations: 4.453 kB / 0.562 GB, free: 32.51 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.014e-05/0.331, allocations: 1 kB / 0.562 GB, free: 32.51 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.381e-05/0.331, allocations: 2.172 kB / 0.562 GB, free: 32.51 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.824e-06/0.331, allocations: 0 / 0.562 GB, free: 32.51 MB / 446.1 MB Notification: Performance of sorting global known variables: time 3.117e-05/0.3311, allocations: 77.62 kB / 0.5621 GB, free: 32.43 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3311, allocations: 0 / 0.5621 GB, free: 32.43 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0001992/0.3313, allocations: 7.766 kB / 0.5621 GB, free: 32.43 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.0001172/0.3314, allocations: 113.7 kB / 0.5622 GB, free: 32.34 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 6.046e-05/0.3315, allocations: 7.344 kB / 0.5622 GB, free: 32.34 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.725e-06/0.3315, allocations: 0 / 0.5622 GB, free: 32.34 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 7.724e-06/0.3315, allocations: 13.41 kB / 0.5622 GB, free: 32.32 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001251/0.3316, allocations: 4.891 kB / 0.5622 GB, free: 32.32 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001389/0.3317, allocations: 74.42 kB / 0.5623 GB, free: 32.24 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.762e-05/0.3319, allocations: 0.6698 MB / 0.5629 GB, free: 31.54 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 1.693e-05/0.3319, allocations: 4.406 kB / 0.5629 GB, free: 31.54 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.108e-05/0.3319, allocations: 8.844 kB / 0.5629 GB, free: 31.54 MB / 446.1 MB Notification: Performance of SimCode: time 2e-07/0.3319, allocations: 0 / 0.5629 GB, free: 31.54 MB / 446.1 MB Notification: Performance of Templates: time 0.001987/0.3339, allocations: 299 kB / 0.5632 GB, free: 31.49 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 cvode -lv LOG_STATS > IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.SpliceFunction.pipe 2>&1)