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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo", uses=false) Using package Buildings with version 1.6 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.0007986/0.0007986, allocations: 90.36 kB / 15.36 MB, free: 0.7383 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.006204/0.006204, allocations: 173.6 kB / 16.27 MB, free: 6.613 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.597/1.597, allocations: 205.4 MB / 222.4 MB, free: 5.562 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo): time 0.6574/0.6574, allocations: 95.63 MB / 366.4 MB, free: 10.22 MB / 302.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Buildings requested package Modelica of version 3.2.1. Modelica 3.2.3 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0006372/0.0006376, allocations: 16 kB / 447.5 MB, free: 8.953 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4571/0.4577, allocations: 70.33 MB / 0.5057 GB, free: 16.34 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Splice): time 0.00145/0.4592, allocations: 1.188 MB / 0.5068 GB, free: 15.14 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009527/0.4602, allocations: 0.6636 MB / 0.5075 GB, free: 14.47 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.695e-05/0.4602, allocations: 4 kB / 0.5075 GB, free: 14.47 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 2.643e-05/0.4603, allocations: 0 / 0.5075 GB, free: 14.47 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 6.799e-05/0.4603, allocations: 3.938 kB / 0.5075 GB, free: 14.46 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003178/0.4607, allocations: 63.8 kB / 0.5075 GB, free: 14.4 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 8.616e-05/0.4608, allocations: 35.86 kB / 0.5076 GB, free: 14.37 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001391/0.4609, allocations: 12 kB / 0.5076 GB, free: 14.36 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.214e-05/0.461, allocations: 15.92 kB / 0.5076 GB, free: 14.34 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.085e-05/0.4611, allocations: 15.92 kB / 0.5076 GB, free: 14.32 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.538e-05/0.4611, allocations: 0 / 0.5076 GB, free: 14.32 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001663/0.4613, allocations: 95.89 kB / 0.5077 GB, free: 14.23 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 1.413e-05/0.4613, allocations: 7.938 kB / 0.5077 GB, free: 14.22 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 3.473e-05/0.4614, allocations: 37.62 kB / 0.5077 GB, free: 14.18 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001661/0.4615, allocations: 77.75 kB / 0.5078 GB, free: 14.11 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.779e-06/0.4616, allocations: 0 / 0.5078 GB, free: 14.11 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.144e-06/0.4616, allocations: 8 kB / 0.5078 GB, free: 14.1 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.273e-06/0.4616, allocations: 0 / 0.5078 GB, free: 14.1 MB / 382.1 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.000491/0.4621, allocations: 359.3 kB / 0.5082 GB, free: 13.7 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.215e-05/0.4621, allocations: 11.98 kB / 0.5082 GB, free: 13.69 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.925e-05/0.4622, allocations: 4.938 kB / 0.5082 GB, free: 13.68 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001279/0.4623, allocations: 172.2 kB / 0.5084 GB, free: 13.48 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.02e-05/0.4623, allocations: 7.938 kB / 0.5084 GB, free: 13.47 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.511e-05/0.4624, allocations: 4 kB / 0.5084 GB, free: 13.46 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002034/0.4626, allocations: 61.66 kB / 0.5084 GB, free: 13.4 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.443e-05/0.4626, allocations: 3.984 kB / 0.5084 GB, free: 13.39 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.786e-05/0.4626, allocations: 4 kB / 0.5084 GB, free: 13.39 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.001e-06/0.4626, allocations: 0 / 0.5084 GB, free: 13.39 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.754e-05/0.4627, allocations: 31.92 kB / 0.5085 GB, free: 13.36 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004014/0.4631, allocations: 284.7 kB / 0.5087 GB, free: 13.03 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.297e-05/0.4632, allocations: 30.58 kB / 0.5088 GB, free: 12.99 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.727e-05/0.4633, allocations: 20.91 kB / 0.5088 GB, free: 12.97 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004087/0.4637, allocations: 0.5505 MB / 0.5093 GB, free: 12.29 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.992e-05/0.4637, allocations: 38.5 kB / 0.5094 GB, free: 12.24 MB / 382.1 MB Notification: Performance of pre-optimization done (n=2): time 1.253e-06/0.4638, allocations: 0 / 0.5094 GB, free: 12.24 MB / 382.1 MB Notification: Performance of matching and sorting (n=2): time 0.0002725/0.464, allocations: 69.67 kB / 0.5094 GB, free: 12.17 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.172e-05/0.4641, allocations: 63.28 kB / 0.5095 GB, free: 12.09 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.931e-05/0.4642, allocations: 117.8 kB / 0.5096 GB, free: 11.97 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.134e-05/0.4642, allocations: 29.83 kB / 0.5096 GB, free: 11.93 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.015e-05/0.4642, allocations: 92.03 kB / 0.5097 GB, free: 11.84 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.077e-05/0.4643, allocations: 8 kB / 0.5097 GB, free: 11.83 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.982e-05/0.4643, allocations: 9.719 kB / 0.5097 GB, free: 11.82 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 6.838e-05/0.4644, allocations: 314.8 kB / 0.51 GB, free: 11.5 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.2e-05/0.4644, allocations: 15.94 kB / 0.51 GB, free: 11.48 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.212e-05/0.4645, allocations: 11.98 kB / 0.5101 GB, free: 11.47 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.449e-05/0.4645, allocations: 32.86 kB / 0.5101 GB, free: 11.44 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.464e-06/0.4645, allocations: 0 / 0.5101 GB, free: 11.44 MB / 382.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001081/0.4647, allocations: 65.58 kB / 0.5101 GB, free: 11.37 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.524e-05/0.4647, allocations: 8 kB / 0.5102 GB, free: 11.36 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.142e-06/0.4647, allocations: 4 kB / 0.5102 GB, free: 11.36 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.906e-05/0.4647, allocations: 4.031 kB / 0.5102 GB, free: 11.35 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.794e-05/0.4648, allocations: 7.938 kB / 0.5102 GB, free: 11.34 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.325e-06/0.4648, allocations: 0 / 0.5102 GB, free: 11.34 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.491e-05/0.4649, allocations: 11.92 kB / 0.5102 GB, free: 11.33 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.316e-06/0.4649, allocations: 0 / 0.5102 GB, free: 11.33 MB / 382.1 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 8.676e-05/0.465, allocations: 109.8 kB / 0.5103 GB, free: 11.21 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.617e-05/0.465, allocations: 7.906 kB / 0.5103 GB, free: 11.21 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001666/0.4652, allocations: 77.09 kB / 0.5104 GB, free: 11.12 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.065e-06/0.4652, allocations: 3.938 kB / 0.5104 GB, free: 11.12 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.889e-06/0.4652, allocations: 0 / 0.5104 GB, free: 11.12 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.505e-06/0.4652, allocations: 0 / 0.5104 GB, free: 11.12 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001249/0.4653, allocations: 165.7 kB / 0.5105 GB, free: 10.91 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.91e-07/0.4653, allocations: 0 / 0.5105 GB, free: 10.91 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.782e-05/0.4654, allocations: 7.984 kB / 0.5105 GB, free: 10.9 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.363e-06/0.4654, allocations: 0 / 0.5105 GB, free: 10.9 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.293e-06/0.4654, allocations: 8.031 kB / 0.5105 GB, free: 10.89 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.084e-06/0.4654, allocations: 3.938 kB / 0.5105 GB, free: 10.89 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.42e-07/0.4654, allocations: 0 / 0.5105 GB, free: 10.89 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001318/0.4656, allocations: 151.5 kB / 0.5107 GB, free: 10.73 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.37e-05/0.4656, allocations: 89 kB / 0.5108 GB, free: 10.62 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.278e-05/0.4656, allocations: 0 / 0.5108 GB, free: 10.62 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.374e-05/0.4657, allocations: 11.97 kB / 0.5108 GB, free: 10.61 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.212e-05/0.4657, allocations: 0 / 0.5108 GB, free: 10.61 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.507e-06/0.4657, allocations: 0 / 0.5108 GB, free: 10.61 MB / 382.1 MB Notification: Performance of sorting global known variables: time 4.346e-05/0.4658, allocations: 99.64 kB / 0.5109 GB, free: 10.51 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.202e-06/0.4658, allocations: 0 / 0.5109 GB, free: 10.51 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002164/0.466, allocations: 11.94 kB / 0.5109 GB, free: 10.5 MB / 382.1 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.0001511/0.4662, allocations: 111.2 kB / 0.511 GB, free: 10.38 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001231/0.4663, allocations: 31.92 kB / 0.511 GB, free: 10.35 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.694e-06/0.4663, allocations: 0 / 0.511 GB, free: 10.35 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 4.182e-05/0.4663, allocations: 19.92 kB / 0.5111 GB, free: 10.33 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002301/0.4666, allocations: 6.953 kB / 0.5111 GB, free: 10.32 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002685/0.4669, allocations: 148.8 kB / 0.5112 GB, free: 10.16 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001215/0.467, allocations: 0.677 MB / 0.5119 GB, free: 9.453 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 2.441e-05/0.467, allocations: 7.984 kB / 0.5119 GB, free: 9.445 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.686e-05/0.467, allocations: 7.438 kB / 0.5119 GB, free: 9.438 MB / 382.1 MB Notification: Performance of SimCode: time 2.2e-07/0.4671, allocations: 4 kB / 0.5119 GB, free: 9.434 MB / 382.1 MB Notification: Performance of Templates: time 0.002619/0.4697, allocations: 444.9 kB / 0.5123 GB, free: 9 MB / 382.1 MB make -j1 -f Buildings_1.6_Buildings.Utilities.Math.Examples.Splice.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: