Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.SpliceFunction.conf.json 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/IBPSA 4.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/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) Running command: translateModel(IBPSA.Utilities.Math.Functions.Examples.SpliceFunction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.SpliceFunction") translateModel(IBPSA.Utilities.Math.Functions.Examples.SpliceFunction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.SpliceFunction") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001322/0.001322, allocations: 179.8 kB / 13.19 MB, free: 2.133 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.4646/0.4646, allocations: 90.81 MB / 104.5 MB, free: 9.789 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.249/1.249, allocations: 221.3 MB / 348.3 MB, free: 472 kB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000857/0.0008567, allocations: 102.7 kB / 421.2 MB, free: 5.484 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 3.224e-05/3.223e-05, allocations: 4 kB / 0.4896 GB, free: 5.352 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3515/0.3515, allocations: 72.31 MB / 0.5602 GB, free: 40.43 MB / 410.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1157/0.4673, allocations: 101.7 MB / 0.6596 GB, free: 2.559 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002143/0.4675, allocations: 81.38 kB / 0.6597 GB, free: 2.48 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.00453/0.4721, allocations: 1.709 MB / 0.6613 GB, free: 0.7812 MB / 474.7 MB Notification: Performance of FrontEnd: time 1.222e-06/0.4721, allocations: 0 / 0.6613 GB, free: 0.7812 MB / 474.7 MB Notification: Performance of Transformations before backend: time 3.767e-06/0.4721, allocations: 1.031 kB / 0.6613 GB, free: 0.7812 MB / 474.7 MB 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.0002193/0.4723, allocations: 345.6 kB / 0.6617 GB, free: 412 kB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.77e-05/0.4724, allocations: 11.98 kB / 0.6617 GB, free: 400 kB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.498e-05/0.4724, allocations: 3.953 kB / 0.6617 GB, free: 396 kB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.649e-05/0.4725, allocations: 163 kB / 0.6618 GB, free: 192 kB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.08e-05/0.4725, allocations: 0 / 0.6618 GB, free: 192 kB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.712e-06/0.4725, allocations: 0 / 0.6618 GB, free: 192 kB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.198e-05/0.4726, allocations: 37.69 kB / 0.6619 GB, free: 148 kB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.022e-06/0.4726, allocations: 0 / 0.6619 GB, free: 148 kB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.426e-06/0.4726, allocations: 0 / 0.6619 GB, free: 148 kB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.198e-06/0.4726, allocations: 0 / 0.6619 GB, free: 148 kB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.924e-05/0.4727, allocations: 8.891 kB / 0.6619 GB, free: 140 kB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001342/0.4728, allocations: 149.6 kB / 0.662 GB, free: 15.95 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.033e-05/0.4728, allocations: 18.52 kB / 0.662 GB, free: 15.92 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.356e-05/0.4729, allocations: 8.953 kB / 0.6621 GB, free: 15.91 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004051/0.4733, allocations: 0.5622 MB / 0.6626 GB, free: 15.21 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.893e-05/0.4733, allocations: 34.56 kB / 0.6626 GB, free: 15.17 MB / 490.7 MB Notification: Performance of pre-optimization done (n=1): time 9.12e-07/0.4733, allocations: 0 / 0.6626 GB, free: 15.17 MB / 490.7 MB Notification: Performance of matching and sorting (n=1): time 9.236e-05/0.4734, allocations: 29.7 kB / 0.6627 GB, free: 15.14 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.936e-05/0.4735, allocations: 51.41 kB / 0.6627 GB, free: 15.07 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.259e-05/0.4735, allocations: 85 kB / 0.6628 GB, free: 14.98 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 1.807e-05/0.4735, allocations: 32.27 kB / 0.6628 GB, free: 14.95 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.338e-05/0.4736, allocations: 84.14 kB / 0.6629 GB, free: 14.86 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.079e-05/0.4736, allocations: 3.906 kB / 0.6629 GB, free: 14.86 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.266e-06/0.4736, allocations: 0 / 0.6629 GB, free: 14.86 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 9.26e-05/0.4737, allocations: 318.7 kB / 0.6632 GB, free: 14.54 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.143e-06/0.4737, allocations: 0 / 0.6632 GB, free: 14.54 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.454e-06/0.4737, allocations: 7.984 kB / 0.6632 GB, free: 14.53 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.489e-05/0.4737, allocations: 4 kB / 0.6632 GB, free: 14.53 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.042e-06/0.4737, allocations: 4.062 kB / 0.6632 GB, free: 14.52 MB / 490.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 4.194e-05/0.4738, allocations: 29.7 kB / 0.6633 GB, free: 14.49 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.17e-05/0.4738, allocations: 8 kB / 0.6633 GB, free: 14.48 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.437e-06/0.4738, allocations: 0 / 0.6633 GB, free: 14.48 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.666e-06/0.4738, allocations: 0 / 0.6633 GB, free: 14.48 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.269e-05/0.4739, allocations: 0 / 0.6633 GB, free: 14.48 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.686e-06/0.4739, allocations: 0 / 0.6633 GB, free: 14.48 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.548e-06/0.4739, allocations: 7.938 kB / 0.6633 GB, free: 14.47 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.238e-06/0.4739, allocations: 0 / 0.6633 GB, free: 14.47 MB / 490.7 MB 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 () * 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.586e-05/0.474, allocations: 113 kB / 0.6634 GB, free: 14.36 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.17e-06/0.474, allocations: 0 / 0.6634 GB, free: 14.36 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.908e-05/0.4741, allocations: 44.77 kB / 0.6634 GB, free: 14.3 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.122e-06/0.4741, allocations: 0 / 0.6634 GB, free: 14.3 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.236e-06/0.4741, allocations: 0 / 0.6634 GB, free: 14.3 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.943e-06/0.4741, allocations: 0 / 0.6634 GB, free: 14.3 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.175e-05/0.4742, allocations: 149.6 kB / 0.6636 GB, free: 14.11 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.71e-07/0.4742, allocations: 0 / 0.6636 GB, free: 14.11 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.4e-05/0.4742, allocations: 8.031 kB / 0.6636 GB, free: 14.1 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.353e-06/0.4742, allocations: 0 / 0.6636 GB, free: 14.1 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.499e-06/0.4742, allocations: 1.031 kB / 0.6636 GB, free: 14.1 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.91e-07/0.4742, allocations: 0 / 0.6636 GB, free: 14.1 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.91e-07/0.4742, allocations: 0 / 0.6636 GB, free: 14.1 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.038e-05/0.4743, allocations: 69.02 kB / 0.6636 GB, free: 14.02 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.298e-05/0.4743, allocations: 77.11 kB / 0.6637 GB, free: 13.92 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.536e-06/0.4743, allocations: 0 / 0.6637 GB, free: 13.92 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.425e-06/0.4744, allocations: 4.031 kB / 0.6637 GB, free: 13.92 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.518e-06/0.4744, allocations: 3.984 kB / 0.6637 GB, free: 13.91 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.784e-06/0.4744, allocations: 4 kB / 0.6637 GB, free: 13.91 MB / 490.7 MB Notification: Performance of sorting global known variables: time 2.43e-05/0.4744, allocations: 75.28 kB / 0.6638 GB, free: 13.84 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4744, allocations: 0 / 0.6638 GB, free: 13.84 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0001767/0.4746, allocations: 4.562 kB / 0.6638 GB, free: 13.83 MB / 490.7 MB 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 () * 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.0001397/0.4747, allocations: 116.8 kB / 0.6639 GB, free: 13.71 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 4.902e-05/0.4748, allocations: 4 kB / 0.6639 GB, free: 13.71 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 2.375e-06/0.4748, allocations: 4.062 kB / 0.6639 GB, free: 13.7 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 6.482e-06/0.4748, allocations: 3.938 kB / 0.6639 GB, free: 13.7 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 7.793e-05/0.4749, allocations: 10.39 kB / 0.6639 GB, free: 13.69 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001274/0.475, allocations: 56.94 kB / 0.664 GB, free: 13.61 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002411/0.4753, allocations: 0.6731 MB / 0.6646 GB, free: 12.91 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 2.225e-05/0.4753, allocations: 6.625 kB / 0.6647 GB, free: 12.91 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.121e-05/0.4753, allocations: 11.5 kB / 0.6647 GB, free: 12.9 MB / 490.7 MB Notification: Performance of SimCode: time 2.2e-07/0.4753, allocations: 0 / 0.6647 GB, free: 12.9 MB / 490.7 MB Notification: Performance of Templates: time 0.001748/0.4771, allocations: 277.3 kB / 0.6649 GB, free: 12.64 MB / 490.7 MB make -j1 -f IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.SpliceFunction.makefile (rm -f IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.SpliceFunction.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.SpliceFunction.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.SpliceFunction.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.SpliceFunction.sim & ./IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.SpliceFunction -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.SpliceFunction.pipe 2>&1)