Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_master_IBPSA.Utilities.Math.Examples.Splice.conf.json Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package IBPSA with version 3.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 3.0.0-master/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(IBPSA.Utilities.Math.Examples.Splice,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_master_IBPSA.Utilities.Math.Examples.Splice") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002455/0.002455, allocations: 357.8 kB / 15.95 MB, free: 6.207 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 3.0.0-master/package.mo): time 1.56/1.56, allocations: 165.8 MB / 182.5 MB, free: 5.418 MB / 138.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 3.898/3.898, allocations: 410.8 MB / 0.5995 GB, free: 15.11 MB / 298.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001752/0.001751, allocations: 196 kB / 0.6662 GB, free: 6.957 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004835/0.0004839, allocations: 23.92 kB / 0.7423 GB, free: 8.988 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3343/0.3348, allocations: 67.43 MB / 0.8081 GB, free: 28.82 MB / 378.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Examples.Splice): time 0.001384/0.3362, allocations: 1.188 MB / 0.8093 GB, free: 27.62 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009558/0.3372, allocations: 0.6414 MB / 0.8099 GB, free: 26.98 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.6e-05/0.3373, allocations: 4 kB / 0.8099 GB, free: 26.97 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 2.223e-05/0.3373, allocations: 0 / 0.8099 GB, free: 26.97 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 5.37e-05/0.3374, allocations: 3.938 kB / 0.8099 GB, free: 26.97 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002433/0.3376, allocations: 59.73 kB / 0.81 GB, free: 26.91 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 5.823e-05/0.3377, allocations: 27.92 kB / 0.81 GB, free: 26.88 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.845e-05/0.3378, allocations: 19.98 kB / 0.81 GB, free: 26.86 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.729e-05/0.3379, allocations: 7.938 kB / 0.8101 GB, free: 26.86 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.245e-05/0.3379, allocations: 15.92 kB / 0.8101 GB, free: 26.84 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.179e-05/0.338, allocations: 4 kB / 0.8101 GB, free: 26.84 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001598/0.3381, allocations: 87.84 kB / 0.8102 GB, free: 26.75 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 1.137e-05/0.3382, allocations: 7.984 kB / 0.8102 GB, free: 26.74 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 2.093e-05/0.3382, allocations: 33.62 kB / 0.8102 GB, free: 26.7 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001138/0.3383, allocations: 58.03 kB / 0.8103 GB, free: 26.65 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.955e-06/0.3383, allocations: 4 kB / 0.8103 GB, free: 26.64 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.696e-06/0.3383, allocations: 0 / 0.8103 GB, free: 26.64 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.068e-05/0.3384, allocations: 0 / 0.8103 GB, free: 26.64 MB / 378.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.000341/0.3387, allocations: 355.2 kB / 0.8106 GB, free: 26.25 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.483e-05/0.3388, allocations: 8.031 kB / 0.8106 GB, free: 26.24 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.293e-05/0.3388, allocations: 11.84 kB / 0.8106 GB, free: 26.23 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.14e-05/0.3389, allocations: 167 kB / 0.8108 GB, free: 26.03 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.234e-05/0.3389, allocations: 0 / 0.8108 GB, free: 26.03 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.511e-05/0.3389, allocations: 8 kB / 0.8108 GB, free: 26.02 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001475/0.3391, allocations: 57.62 kB / 0.8108 GB, free: 25.96 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.625e-06/0.3391, allocations: 0 / 0.8108 GB, free: 25.96 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.973e-06/0.3391, allocations: 0 / 0.8108 GB, free: 25.96 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.439e-06/0.3392, allocations: 4 kB / 0.8108 GB, free: 25.95 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001128/0.3393, allocations: 27.98 kB / 0.8109 GB, free: 25.93 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003236/0.3396, allocations: 284.7 kB / 0.8111 GB, free: 25.6 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.47e-05/0.3397, allocations: 34.56 kB / 0.8112 GB, free: 25.55 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.837e-05/0.3398, allocations: 16.91 kB / 0.8112 GB, free: 25.54 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005112/0.3403, allocations: 0.5583 MB / 0.8117 GB, free: 24.85 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.579e-05/0.3404, allocations: 34.56 kB / 0.8118 GB, free: 24.8 MB / 378.7 MB Notification: Performance of pre-optimization done (n=2): time 2.136e-06/0.3404, allocations: 3.938 kB / 0.8118 GB, free: 24.8 MB / 378.7 MB Notification: Performance of matching and sorting (n=2): time 0.0003205/0.3407, allocations: 73.52 kB / 0.8118 GB, free: 24.72 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.671e-05/0.3408, allocations: 51.41 kB / 0.8119 GB, free: 24.66 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000119/0.3409, allocations: 126 kB / 0.812 GB, free: 24.53 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 9.135e-06/0.3409, allocations: 25.7 kB / 0.812 GB, free: 24.5 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.422e-05/0.341, allocations: 88.12 kB / 0.8121 GB, free: 24.41 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.586e-05/0.341, allocations: 7.984 kB / 0.8121 GB, free: 24.4 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.72e-06/0.341, allocations: 0 / 0.8121 GB, free: 24.4 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 5.076e-05/0.3411, allocations: 318.8 kB / 0.8124 GB, free: 24.08 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.542e-05/0.3412, allocations: 11.98 kB / 0.8124 GB, free: 24.07 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.677e-05/0.3412, allocations: 16 kB / 0.8125 GB, free: 24.05 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.632e-05/0.3413, allocations: 15.94 kB / 0.8125 GB, free: 24.04 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.439e-06/0.3413, allocations: 0 / 0.8125 GB, free: 24.04 MB / 378.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.000155/0.3415, allocations: 57.62 kB / 0.8125 GB, free: 23.97 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.592e-05/0.3415, allocations: 8 kB / 0.8125 GB, free: 23.96 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.029e-06/0.3415, allocations: 0 / 0.8125 GB, free: 23.96 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.344e-05/0.3415, allocations: 4.094 kB / 0.8125 GB, free: 23.96 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.076e-05/0.3416, allocations: 7.984 kB / 0.8125 GB, free: 23.95 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.534e-06/0.3417, allocations: 0 / 0.8125 GB, free: 23.95 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.982e-05/0.3417, allocations: 11.91 kB / 0.8126 GB, free: 23.94 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.913e-06/0.3417, allocations: 0 / 0.8126 GB, free: 23.94 MB / 378.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 5.852e-05/0.3418, allocations: 117.7 kB / 0.8127 GB, free: 23.82 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.632e-05/0.3418, allocations: 0 / 0.8127 GB, free: 23.82 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001908/0.342, allocations: 77.14 kB / 0.8127 GB, free: 23.74 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.954e-06/0.3421, allocations: 0 / 0.8127 GB, free: 23.74 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.026e-06/0.3421, allocations: 0 / 0.8127 GB, free: 23.74 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.343e-06/0.3421, allocations: 0 / 0.8127 GB, free: 23.74 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001581/0.3423, allocations: 169.6 kB / 0.8129 GB, free: 23.52 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.857e-06/0.3423, allocations: 7.938 kB / 0.8129 GB, free: 23.52 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.518e-05/0.3424, allocations: 4 kB / 0.8129 GB, free: 23.51 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.46e-06/0.3424, allocations: 0 / 0.8129 GB, free: 23.51 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.088e-05/0.3424, allocations: 8 kB / 0.8129 GB, free: 23.5 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.179e-06/0.3424, allocations: 8.016 kB / 0.8129 GB, free: 23.5 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.904e-06/0.3424, allocations: 3.984 kB / 0.8129 GB, free: 23.49 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001837/0.3426, allocations: 151.4 kB / 0.8131 GB, free: 23.33 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.88e-05/0.3427, allocations: 93 kB / 0.8132 GB, free: 23.22 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.777e-05/0.3427, allocations: 0 / 0.8132 GB, free: 23.22 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.479e-05/0.3428, allocations: 8.031 kB / 0.8132 GB, free: 23.21 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.38e-05/0.3428, allocations: 3.984 kB / 0.8132 GB, free: 23.21 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.212e-06/0.3429, allocations: 0 / 0.8132 GB, free: 23.21 MB / 378.7 MB Notification: Performance of sorting global known variables: time 4.887e-05/0.3429, allocations: 99.64 kB / 0.8133 GB, free: 23.11 MB / 378.7 MB Notification: Performance of sort global known variables: time 6.8e-07/0.3429, allocations: 3.938 kB / 0.8133 GB, free: 23.11 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003051/0.3432, allocations: 8 kB / 0.8133 GB, free: 23.1 MB / 378.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001241/0.3434, allocations: 103.2 kB / 0.8134 GB, free: 22.98 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001537/0.3435, allocations: 27.98 kB / 0.8134 GB, free: 22.96 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.487e-06/0.3436, allocations: 4 kB / 0.8134 GB, free: 22.95 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 6.057e-05/0.3436, allocations: 15.98 kB / 0.8134 GB, free: 22.94 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002795/0.3439, allocations: 3.359 kB / 0.8134 GB, free: 22.94 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003076/0.3442, allocations: 152.6 kB / 0.8136 GB, free: 22.77 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001185/0.3444, allocations: 0.6848 MB / 0.8142 GB, free: 22.05 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 3.245e-05/0.3444, allocations: 4 kB / 0.8142 GB, free: 22.05 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.193e-05/0.3445, allocations: 11.42 kB / 0.8143 GB, free: 22.04 MB / 378.7 MB Notification: Performance of SimCode: time 1.441e-06/0.3445, allocations: 4 kB / 0.8143 GB, free: 22.04 MB / 378.7 MB Notification: Performance of Templates: time 0.002797/0.3473, allocations: 432.2 kB / 0.8147 GB, free: 21.61 MB / 378.7 MB