Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_Buildings.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 Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 9.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.Utilities.Math.Examples.Splice,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.Utilities.Math.Examples.Splice") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 4.826/4.826, allocations: 0.5623 GB / 0.5769 GB, free: 3.344 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002446/0.002446, allocations: 357.3 kB / 0.644 GB, free: 185.6 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 4.49/4.49, allocations: 410.7 MB / 1.112 GB, free: 5.902 MB / 0.6042 GB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001785/0.001785, allocations: 186.5 kB / 1.225 GB, free: 6.035 MB / 0.7136 GB Notification: Performance of FrontEnd - loaded program: time 0.0004913/0.0004916, allocations: 12 kB / 1.348 GB, free: 8.168 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6015/0.6021, allocations: 115.3 MB / 1.461 GB, free: 284.3 MB / 0.8542 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Splice): time 0.001466/0.6036, allocations: 1.2 MB / 1.462 GB, free: 283.1 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.001026/0.6046, allocations: 0.6418 MB / 1.463 GB, free: 282.4 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.441e-05/0.6047, allocations: 0 / 1.463 GB, free: 282.4 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 1.52e-05/0.6047, allocations: 3.984 kB / 1.463 GB, free: 282.4 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 5.885e-05/0.6048, allocations: 12.98 kB / 1.463 GB, free: 282.4 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002412/0.605, allocations: 55.75 kB / 1.463 GB, free: 282.3 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 5.792e-05/0.6051, allocations: 29.02 kB / 1.463 GB, free: 282.3 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 8.32e-05/0.6052, allocations: 14.41 kB / 1.463 GB, free: 282.3 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 7.032e-05/0.6053, allocations: 11.92 kB / 1.463 GB, free: 282.3 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 5.399e-05/0.6054, allocations: 15.92 kB / 1.463 GB, free: 282.3 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 1.116e-05/0.6054, allocations: 0 / 1.463 GB, free: 282.3 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001618/0.6055, allocations: 87.89 kB / 1.463 GB, free: 282.2 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 1.115e-05/0.6056, allocations: 12.5 kB / 1.463 GB, free: 282.2 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 1.933e-05/0.6056, allocations: 25.7 kB / 1.463 GB, free: 282.1 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.000116/0.6057, allocations: 60.55 kB / 1.463 GB, free: 282.1 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 6.674e-06/0.6057, allocations: 4 kB / 1.463 GB, free: 282.1 MB / 0.8542 GB Notification: Performance of FrontEnd: time 1.923e-06/0.6058, allocations: 0 / 1.463 GB, free: 282.1 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 1.106e-05/0.6058, allocations: 0 / 1.463 GB, free: 282.1 MB / 0.8542 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.000358/0.6061, allocations: 351.9 kB / 1.463 GB, free: 281.7 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 3.506e-05/0.6062, allocations: 15.56 kB / 1.463 GB, free: 281.7 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.622e-05/0.6062, allocations: 8.656 kB / 1.463 GB, free: 281.7 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.729e-05/0.6063, allocations: 170.9 kB / 1.463 GB, free: 281.5 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.52e-05/0.6064, allocations: 5.188 kB / 1.463 GB, free: 281.5 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.521e-05/0.6064, allocations: 1.031 kB / 1.463 GB, free: 281.5 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001593/0.6066, allocations: 59.23 kB / 1.463 GB, free: 281.4 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.888e-05/0.6066, allocations: 0 / 1.463 GB, free: 281.4 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.039e-05/0.6066, allocations: 3.938 kB / 1.463 GB, free: 281.4 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.56e-06/0.6066, allocations: 0 / 1.463 GB, free: 281.4 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001155/0.6067, allocations: 33.33 kB / 1.463 GB, free: 281.4 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003448/0.6071, allocations: 287.4 kB / 1.464 GB, free: 281 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 9.834e-05/0.6072, allocations: 34.62 kB / 1.464 GB, free: 281 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.013e-05/0.6073, allocations: 16.38 kB / 1.464 GB, free: 281 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003687/0.6077, allocations: 0.5598 MB / 1.464 GB, free: 280.3 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.018e-05/0.6077, allocations: 31.28 kB / 1.464 GB, free: 280.3 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=2): time 2.171e-06/0.6077, allocations: 0.5 kB / 1.464 GB, free: 280.3 MB / 0.8542 GB Notification: Performance of matching and sorting (n=2): time 0.0002935/0.608, allocations: 74.98 kB / 1.464 GB, free: 280.2 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.061e-05/0.6081, allocations: 56.14 kB / 1.464 GB, free: 280.1 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.23e-05/0.6082, allocations: 122.4 kB / 1.465 GB, free: 280 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 1.016e-05/0.6082, allocations: 30.2 kB / 1.465 GB, free: 279.9 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 3.566e-05/0.6082, allocations: 86.27 kB / 1.465 GB, free: 279.9 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 1.502e-05/0.6083, allocations: 3.906 kB / 1.465 GB, free: 279.9 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.783e-06/0.6083, allocations: 0 / 1.465 GB, free: 279.9 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 5.224e-05/0.6083, allocations: 322.8 kB / 1.465 GB, free: 279.5 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.627e-05/0.6084, allocations: 9.281 kB / 1.465 GB, free: 279.5 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.662e-05/0.6085, allocations: 15.98 kB / 1.465 GB, free: 279.5 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.432e-05/0.6085, allocations: 9.594 kB / 1.465 GB, free: 279.5 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.223e-06/0.6085, allocations: 0 / 1.465 GB, free: 279.5 MB / 0.8542 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001536/0.6087, allocations: 63.77 kB / 1.465 GB, free: 279.4 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.511e-05/0.6087, allocations: 4 kB / 1.465 GB, free: 279.4 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.157e-06/0.6087, allocations: 0 / 1.465 GB, free: 279.4 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.67e-05/0.6088, allocations: 7.953 kB / 1.465 GB, free: 279.4 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.269e-05/0.6089, allocations: 4.688 kB / 1.465 GB, free: 279.4 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.613e-06/0.6089, allocations: 4.938 kB / 1.465 GB, free: 279.4 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.007e-05/0.6089, allocations: 11.98 kB / 1.465 GB, free: 279.4 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.643e-06/0.609, allocations: 0.9688 kB / 1.465 GB, free: 279.4 MB / 0.8542 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.059e-05/0.609, allocations: 115.1 kB / 1.465 GB, free: 279.3 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.654e-05/0.6091, allocations: 3.906 kB / 1.465 GB, free: 279.3 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001923/0.6093, allocations: 78 kB / 1.465 GB, free: 279.2 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.062e-06/0.6093, allocations: 0.875 kB / 1.465 GB, free: 279.2 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.682e-06/0.6093, allocations: 7.953 kB / 1.465 GB, free: 279.2 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.62e-06/0.6093, allocations: 0.625 kB / 1.465 GB, free: 279.2 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001583/0.6095, allocations: 165.7 kB / 1.466 GB, free: 279 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.233e-06/0.6095, allocations: 2.688 kB / 1.466 GB, free: 279 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.88e-05/0.6096, allocations: 7.984 kB / 1.466 GB, free: 279 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.466e-06/0.6096, allocations: 0 / 1.466 GB, free: 279 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.722e-06/0.6096, allocations: 0 / 1.466 GB, free: 279 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.223e-06/0.6096, allocations: 0 / 1.466 GB, free: 279 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.763e-06/0.6096, allocations: 0 / 1.466 GB, free: 279 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001746/0.6098, allocations: 161.7 kB / 1.466 GB, free: 278.8 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 2.648e-05/0.6099, allocations: 85.09 kB / 1.466 GB, free: 278.7 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.696e-05/0.6099, allocations: 4.938 kB / 1.466 GB, free: 278.7 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.139e-05/0.61, allocations: 0.7188 kB / 1.466 GB, free: 278.7 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.87e-05/0.61, allocations: 7.938 kB / 1.466 GB, free: 278.7 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.794e-06/0.61, allocations: 0.625 kB / 1.466 GB, free: 278.7 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 4.774e-05/0.6101, allocations: 97.11 kB / 1.466 GB, free: 278.6 MB / 0.8542 GB Notification: Performance of sort global known variables: time 6.67e-07/0.6101, allocations: 0 / 1.466 GB, free: 278.6 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0003179/0.6104, allocations: 16 kB / 1.466 GB, free: 278.6 MB / 0.8542 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 (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.0001294/0.6106, allocations: 104.4 kB / 1.466 GB, free: 278.5 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0001548/0.6108, allocations: 27.14 kB / 1.466 GB, free: 278.4 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 3.276e-06/0.6108, allocations: 4 kB / 1.466 GB, free: 278.4 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 6.19e-05/0.6108, allocations: 15.98 kB / 1.466 GB, free: 278.4 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002748/0.6111, allocations: 1.641 kB / 1.466 GB, free: 278.4 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003012/0.6114, allocations: 159.3 kB / 1.466 GB, free: 278.2 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001233/0.6116, allocations: 0.6848 MB / 1.467 GB, free: 277.5 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 3.393e-05/0.6116, allocations: 5.094 kB / 1.467 GB, free: 277.5 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.052e-05/0.6117, allocations: 7.438 kB / 1.467 GB, free: 277.5 MB / 0.8542 GB Notification: Performance of SimCode: time 1.723e-06/0.6117, allocations: 0 / 1.467 GB, free: 277.5 MB / 0.8542 GB Notification: Performance of Templates: time 0.002805/0.6145, allocations: 443.6 kB / 1.467 GB, free: 277.1 MB / 0.8542 GB