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.891/4.891, allocations: 0.5623 GB / 0.5776 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.002606/0.002605, allocations: 355.4 kB / 0.6447 GB, free: 185.7 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.354/4.354, allocations: 410.7 MB / 1.113 GB, free: 5.91 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.001953/0.001953, allocations: 186.7 kB / 1.226 GB, free: 6.172 MB / 0.7136 GB Notification: Performance of FrontEnd - loaded program: time 0.0004748/0.0004749, allocations: 12 kB / 1.349 GB, free: 8.305 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.729/0.7295, 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.001758/0.7313, allocations: 1.2 MB / 1.463 GB, free: 283.1 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.001192/0.7326, allocations: 0.6446 MB / 1.463 GB, free: 282.5 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.505e-05/0.7326, allocations: 5 kB / 1.463 GB, free: 282.5 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 1.856e-05/0.7327, allocations: 3.984 kB / 1.463 GB, free: 282.5 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 6.253e-05/0.7328, allocations: 4.562 kB / 1.463 GB, free: 282.5 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003003/0.7331, allocations: 49.11 kB / 1.463 GB, free: 282.4 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 6.751e-05/0.7331, allocations: 31.86 kB / 1.463 GB, free: 282.4 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 9.489e-05/0.7332, allocations: 21.06 kB / 1.463 GB, free: 282.4 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 7.133e-05/0.7333, allocations: 8.75 kB / 1.463 GB, free: 282.4 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 6.272e-05/0.7334, allocations: 15.92 kB / 1.463 GB, free: 282.3 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 1.275e-05/0.7334, allocations: 4.5 kB / 1.463 GB, free: 282.3 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000193/0.7336, allocations: 85.39 kB / 1.463 GB, free: 282.3 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 4.957e-05/0.7337, allocations: 11.94 kB / 1.463 GB, free: 282.2 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 2.55e-05/0.7337, allocations: 25.7 kB / 1.463 GB, free: 282.2 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.0001395/0.7339, allocations: 62.02 kB / 1.463 GB, free: 282.2 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 5.049e-06/0.7339, allocations: 0.6562 kB / 1.463 GB, free: 282.2 MB / 0.8542 GB Notification: Performance of FrontEnd: time 1.964e-06/0.7339, allocations: 0 / 1.463 GB, free: 282.2 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 4.449e-06/0.7339, allocations: 0.5 kB / 1.463 GB, free: 282.2 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.0004087/0.7343, allocations: 350.7 kB / 1.464 GB, free: 281.8 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 4.865e-05/0.7344, allocations: 11.62 kB / 1.464 GB, free: 281.8 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.859e-05/0.7345, allocations: 7.906 kB / 1.464 GB, free: 281.8 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.413e-05/0.7346, allocations: 182.8 kB / 1.464 GB, free: 281.5 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.656e-05/0.7346, allocations: 4 kB / 1.464 GB, free: 281.5 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.215e-05/0.7346, allocations: 0 / 1.464 GB, free: 281.5 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001833/0.7348, allocations: 54.28 kB / 1.464 GB, free: 281.5 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.068e-05/0.7348, allocations: 1.5 kB / 1.464 GB, free: 281.5 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.315e-05/0.7348, allocations: 3.984 kB / 1.464 GB, free: 281.5 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.761e-06/0.7349, allocations: 0 / 1.464 GB, free: 281.5 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001454/0.735, allocations: 37 kB / 1.464 GB, free: 281.4 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003598/0.7354, allocations: 281.6 kB / 1.464 GB, free: 281.1 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001059/0.7355, allocations: 36.09 kB / 1.464 GB, free: 281.1 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.036e-05/0.7356, allocations: 15.48 kB / 1.464 GB, free: 281.1 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004715/0.7361, allocations: 0.5544 MB / 1.465 GB, free: 280.4 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.378e-05/0.7361, allocations: 33.78 kB / 1.465 GB, free: 280.3 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=2): time 1.743e-06/0.7361, allocations: 0 / 1.465 GB, free: 280.3 MB / 0.8542 GB Notification: Performance of matching and sorting (n=2): time 0.0003369/0.7365, allocations: 78.09 kB / 1.465 GB, free: 280.2 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.006e-05/0.7365, allocations: 56 kB / 1.465 GB, free: 280.2 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.271e-05/0.7366, allocations: 126.2 kB / 1.465 GB, free: 280.1 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 1.08e-05/0.7366, allocations: 29.7 kB / 1.465 GB, free: 280 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 3.75e-05/0.7367, allocations: 84.14 kB / 1.465 GB, free: 279.9 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 1.728e-05/0.7367, allocations: 3.906 kB / 1.465 GB, free: 279.9 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.809e-06/0.7367, allocations: 2.125 kB / 1.465 GB, free: 279.9 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 6.138e-05/0.7368, allocations: 322.8 kB / 1.466 GB, free: 279.6 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.631e-05/0.7369, allocations: 8 kB / 1.466 GB, free: 279.6 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.158e-05/0.7369, allocations: 16.64 kB / 1.466 GB, free: 279.6 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.899e-05/0.737, allocations: 9.781 kB / 1.466 GB, free: 279.6 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.933e-06/0.737, allocations: 0 / 1.466 GB, free: 279.6 MB / 0.8542 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001853/0.7372, allocations: 63.08 kB / 1.466 GB, free: 279.5 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.491e-05/0.7373, allocations: 4 kB / 1.466 GB, free: 279.5 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.109e-06/0.7373, allocations: 1 kB / 1.466 GB, free: 279.5 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.519e-05/0.7373, allocations: 4 kB / 1.466 GB, free: 279.5 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.659e-05/0.7374, allocations: 8.859 kB / 1.466 GB, free: 279.5 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.162e-06/0.7374, allocations: 0 / 1.466 GB, free: 279.5 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.912e-05/0.7375, allocations: 8.812 kB / 1.466 GB, free: 279.5 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.799e-06/0.7375, allocations: 7.922 kB / 1.466 GB, free: 279.5 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.738e-05/0.7376, allocations: 115.9 kB / 1.466 GB, free: 279.4 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.356e-05/0.7376, allocations: 3.906 kB / 1.466 GB, free: 279.4 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002477/0.7379, allocations: 70.92 kB / 1.466 GB, free: 279.3 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.388e-06/0.7379, allocations: 0 / 1.466 GB, free: 279.3 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.214e-06/0.7379, allocations: 4 kB / 1.466 GB, free: 279.3 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 3.22e-05/0.738, allocations: 84.97 kB / 1.466 GB, free: 279.2 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.852e-05/0.738, allocations: 2.344 kB / 1.466 GB, free: 279.2 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.982e-05/0.7381, allocations: 4 kB / 1.466 GB, free: 279.2 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.734e-05/0.7381, allocations: 7.922 kB / 1.466 GB, free: 279.2 MB / 0.8542 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0002105/0.7384, allocations: 135.7 kB / 1.466 GB, free: 279 MB / 0.8542 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.0002204/0.7386, allocations: 236.9 kB / 1.466 GB, free: 278.8 MB / 0.8542 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 7.903e-05/0.7387, allocations: 16.98 kB / 1.466 GB, free: 278.8 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 5.038e-05/0.7388, allocations: 91.27 kB / 1.467 GB, free: 278.7 MB / 0.8542 GB Notification: Performance of Backend: time 7.71e-07/0.7388, allocations: 2.375 kB / 1.467 GB, free: 278.7 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0005261/0.7393, allocations: 114.5 kB / 1.467 GB, free: 278.6 MB / 0.8542 GB Notification: Performance of SimCode: time 0.0003839/0.7397, allocations: 0.5887 MB / 1.467 GB, free: 277.9 MB / 0.8542 GB Notification: Performance of Templates: time 0.003644/0.7434, allocations: 0.7265 MB / 1.468 GB, free: 277.2 MB / 0.8542 GB