Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Utilities.Math.Functions.Examples.SpliceFunction.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.1 (/home/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") 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(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 4.107/4.107, allocations: 251.1 MB / 266.7 MB, free: 11.64 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002268/0.002268, allocations: 175.5 kB / 326.2 MB, free: 2.883 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 3.908/3.908, allocations: 205.4 MB / 0.5772 GB, free: 20.8 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001425/0.001425, allocations: 93.2 kB / 0.6817 GB, free: 13.64 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0008146/0.0008146, allocations: 16.8 kB / 0.7957 GB, free: 135.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3697/0.3706, allocations: 106.3 MB / 0.8995 GB, free: 65.55 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.3424/0.713, allocations: 131.7 MB / 1.028 GB, free: 13.69 MB / 0.6824 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004888/0.7136, allocations: 83.95 kB / 1.028 GB, free: 13.61 MB / 0.6824 GB Notification: Performance of FrontEnd - DAE generated: time 0.01132/0.7249, allocations: 1.223 MB / 1.029 GB, free: 12.38 MB / 0.6824 GB Notification: Performance of FrontEnd: time 3.106e-06/0.725, allocations: 0 / 1.029 GB, free: 12.38 MB / 0.6824 GB Notification: Performance of Transformations before backend: time 7.083e-06/0.725, allocations: 0 / 1.029 GB, free: 12.38 MB / 0.6824 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.0004769/0.7255, allocations: 335.5 kB / 1.03 GB, free: 12 MB / 0.6824 GB Notification: Performance of prepare preOptimizeDAE: time 5.706e-05/0.7256, allocations: 8.031 kB / 1.03 GB, free: 11.99 MB / 0.6824 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.142e-05/0.7257, allocations: 4.938 kB / 1.03 GB, free: 11.99 MB / 0.6824 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001949/0.7259, allocations: 164.4 kB / 1.03 GB, free: 11.79 MB / 0.6824 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.852e-05/0.7259, allocations: 384 / 1.03 GB, free: 11.79 MB / 0.6824 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.699e-05/0.726, allocations: 4.375 kB / 1.03 GB, free: 11.79 MB / 0.6824 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000198/0.7262, allocations: 30.2 kB / 1.03 GB, free: 11.75 MB / 0.6824 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003743/0.7266, allocations: 4.188 kB / 1.03 GB, free: 11.75 MB / 0.6824 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.85e-05/0.7266, allocations: 3.938 kB / 1.03 GB, free: 11.74 MB / 0.6824 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.965e-06/0.7267, allocations: 0 / 1.03 GB, free: 11.74 MB / 0.6824 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.251e-05/0.7267, allocations: 3.938 kB / 1.03 GB, free: 11.74 MB / 0.6824 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002499/0.727, allocations: 149.7 kB / 1.03 GB, free: 11.54 MB / 0.6824 GB Notification: Performance of preOpt comSubExp (simulation): time 6.942e-05/0.7271, allocations: 22.61 kB / 1.03 GB, free: 11.51 MB / 0.6824 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.523e-05/0.7271, allocations: 4.859 kB / 1.03 GB, free: 11.5 MB / 0.6824 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001019/0.7282, allocations: 0.5584 MB / 1.031 GB, free: 10.82 MB / 0.6824 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.026e-05/0.7283, allocations: 30.56 kB / 1.031 GB, free: 10.78 MB / 0.6824 GB Notification: Performance of pre-optimization done (n=1): time 3.286e-06/0.7283, allocations: 0 / 1.031 GB, free: 10.78 MB / 0.6824 GB Notification: Performance of matching and sorting (n=1): time 0.0002244/0.7285, allocations: 45.56 kB / 1.031 GB, free: 10.73 MB / 0.6824 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.852e-05/0.7286, allocations: 55.53 kB / 1.031 GB, free: 10.66 MB / 0.6824 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.821e-05/0.7287, allocations: 89.86 kB / 1.031 GB, free: 10.56 MB / 0.6824 GB Notification: Performance of collectPreVariables (initialization): time 2.507e-05/0.7287, allocations: 25.7 kB / 1.031 GB, free: 10.53 MB / 0.6824 GB Notification: Performance of collectInitialEqns (initialization): time 5.396e-05/0.7288, allocations: 80.14 kB / 1.031 GB, free: 10.45 MB / 0.6824 GB Notification: Performance of collectInitialBindings (initialization): time 4.163e-05/0.7289, allocations: 11.84 kB / 1.031 GB, free: 10.44 MB / 0.6824 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.168e-06/0.7289, allocations: 0 / 1.031 GB, free: 10.44 MB / 0.6824 GB Notification: Performance of setup shared object (initialization): time 0.0001886/0.7291, allocations: 314.8 kB / 1.031 GB, free: 10.12 MB / 0.6824 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.021e-05/0.7291, allocations: 0 / 1.031 GB, free: 10.12 MB / 0.6824 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.065e-05/0.7292, allocations: 4 kB / 1.031 GB, free: 10.12 MB / 0.6824 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.783e-05/0.7292, allocations: 4 kB / 1.031 GB, free: 10.11 MB / 0.6824 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.336e-06/0.7293, allocations: 0 / 1.031 GB, free: 10.11 MB / 0.6824 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001265/0.7294, allocations: 33.69 kB / 1.031 GB, free: 10.07 MB / 0.6824 GB Notification: Performance of prepare postOptimizeDAE: time 2.848e-05/0.7295, allocations: 7.938 kB / 1.031 GB, free: 10.07 MB / 0.6824 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.644e-06/0.7295, allocations: 0 / 1.031 GB, free: 10.07 MB / 0.6824 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.174e-05/0.7295, allocations: 3.938 kB / 1.031 GB, free: 10.06 MB / 0.6824 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.56e-05/0.7296, allocations: 4 kB / 1.031 GB, free: 10.06 MB / 0.6824 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.546e-05/0.7297, allocations: 4 kB / 1.031 GB, free: 10.05 MB / 0.6824 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.896e-05/0.7297, allocations: 96 / 1.031 GB, free: 10.05 MB / 0.6824 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.052e-05/0.7297, allocations: 4 kB / 1.031 GB, free: 10.05 MB / 0.6824 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 0.0001502/0.7299, allocations: 113.8 kB / 1.031 GB, free: 9.93 MB / 0.6824 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.55e-05/0.73, allocations: 0 / 1.031 GB, free: 9.93 MB / 0.6824 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001957/0.7302, allocations: 40.75 kB / 1.031 GB, free: 9.883 MB / 0.6824 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.179e-06/0.7302, allocations: 0 / 1.031 GB, free: 9.883 MB / 0.6824 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.582e-06/0.7302, allocations: 0 / 1.031 GB, free: 9.883 MB / 0.6824 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.32e-06/0.7302, allocations: 0 / 1.031 GB, free: 9.883 MB / 0.6824 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001794/0.7305, allocations: 149.7 kB / 1.032 GB, free: 9.688 MB / 0.6824 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.447e-06/0.7305, allocations: 0 / 1.032 GB, free: 9.688 MB / 0.6824 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.183e-05/0.7305, allocations: 3.984 kB / 1.032 GB, free: 9.684 MB / 0.6824 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.27e-06/0.7306, allocations: 3.938 kB / 1.032 GB, free: 9.68 MB / 0.6824 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.255e-05/0.7306, allocations: 7.938 kB / 1.032 GB, free: 9.672 MB / 0.6824 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.376e-06/0.7306, allocations: 3.938 kB / 1.032 GB, free: 9.668 MB / 0.6824 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.925e-06/0.7306, allocations: 0 / 1.032 GB, free: 9.668 MB / 0.6824 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001412/0.7308, allocations: 57.14 kB / 1.032 GB, free: 9.594 MB / 0.6824 GB Notification: Performance of postOpt removeConstants (simulation): time 6.665e-05/0.7309, allocations: 81.11 kB / 1.032 GB, free: 9.496 MB / 0.6824 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.613e-05/0.7309, allocations: 7.922 kB / 1.032 GB, free: 9.488 MB / 0.6824 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.218e-05/0.731, allocations: 0 / 1.032 GB, free: 9.488 MB / 0.6824 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.352e-05/0.731, allocations: 0 / 1.032 GB, free: 9.488 MB / 0.6824 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.314e-06/0.731, allocations: 0 / 1.032 GB, free: 9.488 MB / 0.6824 GB Notification: Performance of sorting global known variables: time 5.2e-05/0.7311, allocations: 76.75 kB / 1.032 GB, free: 9.414 MB / 0.6824 GB Notification: Performance of sort global known variables: time 4.358e-06/0.7311, allocations: 0 / 1.032 GB, free: 9.414 MB / 0.6824 GB Notification: Performance of remove unused functions: time 0.0004451/0.7316, allocations: 23.88 kB / 1.032 GB, free: 9.391 MB / 0.6824 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.0002989/0.7319, allocations: 103.3 kB / 1.032 GB, free: 9.277 MB / 0.6824 GB Notification: Performance of simCode: created initialization part: time 0.0001123/0.732, allocations: 11.92 kB / 1.032 GB, free: 9.266 MB / 0.6824 GB Notification: Performance of simCode: created event and clocks part: time 4.429e-06/0.7321, allocations: 0 / 1.032 GB, free: 9.266 MB / 0.6824 GB Notification: Performance of simCode: created simulation system equations: time 2.67e-05/0.7321, allocations: 4 kB / 1.032 GB, free: 9.262 MB / 0.6824 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000256/0.7324, allocations: 0 / 1.032 GB, free: 9.262 MB / 0.6824 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002905/0.7327, allocations: 74.77 kB / 1.032 GB, free: 9.16 MB / 0.6824 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004011/0.7331, allocations: 0.677 MB / 1.033 GB, free: 8.457 MB / 0.6824 GB Notification: Performance of simCode: alias equations: time 5.311e-05/0.7332, allocations: 4.125 kB / 1.033 GB, free: 8.453 MB / 0.6824 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.77e-05/0.7333, allocations: 7.438 kB / 1.033 GB, free: 8.445 MB / 0.6824 GB Notification: Performance of SimCode: time 1.312e-06/0.7333, allocations: 0 / 1.033 GB, free: 8.445 MB / 0.6824 GB Notification: Performance of Templates: time 0.004165/0.7375, allocations: 284.1 kB / 1.033 GB, free: 8.168 MB / 0.6824 GB make -j1 -f Buildings_7.0.0_Buildings.Utilities.Math.Functions.Examples.SpliceFunction.makefile (rm -f Buildings_7.0.0_Buildings.Utilities.Math.Functions.Examples.SpliceFunction.pipe ; mkfifo Buildings_7.0.0_Buildings.Utilities.Math.Functions.Examples.SpliceFunction.pipe ; head -c 1048576 < Buildings_7.0.0_Buildings.Utilities.Math.Functions.Examples.SpliceFunction.pipe >> ../files/Buildings_7.0.0_Buildings.Utilities.Math.Functions.Examples.SpliceFunction.sim & ./Buildings_7.0.0_Buildings.Utilities.Math.Functions.Examples.SpliceFunction -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_7.0.0_Buildings.Utilities.Math.Functions.Examples.SpliceFunction.pipe 2>&1)