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.001581/0.001581, allocations: 103.7 kB / 16.52 MB, free: 6.652 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.001766/0.001766, allocations: 198.7 kB / 17.44 MB, free: 6.047 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.369/1.369, allocations: 222.9 MB / 241.1 MB, free: 15.45 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7154/0.7154, allocations: 115.3 MB / 406.6 MB, free: 6.441 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001453/0.001453, allocations: 67.91 kB / 493.6 MB, free: 0.7773 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3707/0.3722, allocations: 76.16 MB / 0.5564 GB, free: 36.35 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Functions.Examples.SpliceFunction): time 0.001923/0.3742, allocations: 0.6413 MB / 0.557 GB, free: 35.96 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001561/0.3758, allocations: 1.257 MB / 0.5582 GB, free: 35.04 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.146e-05/0.3758, allocations: 0.9375 kB / 0.5582 GB, free: 35.04 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 1.337e-05/0.3758, allocations: 0 / 0.5582 GB, free: 35.04 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 6.161e-06/0.3759, allocations: 1.094 kB / 0.5582 GB, free: 35.04 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003221/0.3762, allocations: 41.28 kB / 0.5583 GB, free: 35.03 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 4.218e-05/0.3762, allocations: 3.219 kB / 0.5583 GB, free: 35.03 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.018e-05/0.3763, allocations: 2.875 kB / 0.5583 GB, free: 35.03 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.754e-05/0.3763, allocations: 1.156 kB / 0.5583 GB, free: 35.03 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.738e-05/0.3764, allocations: 7.781 kB / 0.5583 GB, free: 35.02 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 9.738e-06/0.3764, allocations: 0 / 0.5583 GB, free: 35.02 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002505/0.3766, allocations: 100.4 kB / 0.5584 GB, free: 35 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 1.046e-05/0.3767, allocations: 3.938 kB / 0.5584 GB, free: 34.99 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 2.197e-05/0.3767, allocations: 0 / 0.5584 GB, free: 34.99 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001149/0.3768, allocations: 41.11 kB / 0.5584 GB, free: 34.98 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.59e-06/0.3768, allocations: 0 / 0.5584 GB, free: 34.98 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.002e-06/0.3768, allocations: 1.344 kB / 0.5584 GB, free: 34.98 MB / 446.1 MB Notification: Performance of Transformations before backend: time 8.797e-06/0.3768, allocations: 1.156 kB / 0.5584 GB, free: 34.98 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.0002875/0.3771, allocations: 325 kB / 0.5588 GB, free: 34.62 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.42e-05/0.3772, allocations: 13.5 kB / 0.5588 GB, free: 34.62 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.086e-05/0.3772, allocations: 1.547 kB / 0.5588 GB, free: 34.62 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.499e-05/0.3773, allocations: 167.1 kB / 0.5589 GB, free: 34.42 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.646e-06/0.3773, allocations: 5.219 kB / 0.5589 GB, free: 34.42 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.163e-05/0.3773, allocations: 2.438 kB / 0.5589 GB, free: 34.42 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001021/0.3774, allocations: 34.27 kB / 0.559 GB, free: 34.38 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.965e-06/0.3775, allocations: 0.6875 kB / 0.559 GB, free: 34.38 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.002e-05/0.3775, allocations: 1.156 kB / 0.559 GB, free: 34.38 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.769e-06/0.3775, allocations: 1.406 kB / 0.559 GB, free: 34.38 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.388e-05/0.3775, allocations: 6.109 kB / 0.559 GB, free: 34.38 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001163/0.3776, allocations: 148.7 kB / 0.5591 GB, free: 34.19 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 3.487e-05/0.3777, allocations: 18.08 kB / 0.5591 GB, free: 34.16 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.702e-05/0.3777, allocations: 6.859 kB / 0.5591 GB, free: 34.16 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00049/0.3782, allocations: 0.5635 MB / 0.5597 GB, free: 33.5 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.197e-05/0.3782, allocations: 39.28 kB / 0.5597 GB, free: 33.45 MB / 446.1 MB Notification: Performance of pre-optimization done (n=1): time 1.273e-06/0.3782, allocations: 0.75 kB / 0.5597 GB, free: 33.45 MB / 446.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001427/0.3784, allocations: 38.83 kB / 0.5598 GB, free: 33.42 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.811e-05/0.3784, allocations: 51.41 kB / 0.5598 GB, free: 33.36 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.072e-05/0.3784, allocations: 89.86 kB / 0.5599 GB, free: 33.26 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 8.075e-06/0.3784, allocations: 27.2 kB / 0.5599 GB, free: 33.23 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.266e-05/0.3785, allocations: 80.14 kB / 0.56 GB, free: 33.14 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.914e-05/0.3785, allocations: 0 / 0.56 GB, free: 33.14 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.459e-05/0.3785, allocations: 17.58 kB / 0.56 GB, free: 33.12 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 5.647e-05/0.3786, allocations: 311.8 kB / 0.5603 GB, free: 32.81 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.017e-05/0.3786, allocations: 1.656 kB / 0.5603 GB, free: 32.81 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.534e-06/0.3786, allocations: 3.031 kB / 0.5603 GB, free: 32.81 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.545e-05/0.3786, allocations: 9.484 kB / 0.5603 GB, free: 32.8 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.793e-06/0.3787, allocations: 0 / 0.5603 GB, free: 32.8 MB / 446.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 6.679e-05/0.3787, allocations: 37.94 kB / 0.5604 GB, free: 32.77 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.332e-05/0.3787, allocations: 7.812 kB / 0.5604 GB, free: 32.77 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.519e-06/0.3788, allocations: 1.969 kB / 0.5604 GB, free: 32.77 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.14e-05/0.3788, allocations: 1.281 kB / 0.5604 GB, free: 32.77 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.797e-05/0.3788, allocations: 3.672 kB / 0.5604 GB, free: 32.77 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.378e-06/0.3788, allocations: 0 / 0.5604 GB, free: 32.77 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.184e-05/0.3789, allocations: 0.8438 kB / 0.5604 GB, free: 32.77 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.661e-06/0.3789, allocations: 1.438 kB / 0.5604 GB, free: 32.77 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.937e-05/0.3789, allocations: 114 kB / 0.5605 GB, free: 32.65 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.645e-06/0.3789, allocations: 7.844 kB / 0.5605 GB, free: 32.64 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.321e-05/0.379, allocations: 37.56 kB / 0.5605 GB, free: 32.61 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.416e-06/0.379, allocations: 12.47 kB / 0.5605 GB, free: 32.61 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.288e-06/0.379, allocations: 3.938 kB / 0.5605 GB, free: 32.6 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.685e-06/0.379, allocations: 1.125 kB / 0.5605 GB, free: 32.6 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.036e-05/0.3791, allocations: 154.5 kB / 0.5607 GB, free: 32.41 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.072e-06/0.3791, allocations: 0 / 0.5607 GB, free: 32.41 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.399e-05/0.3791, allocations: 5.562 kB / 0.5607 GB, free: 32.4 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.425e-06/0.3791, allocations: 3.938 kB / 0.5607 GB, free: 32.4 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.47e-06/0.3792, allocations: 1.438 kB / 0.5607 GB, free: 32.4 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.32e-07/0.3792, allocations: 0 / 0.5607 GB, free: 32.4 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.3792, allocations: 0.9375 kB / 0.5607 GB, free: 32.4 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.552e-05/0.3792, allocations: 54.7 kB / 0.5608 GB, free: 32.34 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.375e-05/0.3793, allocations: 82.97 kB / 0.5608 GB, free: 32.24 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.236e-05/0.3793, allocations: 5.125 kB / 0.5608 GB, free: 32.24 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.929e-06/0.3793, allocations: 0 / 0.5608 GB, free: 32.24 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.817e-05/0.3793, allocations: 6.156 kB / 0.5609 GB, free: 32.23 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.094e-06/0.3793, allocations: 0 / 0.5609 GB, free: 32.23 MB / 446.1 MB Notification: Performance of sorting global known variables: time 1.566e-05/0.3794, allocations: 77.56 kB / 0.5609 GB, free: 32.16 MB / 446.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3794, allocations: 0 / 0.5609 GB, free: 32.16 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002314/0.3796, allocations: 5.594 kB / 0.5609 GB, free: 32.16 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.0001563/0.3798, allocations: 114.6 kB / 0.561 GB, free: 32.06 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 6.606e-05/0.3798, allocations: 2.844 kB / 0.561 GB, free: 32.06 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.246e-06/0.3798, allocations: 1 kB / 0.561 GB, free: 32.06 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 8.185e-06/0.3799, allocations: 6.312 kB / 0.561 GB, free: 32.06 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001342/0.38, allocations: 2.344 kB / 0.5611 GB, free: 32.06 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001764/0.3802, allocations: 108.2 kB / 0.5612 GB, free: 31.93 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00011/0.3803, allocations: 0.6704 MB / 0.5618 GB, free: 31.24 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.222e-05/0.3803, allocations: 8.938 kB / 0.5618 GB, free: 31.23 MB / 446.1 MB Notification: Performance of SimCode: time 3.2e-07/0.3803, allocations: 1.312 kB / 0.5618 GB, free: 31.23 MB / 446.1 MB Notification: Performance of Templates: time 0.001986/0.3823, allocations: 432.9 kB / 0.5622 GB, free: 31.22 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)