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.003565/0.003564, allocations: 358.4 kB / 16.58 MB, free: 5.566 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.463/1.463, allocations: 165.8 MB / 183.1 MB, free: 5.508 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.659/3.659, allocations: 410.8 MB / 0.6001 GB, free: 15.09 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.001772/0.001772, allocations: 197.4 kB / 0.6668 GB, free: 6.922 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0007349/0.0007354, allocations: 15.98 kB / 0.7429 GB, free: 8.953 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4291/0.4299, allocations: 67.43 MB / 0.8087 GB, free: 28.79 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1713/0.6013, allocations: 99.64 MB / 0.906 GB, free: 9.02 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003021/0.6017, allocations: 79.95 kB / 0.9061 GB, free: 8.941 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.008725/0.6104, allocations: 1.814 MB / 0.9079 GB, free: 7.125 MB / 458.7 MB Notification: Performance of FrontEnd: time 2.544e-06/0.6104, allocations: 4 kB / 0.9079 GB, free: 7.121 MB / 458.7 MB Notification: Performance of Transformations before backend: time 6.822e-06/0.6105, allocations: 0 / 0.9079 GB, free: 7.121 MB / 458.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.0004759/0.611, allocations: 375.1 kB / 0.9082 GB, free: 6.707 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.248e-05/0.611, allocations: 8.031 kB / 0.9082 GB, free: 6.699 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.822e-05/0.6111, allocations: 7.906 kB / 0.9082 GB, free: 6.691 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001551/0.6112, allocations: 163.1 kB / 0.9084 GB, free: 6.492 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.662e-05/0.6112, allocations: 7.938 kB / 0.9084 GB, free: 6.484 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.827e-05/0.6113, allocations: 4 kB / 0.9084 GB, free: 6.48 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002012/0.6115, allocations: 60.67 kB / 0.9085 GB, free: 6.418 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.002e-05/0.6115, allocations: 0 / 0.9085 GB, free: 6.418 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.794e-05/0.6115, allocations: 7.938 kB / 0.9085 GB, free: 6.41 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.441e-06/0.6116, allocations: 4 kB / 0.9085 GB, free: 6.406 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001582/0.6117, allocations: 27.98 kB / 0.9085 GB, free: 6.379 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004692/0.6122, allocations: 292.6 kB / 0.9088 GB, free: 6.043 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001266/0.6123, allocations: 34.56 kB / 0.9088 GB, free: 6 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.266e-05/0.6124, allocations: 12.92 kB / 0.9088 GB, free: 5.984 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005964/0.6131, allocations: 0.5661 MB / 0.9094 GB, free: 5.289 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.317e-05/0.6131, allocations: 30.56 kB / 0.9094 GB, free: 5.25 MB / 458.7 MB Notification: Performance of pre-optimization done (n=2): time 1.923e-06/0.6131, allocations: 0 / 0.9094 GB, free: 5.25 MB / 458.7 MB Notification: Performance of matching and sorting (n=2): time 0.0003594/0.6135, allocations: 69.53 kB / 0.9095 GB, free: 5.176 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.387e-05/0.6136, allocations: 51.41 kB / 0.9095 GB, free: 5.113 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001253/0.6137, allocations: 133.9 kB / 0.9097 GB, free: 4.973 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 1.632e-05/0.6137, allocations: 25.7 kB / 0.9097 GB, free: 4.941 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.819e-05/0.6138, allocations: 88.14 kB / 0.9098 GB, free: 4.852 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.856e-05/0.6138, allocations: 3.906 kB / 0.9098 GB, free: 4.848 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.368e-06/0.6138, allocations: 0 / 0.9098 GB, free: 4.848 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001226/0.614, allocations: 318.8 kB / 0.9101 GB, free: 4.527 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.166e-05/0.614, allocations: 8 kB / 0.9101 GB, free: 4.52 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.263e-05/0.6141, allocations: 19.98 kB / 0.9101 GB, free: 4.5 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.636e-05/0.6142, allocations: 8 kB / 0.9101 GB, free: 4.492 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.913e-06/0.6142, allocations: 0 / 0.9101 GB, free: 4.492 MB / 458.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002099/0.6144, allocations: 69.56 kB / 0.9102 GB, free: 4.418 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.665e-05/0.6145, allocations: 6.656 kB / 0.9102 GB, free: 4.414 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.911e-06/0.6145, allocations: 7.875 kB / 0.9102 GB, free: 4.406 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.275e-05/0.6145, allocations: 4.094 kB / 0.9102 GB, free: 4.402 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.807e-05/0.6146, allocations: 4 kB / 0.9102 GB, free: 4.398 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.566e-06/0.6147, allocations: 4 kB / 0.9102 GB, free: 4.395 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.229e-05/0.6147, allocations: 11.89 kB / 0.9102 GB, free: 4.383 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.208e-05/0.6148, allocations: 4 kB / 0.9102 GB, free: 4.379 MB / 458.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 9.523e-05/0.6149, allocations: 105.8 kB / 0.9103 GB, free: 4.266 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.513e-05/0.6149, allocations: 7.953 kB / 0.9103 GB, free: 4.258 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002494/0.6152, allocations: 69.2 kB / 0.9104 GB, free: 4.188 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.555e-05/0.6152, allocations: 0 / 0.9104 GB, free: 4.188 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.819e-06/0.6152, allocations: 3.938 kB / 0.9104 GB, free: 4.184 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.617e-06/0.6152, allocations: 0 / 0.9104 GB, free: 4.184 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002134/0.6154, allocations: 165.7 kB / 0.9106 GB, free: 3.973 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.593e-06/0.6155, allocations: 0 / 0.9106 GB, free: 3.973 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.379e-05/0.6155, allocations: 11.98 kB / 0.9106 GB, free: 3.961 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.239e-06/0.6156, allocations: 3.953 kB / 0.9106 GB, free: 3.957 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.348e-06/0.6156, allocations: 4.031 kB / 0.9106 GB, free: 3.953 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.078e-06/0.6156, allocations: 3.984 kB / 0.9106 GB, free: 3.949 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.783e-06/0.6156, allocations: 0 / 0.9106 GB, free: 3.949 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000246/0.6159, allocations: 151.5 kB / 0.9107 GB, free: 3.785 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.472e-05/0.6159, allocations: 81.09 kB / 0.9108 GB, free: 3.688 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.251e-05/0.616, allocations: 7.953 kB / 0.9108 GB, free: 3.68 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.529e-05/0.6161, allocations: 12.03 kB / 0.9108 GB, free: 3.668 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.468e-05/0.6161, allocations: 0 / 0.9108 GB, free: 3.668 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.111e-06/0.6161, allocations: 0 / 0.9108 GB, free: 3.668 MB / 458.7 MB Notification: Performance of sorting global known variables: time 7.959e-05/0.6162, allocations: 95.27 kB / 0.9109 GB, free: 3.574 MB / 458.7 MB Notification: Performance of sort global known variables: time 3.216e-06/0.6162, allocations: 0 / 0.9109 GB, free: 3.574 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0003029/0.6165, allocations: 23.78 kB / 0.9109 GB, free: 3.551 MB / 458.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.000193/0.6167, allocations: 107.2 kB / 0.911 GB, free: 3.434 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.0002014/0.617, allocations: 31.98 kB / 0.9111 GB, free: 3.402 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 2.295e-06/0.617, allocations: 0 / 0.9111 GB, free: 3.402 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 8.412e-05/0.6171, allocations: 15.98 kB / 0.9111 GB, free: 3.387 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002732/0.6174, allocations: 3.938 kB / 0.9111 GB, free: 3.383 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004596/0.6178, allocations: 152.7 kB / 0.9112 GB, free: 3.207 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003189/0.6182, allocations: 0.6848 MB / 0.9119 GB, free: 2.496 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 4.029e-05/0.6182, allocations: 0 / 0.9119 GB, free: 2.496 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.901e-05/0.6183, allocations: 11.44 kB / 0.9119 GB, free: 2.484 MB / 458.7 MB Notification: Performance of SimCode: time 1.162e-06/0.6183, allocations: 0 / 0.9119 GB, free: 2.484 MB / 458.7 MB Notification: Performance of Templates: time 0.003152/0.6214, allocations: 425.9 kB / 0.9123 GB, free: 2.07 MB / 458.7 MB