Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Utilities.Math.Functions.Examples.SpliceFunction.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.Functions.Examples.SpliceFunction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Utilities.Math.Functions.Examples.SpliceFunction") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.282/2.282, allocations: 251.1 MB / 266.1 MB, free: 11.62 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.001527/0.001527, allocations: 186.1 kB / 325.6 MB, free: 2.828 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.5/2.5, allocations: 205.4 MB / 0.5766 GB, free: 20.76 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.00118/0.001179, allocations: 100.3 kB / 0.6811 GB, free: 13.59 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0006893/0.0006895, allocations: 14.34 kB / 0.7951 GB, free: 135.7 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2325/0.2333, allocations: 106.2 MB / 0.8989 GB, free: 65.46 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.SpliceFunction): time 0.0007475/0.2341, allocations: 325.1 kB / 0.8992 GB, free: 65.14 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.001345/0.2354, allocations: 0.9433 MB / 0.9001 GB, free: 64.19 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.466e-05/0.2355, allocations: 0 / 0.9001 GB, free: 64.19 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 1.206e-05/0.2355, allocations: 0 / 0.9001 GB, free: 64.19 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 6.522e-06/0.2355, allocations: 3.938 kB / 0.9001 GB, free: 64.19 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003045/0.2359, allocations: 43.89 kB / 0.9002 GB, free: 64.14 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 3.631e-05/0.2359, allocations: 0 / 0.9002 GB, free: 64.14 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 5.357e-05/0.236, allocations: 3.984 kB / 0.9002 GB, free: 64.14 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 1.704e-05/0.236, allocations: 7.922 kB / 0.9002 GB, free: 64.13 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 4.594e-05/0.236, allocations: 4 kB / 0.9002 GB, free: 64.13 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 8.355e-06/0.2361, allocations: 4 kB / 0.9002 GB, free: 64.12 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002118/0.2363, allocations: 79.91 kB / 0.9003 GB, free: 64.05 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 7.434e-06/0.2363, allocations: 0 / 0.9003 GB, free: 64.05 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 2.309e-05/0.2363, allocations: 25.7 kB / 0.9003 GB, free: 64.02 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0001021/0.2365, allocations: 35.95 kB / 0.9003 GB, free: 63.98 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 2.555e-06/0.2365, allocations: 0 / 0.9003 GB, free: 63.98 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.834e-06/0.2365, allocations: 3.938 kB / 0.9003 GB, free: 63.98 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 4.278e-06/0.2365, allocations: 0 / 0.9003 GB, free: 63.98 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0002372/0.2367, allocations: 319.4 kB / 0.9006 GB, free: 63.62 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.733e-05/0.2368, allocations: 8.031 kB / 0.9006 GB, free: 63.61 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.661e-05/0.2368, allocations: 4 kB / 0.9006 GB, free: 63.61 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.446e-05/0.2369, allocations: 167 kB / 0.9008 GB, free: 63.4 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.438e-05/0.2369, allocations: 8 kB / 0.9008 GB, free: 63.39 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.249e-05/0.2369, allocations: 0 / 0.9008 GB, free: 63.39 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.051e-05/0.237, allocations: 33.62 kB / 0.9008 GB, free: 63.36 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.455e-06/0.2371, allocations: 0 / 0.9008 GB, free: 63.36 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.616e-06/0.2371, allocations: 0 / 0.9008 GB, free: 63.36 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.622e-06/0.2371, allocations: 7.984 kB / 0.9008 GB, free: 63.35 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.234e-05/0.2371, allocations: 0 / 0.9008 GB, free: 63.35 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001185/0.2372, allocations: 153.6 kB / 0.901 GB, free: 63.15 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 3.813e-05/0.2373, allocations: 22.61 kB / 0.901 GB, free: 63.12 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005444/0.2379, allocations: 0.5584 MB / 0.9016 GB, free: 62.43 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.963e-05/0.2379, allocations: 30.56 kB / 0.9016 GB, free: 62.39 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=1): time 1.603e-06/0.2379, allocations: 0 / 0.9016 GB, free: 62.39 MB / 0.6042 GB Notification: Performance of matching and sorting (n=1): time 0.0001325/0.238, allocations: 45.55 kB / 0.9016 GB, free: 62.34 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.27e-05/0.2381, allocations: 51.41 kB / 0.9017 GB, free: 62.28 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.961e-05/0.2381, allocations: 93.86 kB / 0.9018 GB, free: 62.18 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 8.827e-06/0.2381, allocations: 25.7 kB / 0.9018 GB, free: 62.14 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 1.408e-05/0.2381, allocations: 80.14 kB / 0.9019 GB, free: 62.06 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 2.954e-05/0.2382, allocations: 3.984 kB / 0.9019 GB, free: 62.06 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.065e-06/0.2382, allocations: 0 / 0.9019 GB, free: 62.06 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 5.328e-05/0.2383, allocations: 310.8 kB / 0.9022 GB, free: 61.75 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.039e-05/0.2383, allocations: 4.125 kB / 0.9022 GB, free: 61.74 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.936e-06/0.2383, allocations: 4 kB / 0.9022 GB, free: 61.74 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.918e-05/0.2383, allocations: 3.953 kB / 0.9022 GB, free: 61.73 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/0.2383, allocations: 0 / 0.9022 GB, free: 61.73 MB / 0.6042 GB Notification: Performance of matching and sorting (n=1) (initialization): time 5.846e-05/0.2384, allocations: 37.64 kB / 0.9022 GB, free: 61.69 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.614e-05/0.2384, allocations: 10.19 kB / 0.9022 GB, free: 61.68 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.91e-06/0.2384, allocations: 0 / 0.9022 GB, free: 61.68 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.589e-05/0.2385, allocations: 0 / 0.9022 GB, free: 61.68 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.281e-05/0.2385, allocations: 3.984 kB / 0.9022 GB, free: 61.68 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.01e-06/0.2385, allocations: 8.094 kB / 0.9022 GB, free: 61.67 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.501e-05/0.2386, allocations: 0 / 0.9022 GB, free: 61.67 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.903e-06/0.2386, allocations: 0 / 0.9022 GB, free: 61.67 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 (1): * Single equations (assignments): 1 * 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 5.359e-05/0.2386, allocations: 109.8 kB / 0.9023 GB, free: 61.55 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.844e-06/0.2387, allocations: 0 / 0.9023 GB, free: 61.55 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001038/0.2388, allocations: 48.75 kB / 0.9024 GB, free: 61.5 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.036e-06/0.2388, allocations: 0 / 0.9024 GB, free: 61.5 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.338e-06/0.2388, allocations: 7.969 kB / 0.9024 GB, free: 61.49 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.785e-06/0.2388, allocations: 0 / 0.9024 GB, free: 61.49 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.936e-05/0.2389, allocations: 145.7 kB / 0.9025 GB, free: 61.3 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.475e-06/0.2389, allocations: 3.953 kB / 0.9025 GB, free: 61.3 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.247e-05/0.2389, allocations: 4 kB / 0.9025 GB, free: 61.29 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.445e-06/0.239, allocations: 0 / 0.9025 GB, free: 61.29 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.914e-06/0.239, allocations: 0 / 0.9025 GB, free: 61.29 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.573e-06/0.239, allocations: 3.938 kB / 0.9025 GB, free: 61.29 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.505e-06/0.239, allocations: 3.984 kB / 0.9026 GB, free: 61.29 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.533e-05/0.2391, allocations: 61.14 kB / 0.9026 GB, free: 61.21 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 1.979e-05/0.2391, allocations: 81.06 kB / 0.9027 GB, free: 61.11 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.179e-05/0.2391, allocations: 0 / 0.9027 GB, free: 61.11 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.398e-05/0.2391, allocations: 0 / 0.9027 GB, free: 61.11 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.84e-05/0.2392, allocations: 4 kB / 0.9027 GB, free: 61.11 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.182e-06/0.2392, allocations: 3.984 kB / 0.9027 GB, free: 61.1 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 1.515e-05/0.2392, allocations: 79.22 kB / 0.9028 GB, free: 61.02 MB / 0.6042 GB Notification: Performance of sort global known variables: time 3.7e-07/0.2392, allocations: 0 / 0.9028 GB, free: 61.02 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0002527/0.2395, allocations: 4.031 kB / 0.9028 GB, free: 61.02 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 (1): * Single equations (assignments): 1 * 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.0001596/0.2396, allocations: 111.2 kB / 0.9029 GB, free: 60.9 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 6.782e-05/0.2397, allocations: 0 / 0.9029 GB, free: 60.9 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/0.2397, allocations: 4 kB / 0.9029 GB, free: 60.89 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 1.067e-05/0.2398, allocations: 0 / 0.9029 GB, free: 60.89 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001037/0.2399, allocations: 0 / 0.9029 GB, free: 60.89 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001615/0.24, allocations: 78.88 kB / 0.903 GB, free: 60.79 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001063/0.2402, allocations: 0.6731 MB / 0.9036 GB, free: 60.09 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 3.112e-05/0.2402, allocations: 4 kB / 0.9036 GB, free: 60.09 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.545e-05/0.2402, allocations: 11.42 kB / 0.9036 GB, free: 60.08 MB / 0.6042 GB Notification: Performance of SimCode: time 6.61e-07/0.2402, allocations: 0 / 0.9036 GB, free: 60.08 MB / 0.6042 GB Notification: Performance of Templates: time 0.003311/0.2436, allocations: 284.7 kB / 0.9039 GB, free: 59.8 MB / 0.6042 GB