Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_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 7.0.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Utilities.Math.Examples.Splice,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Utilities.Math.Examples.Splice") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.359/2.359, allocations: 251.1 MB / 266.1 MB, free: 11.64 MB / 218.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001518/0.001518, allocations: 179.4 kB / 325.6 MB, free: 2.859 MB / 250.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.507/2.507, allocations: 205.4 MB / 0.5766 GB, free: 20.81 MB / 426.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001155/0.001155, allocations: 98.33 kB / 0.6811 GB, free: 13.64 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0006619/0.0006622, allocations: 12.06 kB / 0.7951 GB, free: 135.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2259/0.2266, allocations: 106.3 MB / 0.8989 GB, free: 65.5 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Splice): time 0.001756/0.2284, allocations: 1.207 MB / 0.9001 GB, free: 64.28 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.001182/0.2296, allocations: 0.6458 MB / 0.9007 GB, free: 63.63 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.104e-05/0.2297, allocations: 0 / 0.9007 GB, free: 63.63 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 1.602e-05/0.2297, allocations: 4 kB / 0.9007 GB, free: 63.62 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 5.815e-05/0.2298, allocations: 4 kB / 0.9007 GB, free: 63.62 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002945/0.2301, allocations: 55.8 kB / 0.9007 GB, free: 63.57 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 6.463e-05/0.2302, allocations: 23.92 kB / 0.9008 GB, free: 63.54 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 9.388e-05/0.2303, allocations: 11.97 kB / 0.9008 GB, free: 63.53 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 7.046e-05/0.2303, allocations: 11.98 kB / 0.9008 GB, free: 63.52 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 6.228e-05/0.2304, allocations: 15.94 kB / 0.9008 GB, free: 63.5 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.212e-05/0.2304, allocations: 4 kB / 0.9008 GB, free: 63.5 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001824/0.2306, allocations: 87.83 kB / 0.9009 GB, free: 63.41 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 1.022e-05/0.2307, allocations: 0 / 0.9009 GB, free: 63.41 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 2.289e-05/0.2307, allocations: 33.7 kB / 0.9009 GB, free: 63.38 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.000127/0.2308, allocations: 51.91 kB / 0.901 GB, free: 63.32 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 2.645e-06/0.2308, allocations: 0 / 0.901 GB, free: 63.32 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.903e-06/0.2308, allocations: 0 / 0.901 GB, free: 63.32 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 4.498e-06/0.2309, allocations: 0 / 0.901 GB, free: 63.32 MB / 0.6042 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.0004/0.2313, allocations: 363.4 kB / 0.9013 GB, free: 62.92 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.745e-05/0.2313, allocations: 12.03 kB / 0.9013 GB, free: 62.91 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.217e-05/0.2314, allocations: 7.938 kB / 0.9013 GB, free: 62.9 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.068e-05/0.2315, allocations: 174.9 kB / 0.9015 GB, free: 62.69 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.45e-05/0.2315, allocations: 3.984 kB / 0.9015 GB, free: 62.69 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.399e-05/0.2315, allocations: 8 kB / 0.9015 GB, free: 62.68 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001746/0.2317, allocations: 53.67 kB / 0.9016 GB, free: 62.62 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.043e-05/0.2317, allocations: 7.984 kB / 0.9016 GB, free: 62.61 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.261e-05/0.2317, allocations: 8 kB / 0.9016 GB, free: 62.61 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.989e-06/0.2317, allocations: 3.938 kB / 0.9016 GB, free: 62.6 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001425/0.2319, allocations: 27.98 kB / 0.9016 GB, free: 62.57 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000341/0.2323, allocations: 280.6 kB / 0.9019 GB, free: 62.25 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001071/0.2324, allocations: 38.56 kB / 0.9019 GB, free: 62.2 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000451/0.2328, allocations: 0.5545 MB / 0.9025 GB, free: 61.52 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.029e-05/0.2329, allocations: 34.56 kB / 0.9025 GB, free: 61.48 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=2): time 2.865e-06/0.2329, allocations: 0 / 0.9025 GB, free: 61.48 MB / 0.6042 GB Notification: Performance of matching and sorting (n=2): time 0.0003407/0.2332, allocations: 77.56 kB / 0.9026 GB, free: 61.39 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.202e-05/0.2333, allocations: 51.41 kB / 0.9026 GB, free: 61.33 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.887e-05/0.2334, allocations: 121.8 kB / 0.9027 GB, free: 61.2 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.02e-05/0.2334, allocations: 25.7 kB / 0.9028 GB, free: 61.17 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 3.752e-05/0.2334, allocations: 96.12 kB / 0.9028 GB, free: 61.07 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 1.526e-05/0.2335, allocations: 3.906 kB / 0.9029 GB, free: 61.07 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.318e-06/0.2335, allocations: 0 / 0.9029 GB, free: 61.07 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 5.85e-05/0.2335, allocations: 315 kB / 0.9032 GB, free: 60.75 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.456e-05/0.2336, allocations: 15.98 kB / 0.9032 GB, free: 60.74 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.03e-05/0.2337, allocations: 12 kB / 0.9032 GB, free: 60.73 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.824e-05/0.2338, allocations: 11.98 kB / 0.9032 GB, free: 60.71 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.774e-06/0.2338, allocations: 0 / 0.9032 GB, free: 60.71 MB / 0.6042 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001733/0.234, allocations: 65.59 kB / 0.9033 GB, free: 60.64 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.491e-05/0.234, allocations: 9.25 kB / 0.9033 GB, free: 60.64 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.569e-06/0.234, allocations: 0 / 0.9033 GB, free: 60.64 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.344e-05/0.234, allocations: 3.953 kB / 0.9033 GB, free: 60.63 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.278e-05/0.2341, allocations: 7.984 kB / 0.9033 GB, free: 60.62 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.73e-06/0.2342, allocations: 0 / 0.9033 GB, free: 60.62 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.37e-05/0.2342, allocations: 4 kB / 0.9033 GB, free: 60.62 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.236e-06/0.2342, allocations: 0 / 0.9033 GB, free: 60.62 MB / 0.6042 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.411e-05/0.2343, allocations: 119.4 kB / 0.9034 GB, free: 60.5 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.033e-05/0.2344, allocations: 4 kB / 0.9034 GB, free: 60.49 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002136/0.2346, allocations: 76.98 kB / 0.9035 GB, free: 60.41 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.527e-06/0.2346, allocations: 3.953 kB / 0.9035 GB, free: 60.41 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.468e-06/0.2346, allocations: 0 / 0.9035 GB, free: 60.41 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.877e-06/0.2346, allocations: 0 / 0.9035 GB, free: 60.41 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001593/0.2348, allocations: 165.6 kB / 0.9036 GB, free: 60.2 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.335e-06/0.2348, allocations: 3.984 kB / 0.9036 GB, free: 60.19 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.643e-05/0.2349, allocations: 8.031 kB / 0.9036 GB, free: 60.18 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.396e-06/0.2349, allocations: 4 kB / 0.9036 GB, free: 60.18 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.686e-06/0.2349, allocations: 4 kB / 0.9036 GB, free: 60.18 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.994e-06/0.2349, allocations: 0 / 0.9036 GB, free: 60.18 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.244e-06/0.2349, allocations: 3.953 kB / 0.9037 GB, free: 60.17 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001866/0.2351, allocations: 151.5 kB / 0.9038 GB, free: 60.01 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 2.791e-05/0.2352, allocations: 85.02 kB / 0.9039 GB, free: 59.91 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.818e-05/0.2352, allocations: 3.938 kB / 0.9039 GB, free: 59.9 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.63e-05/0.2353, allocations: 8 kB / 0.9039 GB, free: 59.89 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.545e-05/0.2353, allocations: 7.922 kB / 0.9039 GB, free: 59.89 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.301e-06/0.2354, allocations: 3.953 kB / 0.9039 GB, free: 59.88 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 4.868e-05/0.2354, allocations: 95.27 kB / 0.904 GB, free: 59.79 MB / 0.6042 GB Notification: Performance of sort global known variables: time 3.5e-07/0.2354, allocations: 0 / 0.904 GB, free: 59.79 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0003085/0.2358, allocations: 8 kB / 0.904 GB, free: 59.78 MB / 0.6042 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.000142/0.2359, allocations: 103.3 kB / 0.9041 GB, free: 59.67 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0001713/0.2361, allocations: 23.98 kB / 0.9041 GB, free: 59.65 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.2361, allocations: 0 / 0.9041 GB, free: 59.65 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 7.254e-05/0.2362, allocations: 19.98 kB / 0.9041 GB, free: 59.63 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001707/0.2364, allocations: 8.125 kB / 0.9041 GB, free: 59.62 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003157/0.2367, allocations: 144.6 kB / 0.9043 GB, free: 59.45 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001314/0.2368, allocations: 0.6926 MB / 0.905 GB, free: 58.73 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 3.395e-05/0.2369, allocations: 0 / 0.905 GB, free: 58.73 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.536e-05/0.2369, allocations: 11.44 kB / 0.905 GB, free: 58.72 MB / 0.6042 GB Notification: Performance of SimCode: time 6.21e-07/0.2369, allocations: 4 kB / 0.905 GB, free: 58.72 MB / 0.6042 GB Notification: Performance of Templates: time 0.002879/0.2398, allocations: 436.9 kB / 0.9054 GB, free: 58.29 MB / 0.6042 GB