Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_Buildings.Utilities.Math.Examples.Splice.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/Buildings 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.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(Buildings.Utilities.Math.Examples.Splice,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Utilities.Math.Examples.Splice") translateModel(Buildings.Utilities.Math.Examples.Splice,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Utilities.Math.Examples.Splice") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001152/0.001152, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.00169/0.00169, allocations: 190.8 kB / 16.25 MB, free: 6.629 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.384/1.384, allocations: 222.9 MB / 239.9 MB, free: 4.516 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.8/2.8, allocations: 472.6 MB / 0.7448 GB, free: 4.945 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001201/0.001201, allocations: 69.03 kB / 0.9115 GB, free: 33.5 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3387/0.34, allocations: 159.9 MB / 1.068 GB, free: 10.82 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Splice): time 0.002895/0.3429, allocations: 1.551 MB / 1.069 GB, free: 9.254 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001175/0.3441, allocations: 0.6505 MB / 1.07 GB, free: 8.598 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.424e-05/0.3441, allocations: 0 / 1.07 GB, free: 8.598 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 3.872e-05/0.3442, allocations: 0 / 1.07 GB, free: 8.598 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 5.519e-05/0.3442, allocations: 7.938 kB / 1.07 GB, free: 8.59 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003542/0.3446, allocations: 71.8 kB / 1.07 GB, free: 8.52 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 7.846e-05/0.3447, allocations: 35.86 kB / 1.07 GB, free: 8.484 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000109/0.3448, allocations: 19.98 kB / 1.07 GB, free: 8.465 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 8.268e-05/0.3449, allocations: 8 kB / 1.07 GB, free: 8.457 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 7.48e-05/0.345, allocations: 23.84 kB / 1.07 GB, free: 8.434 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.62e-05/0.345, allocations: 4 kB / 1.07 GB, free: 8.43 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002049/0.3452, allocations: 99.89 kB / 1.07 GB, free: 8.332 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 1.679e-05/0.3452, allocations: 8 kB / 1.07 GB, free: 8.324 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 3.127e-05/0.3453, allocations: 23.86 kB / 1.07 GB, free: 8.301 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0001805/0.3455, allocations: 88.11 kB / 1.07 GB, free: 8.215 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 6.382e-06/0.3455, allocations: 3.938 kB / 1.07 GB, free: 8.211 MB / 0.8262 GB Notification: Performance of FrontEnd: time 2.114e-06/0.3455, allocations: 0 / 1.07 GB, free: 8.211 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 6.472e-06/0.3455, allocations: 0 / 1.07 GB, free: 8.211 MB / 0.8262 GB 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.346, allocations: 355.4 kB / 1.071 GB, free: 7.816 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.477e-05/0.346, allocations: 15.97 kB / 1.071 GB, free: 7.801 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.693e-05/0.3461, allocations: 8.781 kB / 1.071 GB, free: 7.793 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001276/0.3462, allocations: 176.2 kB / 1.071 GB, free: 7.582 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.186e-05/0.3462, allocations: 384 / 1.071 GB, free: 7.582 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.454e-05/0.3462, allocations: 12.36 kB / 1.071 GB, free: 7.57 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001579/0.3464, allocations: 54 kB / 1.071 GB, free: 7.512 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.707e-06/0.3464, allocations: 0 / 1.071 GB, free: 7.512 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.152e-05/0.3464, allocations: 0 / 1.071 GB, free: 7.512 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.016e-05/0.3465, allocations: 4 kB / 1.071 GB, free: 7.508 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.955e-05/0.3466, allocations: 23.92 kB / 1.071 GB, free: 7.484 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003872/0.347, allocations: 284.7 kB / 1.071 GB, free: 7.156 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 9.951e-05/0.3471, allocations: 30.58 kB / 1.071 GB, free: 7.117 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.965e-05/0.3471, allocations: 20.91 kB / 1.071 GB, free: 7.094 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005752/0.3477, allocations: 0.5544 MB / 1.072 GB, free: 6.41 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.648e-05/0.3477, allocations: 34.5 kB / 1.072 GB, free: 6.367 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=2): time 1.352e-06/0.3477, allocations: 4 kB / 1.072 GB, free: 6.363 MB / 0.8262 GB Notification: Performance of matching and sorting (n=2): time 0.0002527/0.348, allocations: 65.67 kB / 1.072 GB, free: 6.293 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.227e-05/0.348, allocations: 51.41 kB / 1.072 GB, free: 6.23 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.74e-05/0.3481, allocations: 121.8 kB / 1.072 GB, free: 6.102 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 2.128e-05/0.3482, allocations: 25.7 kB / 1.072 GB, free: 6.07 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 4.771e-05/0.3482, allocations: 96.08 kB / 1.072 GB, free: 5.973 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 1.737e-05/0.3483, allocations: 3.906 kB / 1.072 GB, free: 5.969 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.033e-05/0.3483, allocations: 13.84 kB / 1.072 GB, free: 5.949 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001296/0.3484, allocations: 326.8 kB / 1.072 GB, free: 5.621 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.82e-05/0.3485, allocations: 4 kB / 1.072 GB, free: 5.617 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.567e-05/0.3485, allocations: 19.92 kB / 1.072 GB, free: 5.598 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.415e-05/0.3486, allocations: 24.84 kB / 1.072 GB, free: 5.57 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.854e-06/0.3486, allocations: 0 / 1.072 GB, free: 5.57 MB / 0.8262 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001176/0.3487, allocations: 57.66 kB / 1.073 GB, free: 5.508 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.959e-05/0.3488, allocations: 9.719 kB / 1.073 GB, free: 5.5 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.96e-06/0.3488, allocations: 0 / 1.073 GB, free: 5.5 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.3e-05/0.3488, allocations: 0 / 1.073 GB, free: 5.5 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.497e-05/0.3489, allocations: 7.984 kB / 1.073 GB, free: 5.492 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.576e-06/0.3489, allocations: 0 / 1.073 GB, free: 5.492 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.604e-05/0.3489, allocations: 11.94 kB / 1.073 GB, free: 5.48 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.203e-06/0.3489, allocations: 0 / 1.073 GB, free: 5.48 MB / 0.8262 GB 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 8.633e-05/0.349, allocations: 118.4 kB / 1.073 GB, free: 5.355 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.55e-05/0.3491, allocations: 11.94 kB / 1.073 GB, free: 5.344 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001657/0.3492, allocations: 61.2 kB / 1.073 GB, free: 5.273 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.784e-06/0.3492, allocations: 0 / 1.073 GB, free: 5.273 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.548e-06/0.3492, allocations: 0 / 1.073 GB, free: 5.273 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.348e-06/0.3493, allocations: 7.984 kB / 1.073 GB, free: 5.266 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001592/0.3494, allocations: 169.5 kB / 1.073 GB, free: 5.051 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.92e-07/0.3494, allocations: 4 kB / 1.073 GB, free: 5.047 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.215e-05/0.3495, allocations: 4 kB / 1.073 GB, free: 5.043 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.563e-06/0.3495, allocations: 32 / 1.073 GB, free: 5.043 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.254e-06/0.3495, allocations: 4 kB / 1.073 GB, free: 5.039 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.062e-06/0.3495, allocations: 0 / 1.073 GB, free: 5.039 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.21e-07/0.3495, allocations: 0 / 1.073 GB, free: 5.039 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001606/0.3497, allocations: 159.4 kB / 1.073 GB, free: 4.867 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 3.834e-05/0.3497, allocations: 81.02 kB / 1.073 GB, free: 4.77 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.235e-05/0.3497, allocations: 0 / 1.073 GB, free: 4.77 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.331e-05/0.3498, allocations: 8.031 kB / 1.073 GB, free: 4.762 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.199e-05/0.3498, allocations: 3.984 kB / 1.073 GB, free: 4.758 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.789e-06/0.3498, allocations: 4 kB / 1.073 GB, free: 4.754 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 5.744e-05/0.3499, allocations: 95.27 kB / 1.073 GB, free: 4.66 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.31e-07/0.3499, allocations: 0 / 1.073 GB, free: 4.66 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.000219/0.3501, allocations: 15.94 kB / 1.073 GB, free: 4.645 MB / 0.8262 GB 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.0001596/0.3503, allocations: 99.25 kB / 1.073 GB, free: 4.539 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0001337/0.3504, allocations: 31.92 kB / 1.073 GB, free: 4.508 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/0.3505, allocations: 0 / 1.073 GB, free: 4.508 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 4.411e-05/0.3505, allocations: 15.98 kB / 1.073 GB, free: 4.492 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002137/0.3507, allocations: 0 / 1.073 GB, free: 4.492 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003276/0.3511, allocations: 146.5 kB / 1.074 GB, free: 4.324 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002497/0.3513, allocations: 0.6886 MB / 1.074 GB, free: 3.609 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 2.446e-05/0.3513, allocations: 0 / 1.074 GB, free: 3.609 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.178e-05/0.3514, allocations: 15.38 kB / 1.074 GB, free: 3.594 MB / 0.8262 GB Notification: Performance of SimCode: time 1.91e-07/0.3514, allocations: 0 / 1.074 GB, free: 3.594 MB / 0.8262 GB Notification: Performance of Templates: time 0.002697/0.3541, allocations: 478.7 kB / 1.075 GB, free: 3.129 MB / 0.8262 GB make -j1 -f Buildings_1.6_Buildings.Utilities.Math.Examples.Splice.makefile (rm -f Buildings_1.6_Buildings.Utilities.Math.Examples.Splice.pipe ; mkfifo Buildings_1.6_Buildings.Utilities.Math.Examples.Splice.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Utilities.Math.Examples.Splice.pipe >> ../files/Buildings_1.6_Buildings.Utilities.Math.Examples.Splice.sim & ./Buildings_1.6_Buildings.Utilities.Math.Examples.Splice -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Utilities.Math.Examples.Splice.pipe 2>&1)