Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Utilities.Math.Functions.Examples.SpliceFunction.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 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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.Functions.Examples.SpliceFunction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.Math.Functions.Examples.SpliceFunction") translateModel(Buildings.Utilities.Math.Functions.Examples.SpliceFunction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.Math.Functions.Examples.SpliceFunction") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001453/0.001453, allocations: 105 kB / 16.35 MB, free: 6.348 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.001742/0.001742, allocations: 194.7 kB / 17.29 MB, free: 5.93 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.351/1.351, allocations: 205.1 MB / 223.2 MB, free: 12.26 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.744/1.744, allocations: 292.3 MB / 0.5496 GB, free: 17.69 MB / 462.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: Performance of FrontEnd - loaded program: time 0.00151/0.001511, allocations: 74.25 kB / 0.6729 GB, free: 5.863 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2194/0.221, allocations: 114.6 MB / 0.7848 GB, free: 3.191 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.SpliceFunction): time 0.001991/0.223, allocations: 0.5815 MB / 0.7853 GB, free: 2.602 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.001687/0.2247, allocations: 1.276 MB / 0.7866 GB, free: 1.309 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.873e-05/0.2247, allocations: 0 / 0.7866 GB, free: 1.309 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 2.151e-05/0.2248, allocations: 3.938 kB / 0.7866 GB, free: 1.305 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 4.889e-06/0.2248, allocations: 0 / 0.7866 GB, free: 1.305 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004208/0.2252, allocations: 63.81 kB / 0.7867 GB, free: 1.242 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 5.3e-05/0.2253, allocations: 0 / 0.7867 GB, free: 1.242 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 4.779e-05/0.2254, allocations: 4 kB / 0.7867 GB, free: 1.238 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 1.558e-05/0.2254, allocations: 3.938 kB / 0.7867 GB, free: 1.234 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 4.57e-05/0.2254, allocations: 3.984 kB / 0.7867 GB, free: 1.23 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 9.388e-06/0.2254, allocations: 0 / 0.7867 GB, free: 1.23 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002461/0.2257, allocations: 99.84 kB / 0.7868 GB, free: 1.133 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 1.176e-05/0.2257, allocations: 0 / 0.7868 GB, free: 1.133 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 2.069e-05/0.2257, allocations: 0 / 0.7868 GB, free: 1.133 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0001542/0.2259, allocations: 47.94 kB / 0.7868 GB, free: 1.086 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 6.041e-06/0.2259, allocations: 8 kB / 0.7868 GB, free: 1.078 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.493e-06/0.2259, allocations: 0 / 0.7868 GB, free: 1.078 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 7.945e-06/0.2259, allocations: 3.984 kB / 0.7868 GB, free: 1.074 MB / 0.6544 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.0003127/0.2263, allocations: 319.5 kB / 0.7871 GB, free: 0.7148 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.494e-05/0.2263, allocations: 12.03 kB / 0.7871 GB, free: 0.7031 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.276e-05/0.2263, allocations: 0.9375 kB / 0.7871 GB, free: 0.7031 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.561e-05/0.2264, allocations: 164.4 kB / 0.7873 GB, free: 0.5039 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.079e-05/0.2265, allocations: 384 / 0.7873 GB, free: 0.5039 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.735e-06/0.2265, allocations: 384 / 0.7873 GB, free: 0.5039 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.924e-05/0.2266, allocations: 38.02 kB / 0.7873 GB, free: 472 kB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.085e-06/0.2266, allocations: 0 / 0.7873 GB, free: 472 kB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.001e-05/0.2266, allocations: 0 / 0.7873 GB, free: 472 kB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.058e-06/0.2266, allocations: 0 / 0.7873 GB, free: 472 kB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.247e-05/0.2266, allocations: 3.938 kB / 0.7873 GB, free: 468 kB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001421/0.2268, allocations: 153.7 kB / 0.7875 GB, free: 264 kB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 4.218e-05/0.2268, allocations: 14.58 kB / 0.7875 GB, free: 240 kB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.009e-05/0.2269, allocations: 8.859 kB / 0.7875 GB, free: 228 kB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.4186/0.6455, allocations: 0.5594 MB / 0.7881 GB, free: 49 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.936e-05/0.6456, allocations: 33.94 kB / 0.7881 GB, free: 48.96 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=1): time 2.514e-06/0.6456, allocations: 0 / 0.7881 GB, free: 48.96 MB / 0.6544 GB Notification: Performance of matching and sorting (n=1): time 0.0001891/0.6458, allocations: 35.41 kB / 0.7881 GB, free: 48.93 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.286e-05/0.6458, allocations: 54.09 kB / 0.7882 GB, free: 48.87 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.2e-05/0.6458, allocations: 89.86 kB / 0.7883 GB, free: 48.77 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 8.045e-06/0.6458, allocations: 31.42 kB / 0.7883 GB, free: 48.74 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 1.278e-05/0.6459, allocations: 81.23 kB / 0.7884 GB, free: 48.66 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 3.576e-05/0.6459, allocations: 0 / 0.7884 GB, free: 48.66 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.119e-05/0.6459, allocations: 14.8 kB / 0.7884 GB, free: 48.64 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 5.328e-05/0.646, allocations: 314.2 kB / 0.7887 GB, free: 48.33 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.396e-05/0.646, allocations: 2.906 kB / 0.7887 GB, free: 48.33 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.877e-06/0.646, allocations: 2.219 kB / 0.7887 GB, free: 48.33 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.735e-05/0.6461, allocations: 10.55 kB / 0.7887 GB, free: 48.32 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.6461, allocations: 0 / 0.7887 GB, free: 48.32 MB / 0.6544 GB Notification: Performance of matching and sorting (n=1) (initialization): time 4.699e-05/0.6461, allocations: 43.44 kB / 0.7887 GB, free: 48.29 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.622e-05/0.6462, allocations: 3 kB / 0.7887 GB, free: 48.29 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.053e-06/0.6462, allocations: 0.5 kB / 0.7887 GB, free: 48.29 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.539e-05/0.6462, allocations: 4.688 kB / 0.7887 GB, free: 48.29 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.506e-05/0.6463, allocations: 3.25 kB / 0.7887 GB, free: 48.29 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.041e-06/0.6463, allocations: 3.188 kB / 0.7887 GB, free: 48.29 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.526e-05/0.6463, allocations: 2.812 kB / 0.7888 GB, free: 48.29 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.142e-06/0.6463, allocations: 0.5938 kB / 0.7888 GB, free: 48.29 MB / 0.6544 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 4.947e-05/0.6464, allocations: 111.9 kB / 0.7889 GB, free: 48.18 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.596e-06/0.6464, allocations: 12.48 kB / 0.7889 GB, free: 48.18 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.558e-05/0.6465, allocations: 38.44 kB / 0.7889 GB, free: 48.14 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.226e-06/0.6465, allocations: 0 / 0.7889 GB, free: 48.14 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.2e-06/0.6465, allocations: 0.5156 kB / 0.7889 GB, free: 48.14 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.685e-06/0.6465, allocations: 1.312 kB / 0.7889 GB, free: 48.14 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.834e-05/0.6466, allocations: 155 kB / 0.7891 GB, free: 47.95 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.62e-07/0.6466, allocations: 0 / 0.7891 GB, free: 47.95 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.304e-05/0.6466, allocations: 5.344 kB / 0.7891 GB, free: 47.95 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.924e-06/0.6466, allocations: 2.969 kB / 0.7891 GB, free: 47.95 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.39e-06/0.6466, allocations: 0 / 0.7891 GB, free: 47.95 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.92e-07/0.6466, allocations: 0 / 0.7891 GB, free: 47.95 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.623e-06/0.6466, allocations: 1.125 kB / 0.7891 GB, free: 47.95 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.349e-05/0.6467, allocations: 66.59 kB / 0.7891 GB, free: 47.89 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 1.529e-05/0.6467, allocations: 80.11 kB / 0.7892 GB, free: 47.79 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.287e-05/0.6467, allocations: 4 kB / 0.7892 GB, free: 47.79 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.014e-05/0.6467, allocations: 0 / 0.7892 GB, free: 47.79 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.315e-05/0.6468, allocations: 3.172 kB / 0.7892 GB, free: 47.79 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.235e-06/0.6468, allocations: 3.406 kB / 0.7892 GB, free: 47.79 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 1.218e-05/0.6468, allocations: 75.81 kB / 0.7893 GB, free: 47.72 MB / 0.6544 GB Notification: Performance of sort global known variables: time 9e-08/0.6468, allocations: 2.344 kB / 0.7893 GB, free: 47.72 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0002273/0.647, allocations: 5.562 kB / 0.7893 GB, free: 47.72 MB / 0.6544 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 (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.0001375/0.6472, allocations: 112.2 kB / 0.7894 GB, free: 47.63 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 6.801e-05/0.6472, allocations: 3.812 kB / 0.7894 GB, free: 47.63 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 1.673e-06/0.6472, allocations: 1.188 kB / 0.7894 GB, free: 47.63 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 7.003e-06/0.6473, allocations: 5.312 kB / 0.7894 GB, free: 47.63 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001501/0.6474, allocations: 14.48 kB / 0.7894 GB, free: 47.63 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001489/0.6476, allocations: 67.05 kB / 0.7895 GB, free: 47.54 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.804e-05/0.6477, allocations: 0.6702 MB / 0.7901 GB, free: 46.85 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 1.914e-05/0.6477, allocations: 5.562 kB / 0.7902 GB, free: 46.85 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.197e-05/0.6477, allocations: 7.438 kB / 0.7902 GB, free: 46.84 MB / 0.6544 GB Notification: Performance of SimCode: time 2.3e-07/0.6477, allocations: 1.125 kB / 0.7902 GB, free: 46.84 MB / 0.6544 GB Notification: Performance of Templates: time 0.002077/0.6498, allocations: 303.2 kB / 0.7904 GB, free: 46.84 MB / 0.6544 GB make -j1 -f Buildings_8_Buildings.Utilities.Math.Functions.Examples.SpliceFunction.makefile (rm -f Buildings_8_Buildings.Utilities.Math.Functions.Examples.SpliceFunction.pipe ; mkfifo Buildings_8_Buildings.Utilities.Math.Functions.Examples.SpliceFunction.pipe ; head -c 1048576 < Buildings_8_Buildings.Utilities.Math.Functions.Examples.SpliceFunction.pipe >> ../files/Buildings_8_Buildings.Utilities.Math.Functions.Examples.SpliceFunction.sim & ./Buildings_8_Buildings.Utilities.Math.Functions.Examples.SpliceFunction -abortSlowSimulation -alarm=480 -s gbode -lv LOG_STATS > Buildings_8_Buildings.Utilities.Math.Functions.Examples.SpliceFunction.pipe 2>&1)