Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.SpliceFunction.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/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.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Utilities.Math.Functions.Examples.SpliceFunction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.SpliceFunction") translateModel(Buildings.Utilities.Math.Functions.Examples.SpliceFunction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.SpliceFunction") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.286/1.286, allocations: 252 MB / 267.9 MB, free: 10.91 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.0008886/0.0008887, allocations: 186.8 kB / 327.6 MB, free: 2.121 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.383/1.383, allocations: 205.4 MB / 0.5785 GB, free: 20.15 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.0006878/0.0006878, allocations: 92.3 kB / 0.6831 GB, free: 12.79 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003448/0.0003448, allocations: 14.69 kB / 0.7974 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1618/0.1622, allocations: 106.3 MB / 0.9012 GB, free: 63.64 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1497/0.3119, allocations: 132 MB / 1.03 GB, free: 11.42 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002136/0.3122, allocations: 83.95 kB / 1.03 GB, free: 11.34 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.004496/0.3167, allocations: 1.677 MB / 1.032 GB, free: 9.66 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.425e-06/0.3167, allocations: 0 / 1.032 GB, free: 9.66 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 5.109e-06/0.3167, allocations: 4 kB / 1.032 GB, free: 9.656 MB / 0.6823 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.0002211/0.317, allocations: 331.6 kB / 1.032 GB, free: 9.281 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 3.625e-05/0.317, allocations: 12.02 kB / 1.032 GB, free: 9.27 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.27e-05/0.317, allocations: 0.9375 kB / 1.032 GB, free: 9.27 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.429e-05/0.3171, allocations: 160.4 kB / 1.032 GB, free: 9.074 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.19e-05/0.3171, allocations: 4.375 kB / 1.032 GB, free: 9.07 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.027e-06/0.3171, allocations: 384 / 1.032 GB, free: 9.07 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.904e-05/0.3172, allocations: 34.2 kB / 1.032 GB, free: 9.031 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.023e-06/0.3172, allocations: 4.188 kB / 1.032 GB, free: 9.027 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.626e-06/0.3173, allocations: 3.938 kB / 1.032 GB, free: 9.023 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.366e-06/0.3173, allocations: 0 / 1.032 GB, free: 9.023 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.736e-05/0.3173, allocations: 4 kB / 1.032 GB, free: 9.02 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001216/0.3174, allocations: 149.7 kB / 1.033 GB, free: 8.824 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 3.496e-05/0.3175, allocations: 14.58 kB / 1.033 GB, free: 8.801 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.046e-05/0.3175, allocations: 12.89 kB / 1.033 GB, free: 8.785 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003931/0.3179, allocations: 0.5622 MB / 1.033 GB, free: 8.094 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.084e-05/0.3179, allocations: 34.56 kB / 1.033 GB, free: 8.051 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=1): time 1.002e-06/0.3179, allocations: 0 / 1.033 GB, free: 8.051 MB / 0.6823 GB Notification: Performance of matching and sorting (n=1): time 0.0001119/0.318, allocations: 37.62 kB / 1.033 GB, free: 8.008 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.2e-05/0.3181, allocations: 51.41 kB / 1.033 GB, free: 7.945 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.65e-05/0.3181, allocations: 89.86 kB / 1.033 GB, free: 7.848 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 8.997e-06/0.3181, allocations: 29.7 kB / 1.033 GB, free: 7.812 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 2.058e-05/0.3182, allocations: 88.25 kB / 1.033 GB, free: 7.723 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 2.135e-05/0.3182, allocations: 3.906 kB / 1.033 GB, free: 7.719 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.823e-06/0.3182, allocations: 0 / 1.033 GB, free: 7.719 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 8.236e-05/0.3183, allocations: 310.8 kB / 1.034 GB, free: 7.406 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.636e-06/0.3183, allocations: 4 kB / 1.034 GB, free: 7.402 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.294e-06/0.3183, allocations: 7.938 kB / 1.034 GB, free: 7.395 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.097e-05/0.3183, allocations: 4.859 kB / 1.034 GB, free: 7.387 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-06/0.3183, allocations: 64 / 1.034 GB, free: 7.387 MB / 0.6823 GB Notification: Performance of matching and sorting (n=1) (initialization): time 4.654e-05/0.3184, allocations: 41.69 kB / 1.034 GB, free: 7.34 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.031e-05/0.3184, allocations: 4 kB / 1.034 GB, free: 7.336 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.456e-06/0.3184, allocations: 0 / 1.034 GB, free: 7.336 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.092e-05/0.3184, allocations: 3.938 kB / 1.034 GB, free: 7.332 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.777e-05/0.3185, allocations: 4 kB / 1.034 GB, free: 7.328 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.318e-06/0.3185, allocations: 0 / 1.034 GB, free: 7.328 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.357e-06/0.3185, allocations: 0 / 1.034 GB, free: 7.328 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.248e-06/0.3185, allocations: 0 / 1.034 GB, free: 7.328 MB / 0.6823 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 6.064e-05/0.3186, allocations: 117.8 kB / 1.034 GB, free: 7.203 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.596e-06/0.3186, allocations: 11.94 kB / 1.034 GB, free: 7.191 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.998e-05/0.3187, allocations: 40.75 kB / 1.034 GB, free: 7.145 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.142e-06/0.3187, allocations: 0 / 1.034 GB, free: 7.145 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.036e-06/0.3187, allocations: 0 / 1.034 GB, free: 7.145 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.124e-06/0.3187, allocations: 0 / 1.034 GB, free: 7.145 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.389e-05/0.3188, allocations: 149.7 kB / 1.034 GB, free: 6.949 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.21e-07/0.3188, allocations: 0 / 1.034 GB, free: 6.949 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.276e-05/0.3188, allocations: 0 / 1.034 GB, free: 6.949 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.605e-06/0.3188, allocations: 8.016 kB / 1.034 GB, free: 6.941 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.332e-06/0.3188, allocations: 3.938 kB / 1.034 GB, free: 6.938 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.525e-06/0.3188, allocations: 0 / 1.034 GB, free: 6.938 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.62e-07/0.3188, allocations: 7.938 kB / 1.034 GB, free: 6.93 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.665e-05/0.3189, allocations: 61.06 kB / 1.034 GB, free: 6.852 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 2.798e-05/0.3189, allocations: 77.11 kB / 1.034 GB, free: 6.758 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.798e-06/0.319, allocations: 3.938 kB / 1.034 GB, free: 6.754 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.031e-05/0.319, allocations: 8.031 kB / 1.034 GB, free: 6.746 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.273e-05/0.319, allocations: 0 / 1.034 GB, free: 6.746 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.623e-06/0.319, allocations: 0 / 1.034 GB, free: 6.746 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 2.399e-05/0.319, allocations: 75.28 kB / 1.034 GB, free: 6.672 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1e-07/0.319, allocations: 0 / 1.034 GB, free: 6.672 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0001911/0.3192, allocations: 4 kB / 1.034 GB, free: 6.668 MB / 0.6823 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.0001433/0.3194, allocations: 115.2 kB / 1.034 GB, free: 6.543 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 5.313e-05/0.3194, allocations: 4 kB / 1.034 GB, free: 6.539 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 1.673e-06/0.3194, allocations: 4.062 kB / 1.035 GB, free: 6.535 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 9.678e-06/0.3195, allocations: 7.938 kB / 1.035 GB, free: 6.527 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001122/0.3196, allocations: 2.234 kB / 1.035 GB, free: 6.527 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001507/0.3197, allocations: 70.77 kB / 1.035 GB, free: 6.43 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000189/0.3199, allocations: 0.677 MB / 1.035 GB, free: 5.727 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 2.052e-05/0.32, allocations: 3.984 kB / 1.035 GB, free: 5.723 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.323e-05/0.32, allocations: 15.5 kB / 1.035 GB, free: 5.707 MB / 0.6823 GB Notification: Performance of SimCode: time 2.3e-07/0.32, allocations: 0 / 1.035 GB, free: 5.707 MB / 0.6823 GB Notification: Performance of Templates: time 0.001745/0.3217, allocations: 280 kB / 1.036 GB, free: 5.434 MB / 0.6823 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.SpliceFunction.makefile (rm -f Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.SpliceFunction.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.SpliceFunction.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.SpliceFunction.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.SpliceFunction.sim & ./Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.SpliceFunction -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.SpliceFunction.pipe 2>&1)