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/Complex 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) 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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/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) 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/Complex 4.0.0+maint.om/package.mo): time 0.001614/0.001613, allocations: 182.7 kB / 16.63 MB, free: 5.117 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6123/0.6123, allocations: 87.5 MB / 104.9 MB, free: 13.02 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.392/1.392, allocations: 222.9 MB / 349.1 MB, free: 2.762 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001223/0.001223, allocations: 110.4 kB / 420 MB, free: 8.488 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001033/0.001033, allocations: 55.91 kB / 0.4891 GB, free: 7.68 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3539/0.355, allocations: 70.06 MB / 0.5575 GB, free: 44.82 MB / 410.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Functions.Examples.SpliceFunction): time 0.001669/0.3567, allocations: 0.6311 MB / 0.5581 GB, free: 44.36 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001508/0.3582, allocations: 1.252 MB / 0.5593 GB, free: 43.3 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.618e-06/0.3583, allocations: 5.281 kB / 0.5594 GB, free: 43.29 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 1.664e-05/0.3583, allocations: 0 / 0.5594 GB, free: 43.29 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 5.19e-06/0.3583, allocations: 0 / 0.5594 GB, free: 43.29 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002848/0.3586, allocations: 50.75 kB / 0.5594 GB, free: 43.25 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 4.011e-05/0.3586, allocations: 0 / 0.5594 GB, free: 43.25 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.973e-05/0.3587, allocations: 4 kB / 0.5594 GB, free: 43.24 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 1.443e-05/0.3587, allocations: 4 kB / 0.5594 GB, free: 43.24 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.324e-05/0.3588, allocations: 3.984 kB / 0.5594 GB, free: 43.23 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 8.375e-06/0.3588, allocations: 0 / 0.5594 GB, free: 43.23 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002101/0.359, allocations: 99.19 kB / 0.5595 GB, free: 43.14 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 1.048e-05/0.359, allocations: 3.984 kB / 0.5595 GB, free: 43.14 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 1.823e-05/0.359, allocations: 3.938 kB / 0.5595 GB, free: 43.13 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001151/0.3591, allocations: 55.92 kB / 0.5596 GB, free: 43.08 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.606e-06/0.3592, allocations: 0 / 0.5596 GB, free: 43.08 MB / 410.7 MB Notification: Performance of FrontEnd: time 9.21e-07/0.3592, allocations: 0 / 0.5596 GB, free: 43.08 MB / 410.7 MB Notification: Performance of Transformations before backend: time 6.081e-06/0.3592, allocations: 0 / 0.5596 GB, free: 43.08 MB / 410.7 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.0002576/0.3594, allocations: 327.6 kB / 0.5599 GB, free: 42.71 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.37e-05/0.3595, allocations: 11.53 kB / 0.5599 GB, free: 42.7 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.43e-05/0.3595, allocations: 0.9375 kB / 0.5599 GB, free: 42.7 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.664e-05/0.3596, allocations: 160.4 kB / 0.56 GB, free: 42.51 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.1e-05/0.3596, allocations: 4.312 kB / 0.56 GB, free: 42.5 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.135e-06/0.3596, allocations: 4.375 kB / 0.5601 GB, free: 42.5 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.48e-05/0.3597, allocations: 30.02 kB / 0.5601 GB, free: 42.46 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.226e-06/0.3597, allocations: 0 / 0.5601 GB, free: 42.46 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.446e-06/0.3597, allocations: 4 kB / 0.5601 GB, free: 42.46 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.128e-06/0.3597, allocations: 0 / 0.5601 GB, free: 42.46 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.854e-05/0.3597, allocations: 11.94 kB / 0.5601 GB, free: 42.45 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.945e-05/0.3599, allocations: 149.7 kB / 0.5602 GB, free: 42.25 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.158e-05/0.3599, allocations: 18.61 kB / 0.5603 GB, free: 42.23 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.477e-05/0.3599, allocations: 4.859 kB / 0.5603 GB, free: 42.22 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003994/0.3603, allocations: 0.5623 MB / 0.5608 GB, free: 41.53 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.507e-05/0.3603, allocations: 38.5 kB / 0.5608 GB, free: 41.48 MB / 410.7 MB Notification: Performance of pre-optimization done (n=1): time 1.012e-06/0.3603, allocations: 0 / 0.5608 GB, free: 41.48 MB / 410.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001165/0.3605, allocations: 37.64 kB / 0.5609 GB, free: 41.44 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.107e-05/0.3605, allocations: 51.41 kB / 0.5609 GB, free: 41.38 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.694e-05/0.3605, allocations: 89.86 kB / 0.561 GB, free: 41.28 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 6.392e-06/0.3605, allocations: 25.7 kB / 0.561 GB, free: 41.25 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.217e-06/0.3605, allocations: 80.14 kB / 0.5611 GB, free: 41.16 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.341e-05/0.3606, allocations: 15.95 kB / 0.5611 GB, free: 41.15 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.254e-05/0.3606, allocations: 17.72 kB / 0.5612 GB, free: 41.12 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 4.507e-05/0.3606, allocations: 310.8 kB / 0.5614 GB, free: 40.81 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.816e-06/0.3607, allocations: 0 / 0.5614 GB, free: 40.81 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.631e-06/0.3607, allocations: 4 kB / 0.5615 GB, free: 40.81 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.454e-05/0.3607, allocations: 4.859 kB / 0.5615 GB, free: 40.8 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.853e-06/0.3607, allocations: 0 / 0.5615 GB, free: 40.8 MB / 410.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 4.218e-05/0.3608, allocations: 41.7 kB / 0.5615 GB, free: 40.75 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.088e-05/0.3608, allocations: 7.938 kB / 0.5615 GB, free: 40.75 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.599e-06/0.3608, allocations: 3.984 kB / 0.5615 GB, free: 40.74 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.112e-05/0.3608, allocations: 0 / 0.5615 GB, free: 40.74 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.432e-05/0.3609, allocations: 4 kB / 0.5615 GB, free: 40.74 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.198e-06/0.3609, allocations: 0 / 0.5615 GB, free: 40.74 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.145e-05/0.3609, allocations: 0 / 0.5615 GB, free: 40.74 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.18e-06/0.3609, allocations: 0 / 0.5615 GB, free: 40.74 MB / 410.7 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.669e-05/0.3609, allocations: 109.8 kB / 0.5616 GB, free: 40.62 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.913e-06/0.3609, allocations: 7.938 kB / 0.5616 GB, free: 40.61 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.102e-05/0.361, allocations: 44.78 kB / 0.5617 GB, free: 40.57 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.112e-06/0.361, allocations: 0 / 0.5617 GB, free: 40.57 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.356e-06/0.361, allocations: 0 / 0.5617 GB, free: 40.57 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.973e-06/0.361, allocations: 0 / 0.5617 GB, free: 40.57 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.824e-05/0.3611, allocations: 149.7 kB / 0.5618 GB, free: 40.37 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.11e-07/0.3611, allocations: 0 / 0.5618 GB, free: 40.37 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.277e-05/0.3611, allocations: 0 / 0.5618 GB, free: 40.37 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.713e-06/0.3611, allocations: 7.875 kB / 0.5618 GB, free: 40.36 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.661e-06/0.3611, allocations: 12 kB / 0.5618 GB, free: 40.35 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.52e-07/0.3611, allocations: 0 / 0.5618 GB, free: 40.35 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.32e-07/0.3611, allocations: 4 kB / 0.5618 GB, free: 40.35 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001617/0.3613, allocations: 0.5966 MB / 0.5624 GB, free: 39.69 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.779e-05/0.3613, allocations: 79.22 kB / 0.5625 GB, free: 39.6 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.064e-05/0.3614, allocations: 8 kB / 0.5625 GB, free: 39.59 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.317e-06/0.3614, allocations: 4.031 kB / 0.5625 GB, free: 39.59 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.468e-05/0.3614, allocations: 0 / 0.5625 GB, free: 39.59 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.834e-06/0.3614, allocations: 0 / 0.5625 GB, free: 39.59 MB / 410.7 MB Notification: Performance of sorting global known variables: time 1.115e-05/0.3614, allocations: 75.28 kB / 0.5626 GB, free: 39.51 MB / 410.7 MB Notification: Performance of sort global known variables: time 7.12e-07/0.3614, allocations: 0 / 0.5626 GB, free: 39.51 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002931/0.3617, allocations: 15.92 kB / 0.5626 GB, free: 39.5 MB / 410.7 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.0001334/0.3619, allocations: 103.2 kB / 0.5627 GB, free: 39.38 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 6.035e-05/0.3619, allocations: 19.88 kB / 0.5627 GB, free: 39.36 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.824e-06/0.3619, allocations: 0 / 0.5627 GB, free: 39.36 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 6.572e-06/0.3619, allocations: 4 kB / 0.5627 GB, free: 39.36 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001273/0.3621, allocations: 4.453 kB / 0.5627 GB, free: 39.36 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001809/0.3623, allocations: 181.5 kB / 0.5629 GB, free: 39.14 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.842e-05/0.3624, allocations: 0.6692 MB / 0.5635 GB, free: 38.45 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 2.051e-05/0.3624, allocations: 4.125 kB / 0.5635 GB, free: 38.44 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.227e-06/0.3624, allocations: 7.438 kB / 0.5636 GB, free: 38.43 MB / 410.7 MB Notification: Performance of SimCode: time 2.21e-07/0.3624, allocations: 0 / 0.5636 GB, free: 38.43 MB / 410.7 MB Notification: Performance of Templates: time 0.001848/0.3643, allocations: 296.6 kB / 0.5638 GB, free: 38.14 MB / 410.7 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)