Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Utilities.Math.Examples.Splice.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.Examples.Splice,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Math.Examples.Splice") translateModel(IBPSA.Utilities.Math.Examples.Splice,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Math.Examples.Splice") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001098/0.001098, 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.5091/0.5091, allocations: 87.5 MB / 104.9 MB, free: 13.03 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.348/1.348, allocations: 222.9 MB / 349.1 MB, free: 2.758 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.0009916/0.0009917, allocations: 101.7 kB / 420 MB, free: 8.496 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001495/0.001495, allocations: 59.91 kB / 0.4891 GB, free: 7.699 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3657/0.3672, allocations: 70.06 MB / 0.5575 GB, free: 44.7 MB / 410.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Examples.Splice): time 0.002775/0.37, allocations: 1.553 MB / 0.559 GB, free: 43.48 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009436/0.371, allocations: 0.6493 MB / 0.5596 GB, free: 42.98 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.12e-05/0.371, allocations: 0 / 0.5596 GB, free: 42.98 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 3.82e-05/0.3711, allocations: 2.125 kB / 0.5596 GB, free: 42.98 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 4.852e-05/0.3711, allocations: 7.922 kB / 0.5597 GB, free: 42.97 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002544/0.3714, allocations: 55.88 kB / 0.5597 GB, free: 42.91 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 5.942e-05/0.3715, allocations: 39.86 kB / 0.5597 GB, free: 42.88 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.675e-05/0.3716, allocations: 19.14 kB / 0.5598 GB, free: 42.86 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.515e-05/0.3716, allocations: 11.94 kB / 0.5598 GB, free: 42.85 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.161e-05/0.3717, allocations: 15.92 kB / 0.5598 GB, free: 42.83 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.176e-05/0.3717, allocations: 0 / 0.5598 GB, free: 42.83 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001509/0.3719, allocations: 103.9 kB / 0.5599 GB, free: 42.73 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 1.117e-05/0.3719, allocations: 11.47 kB / 0.5599 GB, free: 42.72 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 2.267e-05/0.3719, allocations: 15.88 kB / 0.5599 GB, free: 42.71 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001373/0.3721, allocations: 89.92 kB / 0.56 GB, free: 42.62 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.807e-06/0.3721, allocations: 0 / 0.56 GB, free: 42.62 MB / 410.7 MB Notification: Performance of FrontEnd: time 7.61e-07/0.3721, allocations: 4 kB / 0.56 GB, free: 42.62 MB / 410.7 MB Notification: Performance of Transformations before backend: time 3.487e-06/0.3721, allocations: 0 / 0.56 GB, free: 42.62 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0003456/0.3724, allocations: 355.3 kB / 0.5603 GB, free: 42.22 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.045e-05/0.3725, allocations: 8.031 kB / 0.5603 GB, free: 42.21 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.019e-05/0.3725, allocations: 12.94 kB / 0.5604 GB, free: 42.2 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.14e-05/0.3726, allocations: 172.2 kB / 0.5605 GB, free: 42 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.27e-05/0.3726, allocations: 4.312 kB / 0.5605 GB, free: 41.99 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.378e-05/0.3726, allocations: 4.375 kB / 0.5605 GB, free: 41.99 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001275/0.3728, allocations: 57.98 kB / 0.5606 GB, free: 41.93 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.137e-06/0.3728, allocations: 0 / 0.5606 GB, free: 41.93 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.658e-06/0.3728, allocations: 0 / 0.5606 GB, free: 41.93 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.218e-06/0.3728, allocations: 0 / 0.5606 GB, free: 41.93 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.026e-05/0.3729, allocations: 27.98 kB / 0.5606 GB, free: 41.9 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002838/0.3732, allocations: 284.7 kB / 0.5609 GB, free: 41.57 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.449e-05/0.3733, allocations: 26.56 kB / 0.5609 GB, free: 41.54 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.394e-05/0.3733, allocations: 20.91 kB / 0.5609 GB, free: 41.51 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003266/0.3737, allocations: 0.5661 MB / 0.5615 GB, free: 40.82 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.002e-05/0.3737, allocations: 34.56 kB / 0.5615 GB, free: 40.77 MB / 410.7 MB Notification: Performance of pre-optimization done (n=2): time 1.112e-06/0.3737, allocations: 0 / 0.5615 GB, free: 40.77 MB / 410.7 MB Notification: Performance of matching and sorting (n=2): time 0.0002256/0.3739, allocations: 65.52 kB / 0.5616 GB, free: 40.7 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.355e-05/0.374, allocations: 55.41 kB / 0.5616 GB, free: 40.64 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.784e-05/0.374, allocations: 121.8 kB / 0.5617 GB, free: 40.51 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 7.535e-06/0.374, allocations: 25.83 kB / 0.5618 GB, free: 40.48 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.629e-05/0.3741, allocations: 96.2 kB / 0.5619 GB, free: 40.38 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.432e-05/0.3741, allocations: 7.906 kB / 0.5619 GB, free: 40.37 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.511e-05/0.3741, allocations: 9.719 kB / 0.5619 GB, free: 40.36 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 4.597e-05/0.3742, allocations: 326.8 kB / 0.5622 GB, free: 40.03 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.691e-05/0.3742, allocations: 4 kB / 0.5622 GB, free: 40.02 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.107e-05/0.3743, allocations: 11.98 kB / 0.5622 GB, free: 40.01 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.576e-05/0.3743, allocations: 32.91 kB / 0.5622 GB, free: 39.98 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/0.3743, allocations: 0 / 0.5622 GB, free: 39.98 MB / 410.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 9.55e-05/0.3744, allocations: 53.62 kB / 0.5623 GB, free: 39.92 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.255e-05/0.3745, allocations: 5.875 kB / 0.5623 GB, free: 39.91 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.338e-06/0.3745, allocations: 3.938 kB / 0.5623 GB, free: 39.91 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.217e-05/0.3745, allocations: 0 / 0.5623 GB, free: 39.91 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.543e-05/0.3745, allocations: 11.98 kB / 0.5623 GB, free: 39.9 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.43e-06/0.3746, allocations: 0 / 0.5623 GB, free: 39.9 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.028e-05/0.3746, allocations: 0 / 0.5623 GB, free: 39.9 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.785e-06/0.3746, allocations: 12.03 kB / 0.5623 GB, free: 39.89 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 (2): * Single equations (assignments): 2 * 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.658e-05/0.3747, allocations: 117.7 kB / 0.5624 GB, free: 39.76 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.384e-05/0.3747, allocations: 7.906 kB / 0.5624 GB, free: 39.75 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001301/0.3748, allocations: 65.14 kB / 0.5625 GB, free: 39.68 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.924e-06/0.3748, allocations: 0 / 0.5625 GB, free: 39.68 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.967e-06/0.3748, allocations: 0 / 0.5625 GB, free: 39.68 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.585e-06/0.3749, allocations: 0 / 0.5625 GB, free: 39.68 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001067/0.375, allocations: 173.6 kB / 0.5627 GB, free: 39.46 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.52e-07/0.375, allocations: 0 / 0.5627 GB, free: 39.46 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.69e-05/0.375, allocations: 4 kB / 0.5627 GB, free: 39.46 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.335e-06/0.375, allocations: 0 / 0.5627 GB, free: 39.46 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.484e-06/0.375, allocations: 11.94 kB / 0.5627 GB, free: 39.45 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.092e-06/0.375, allocations: 0 / 0.5627 GB, free: 39.45 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.82e-07/0.375, allocations: 0 / 0.5627 GB, free: 39.45 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002727/0.3753, allocations: 0.7122 MB / 0.5634 GB, free: 38.68 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.817e-05/0.3754, allocations: 81.02 kB / 0.5635 GB, free: 38.58 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.474e-05/0.3754, allocations: 7.922 kB / 0.5635 GB, free: 38.57 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.913e-05/0.3755, allocations: 4 kB / 0.5635 GB, free: 38.57 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.107e-05/0.3755, allocations: 4 kB / 0.5635 GB, free: 38.57 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.547e-06/0.3755, allocations: 0 / 0.5635 GB, free: 38.57 MB / 410.7 MB Notification: Performance of sorting global known variables: time 3.128e-05/0.3755, allocations: 95.27 kB / 0.5636 GB, free: 38.47 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.01e-07/0.3755, allocations: 0 / 0.5636 GB, free: 38.47 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0003027/0.3758, allocations: 16.03 kB / 0.5636 GB, free: 38.46 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 (2): * Single equations (assignments): 2 * 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.0001262/0.376, allocations: 103.2 kB / 0.5637 GB, free: 38.35 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001104/0.3761, allocations: 27.92 kB / 0.5637 GB, free: 38.32 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.3761, allocations: 0 / 0.5637 GB, free: 38.32 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 3.791e-05/0.3761, allocations: 12 kB / 0.5637 GB, free: 38.31 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000196/0.3763, allocations: 0 / 0.5637 GB, free: 38.31 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002939/0.3766, allocations: 251.2 kB / 0.564 GB, free: 38.02 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001012/0.3768, allocations: 0.6809 MB / 0.5646 GB, free: 37.32 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 2.495e-05/0.3768, allocations: 7.984 kB / 0.5646 GB, free: 37.31 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.563e-05/0.3768, allocations: 7.438 kB / 0.5646 GB, free: 37.3 MB / 410.7 MB Notification: Performance of SimCode: time 2.11e-07/0.3768, allocations: 0 / 0.5646 GB, free: 37.3 MB / 410.7 MB Notification: Performance of Templates: time 0.002233/0.3791, allocations: 476.4 kB / 0.5651 GB, free: 36.84 MB / 410.7 MB make -j1 -f IBPSA_latest_IBPSA.Utilities.Math.Examples.Splice.makefile (rm -f IBPSA_latest_IBPSA.Utilities.Math.Examples.Splice.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Math.Examples.Splice.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Math.Examples.Splice.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Math.Examples.Splice.sim & ./IBPSA_latest_IBPSA.Utilities.Math.Examples.Splice -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Utilities.Math.Examples.Splice.pipe 2>&1)