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/Buildings 8.1.4-maint.8.1.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 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.621/1.621, allocations: 289.7 MB / 302.3 MB, free: 2.098 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001188/0.001188, allocations: 181.5 kB / 371.6 MB, free: 3.359 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.996/1.996, allocations: 205.1 MB / 0.6309 GB, free: 11.74 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008542/0.0008542, allocations: 93.58 kB / 0.745 GB, free: 54.59 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 3.826e-05/3.828e-05, allocations: 8 kB / 0.8662 GB, free: 15.03 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3065/0.3065, allocations: 116.3 MB / 0.9798 GB, free: 10.56 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.96/1.267, allocations: 139.2 MB / 1.116 GB, free: 44.54 MB / 0.7448 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002165/1.267, allocations: 82.58 kB / 1.116 GB, free: 44.51 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 0.004322/1.271, allocations: 1.635 MB / 1.117 GB, free: 43.5 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.773e-06/1.271, allocations: 0.8438 kB / 1.117 GB, free: 43.5 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 7.234e-06/1.271, allocations: 0 / 1.117 GB, free: 43.5 MB / 0.7448 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.0002384/1.271, allocations: 326.9 kB / 1.118 GB, free: 43.14 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.92e-05/1.272, allocations: 11.97 kB / 1.118 GB, free: 43.12 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.024e-05/1.272, allocations: 5.641 kB / 1.118 GB, free: 43.12 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.389e-05/1.272, allocations: 163.5 kB / 1.118 GB, free: 42.93 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.965e-05/1.272, allocations: 7.656 kB / 1.118 GB, free: 42.93 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.586e-05/1.272, allocations: 3.266 kB / 1.118 GB, free: 42.93 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001007/1.272, allocations: 27 kB / 1.118 GB, free: 42.89 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.276e-06/1.272, allocations: 0.5 kB / 1.118 GB, free: 42.89 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.089e-05/1.272, allocations: 0.5625 kB / 1.118 GB, free: 42.89 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.34e-06/1.272, allocations: 0 / 1.118 GB, free: 42.89 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.708e-05/1.272, allocations: 7.422 kB / 1.118 GB, free: 42.89 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001231/1.272, allocations: 150.6 kB / 1.118 GB, free: 42.7 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 4.014e-05/1.272, allocations: 29.02 kB / 1.118 GB, free: 42.67 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.633e-05/1.272, allocations: 6.172 kB / 1.118 GB, free: 42.66 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004009/1.273, allocations: 0.5606 MB / 1.119 GB, free: 41.98 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.327e-05/1.273, allocations: 30.56 kB / 1.119 GB, free: 41.94 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=1): time 8.81e-07/1.273, allocations: 0 / 1.119 GB, free: 41.94 MB / 0.7448 GB Notification: Performance of matching and sorting (n=1): time 0.0001275/1.273, allocations: 33.58 kB / 1.119 GB, free: 41.91 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.807e-05/1.273, allocations: 55.41 kB / 1.119 GB, free: 41.84 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.427e-05/1.273, allocations: 85 kB / 1.119 GB, free: 41.75 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.045e-05/1.273, allocations: 25.7 kB / 1.119 GB, free: 41.72 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 1.727e-05/1.273, allocations: 88.11 kB / 1.119 GB, free: 41.63 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 2.683e-05/1.273, allocations: 2.031 kB / 1.119 GB, free: 41.63 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.104e-06/1.273, allocations: 0 / 1.119 GB, free: 41.63 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 5.277e-05/1.273, allocations: 314.3 kB / 1.119 GB, free: 41.32 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.127e-06/1.273, allocations: 0 / 1.119 GB, free: 41.32 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.733e-06/1.273, allocations: 4 kB / 1.119 GB, free: 41.31 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.793e-05/1.273, allocations: 0 / 1.119 GB, free: 41.31 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.944e-06/1.273, allocations: 0 / 1.119 GB, free: 41.31 MB / 0.7448 GB Notification: Performance of matching and sorting (n=1) (initialization): time 4.367e-05/1.273, allocations: 41.5 kB / 1.119 GB, free: 41.27 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.506e-05/1.273, allocations: 8 kB / 1.119 GB, free: 41.26 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.542e-06/1.273, allocations: 0.75 kB / 1.119 GB, free: 41.26 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.359e-05/1.273, allocations: 3.516 kB / 1.119 GB, free: 41.26 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.42e-05/1.273, allocations: 7.516 kB / 1.119 GB, free: 41.26 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.413e-06/1.273, allocations: 0 / 1.119 GB, free: 41.26 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.119e-05/1.273, allocations: 0 / 1.119 GB, free: 41.26 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.913e-06/1.273, allocations: 0 / 1.119 GB, free: 41.26 MB / 0.7448 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 () * 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 4.476e-05/1.273, allocations: 104.9 kB / 1.119 GB, free: 41.15 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.844e-06/1.273, allocations: 4.797 kB / 1.119 GB, free: 41.14 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.641e-05/1.273, allocations: 49.25 kB / 1.12 GB, free: 41.09 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.653e-06/1.273, allocations: 0 / 1.12 GB, free: 41.09 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.228e-06/1.273, allocations: 0 / 1.12 GB, free: 41.09 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.264e-06/1.273, allocations: 0 / 1.12 GB, free: 41.09 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.686e-05/1.273, allocations: 145.5 kB / 1.12 GB, free: 40.91 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.605e-06/1.273, allocations: 4 kB / 1.12 GB, free: 40.9 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.214e-05/1.273, allocations: 0 / 1.12 GB, free: 40.9 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.605e-06/1.274, allocations: 3.562 kB / 1.12 GB, free: 40.9 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.775e-06/1.274, allocations: 9.047 kB / 1.12 GB, free: 40.89 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.82e-07/1.274, allocations: 0 / 1.12 GB, free: 40.89 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.91e-07/1.274, allocations: 0 / 1.12 GB, free: 40.89 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.645e-05/1.274, allocations: 61.86 kB / 1.12 GB, free: 40.82 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 2.459e-05/1.274, allocations: 81.5 kB / 1.12 GB, free: 40.73 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.069e-05/1.274, allocations: 0 / 1.12 GB, free: 40.73 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.738e-06/1.274, allocations: 4.609 kB / 1.12 GB, free: 40.72 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.671e-05/1.274, allocations: 4 kB / 1.12 GB, free: 40.72 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.744e-06/1.274, allocations: 4.031 kB / 1.12 GB, free: 40.71 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 1.731e-05/1.274, allocations: 75.28 kB / 1.12 GB, free: 40.64 MB / 0.7448 GB Notification: Performance of sort global known variables: time 1.1e-07/1.274, allocations: 0 / 1.12 GB, free: 40.64 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0002102/1.274, allocations: 8 kB / 1.12 GB, free: 40.63 MB / 0.7448 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 () * 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.000155/1.274, allocations: 112.3 kB / 1.12 GB, free: 40.52 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 6.435e-05/1.274, allocations: 4.656 kB / 1.12 GB, free: 40.52 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.553e-06/1.274, allocations: 0 / 1.12 GB, free: 40.52 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 1.017e-05/1.274, allocations: 12 kB / 1.12 GB, free: 40.51 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 8.887e-05/1.274, allocations: 0 / 1.12 GB, free: 40.51 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00014/1.274, allocations: 46.06 kB / 1.12 GB, free: 40.45 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001186/1.275, allocations: 0.6804 MB / 1.121 GB, free: 39.74 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 2.088e-05/1.275, allocations: 1.672 kB / 1.121 GB, free: 39.74 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.235e-05/1.275, allocations: 7.438 kB / 1.121 GB, free: 39.74 MB / 0.7448 GB Notification: Performance of SimCode: time 2.1e-07/1.275, allocations: 0 / 1.121 GB, free: 39.74 MB / 0.7448 GB Notification: Performance of Templates: time 0.001886/1.277, allocations: 282.3 kB / 1.121 GB, free: 39.59 MB / 0.7448 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 -lv LOG_STATS > Buildings_8_Buildings.Utilities.Math.Functions.Examples.SpliceFunction.pipe 2>&1)