Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.4.0/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 BuildSysPro with version 3.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.4.0/package.mo) Running command: translateModel(BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck") translateModel(BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck") [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.4.0/UsersGuide/package.order:0:0-0:0:readonly] Warning: The package.order file does not list all .mo files and directories (containing package.mo) present in its directory. Missing names are: License Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.4.0/package.mo): time 0.714/0.714, allocations: 117.9 MB / 133.9 MB, free: 4.516 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00104/0.00104, allocations: 178.5 kB / 161.7 MB, free: 2.746 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.808/1.808, allocations: 205.4 MB / 394.8 MB, free: 20.89 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.000772/0.0007722, allocations: 96.89 kB / 470.1 MB, free: 12.12 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003922/0.0003924, allocations: 12 kB / 0.5423 GB, free: 6.824 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.394/0.3944, allocations: 74.54 MB / 0.6151 GB, free: 54.12 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1534/0.5479, allocations: 101.9 MB / 0.7146 GB, free: 96 kB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000255/0.5482, allocations: 83.95 kB / 0.7147 GB, free: 12 kB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.005708/0.5539, allocations: 1.922 MB / 0.7166 GB, free: 14.09 MB / 0.4948 GB Notification: Performance of FrontEnd: time 4.218e-06/0.554, allocations: 0 / 0.7166 GB, free: 14.09 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 6.262e-06/0.554, allocations: 3.938 kB / 0.7166 GB, free: 14.09 MB / 0.4948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0003937/0.5544, allocations: 359.4 kB / 0.7169 GB, free: 13.68 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.841e-05/0.5545, allocations: 8.031 kB / 0.7169 GB, free: 13.68 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.012e-05/0.5545, allocations: 4.938 kB / 0.7169 GB, free: 13.67 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001416/0.5547, allocations: 164.4 kB / 0.7171 GB, free: 13.47 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.22e-05/0.5547, allocations: 384 / 0.7171 GB, free: 13.47 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.193e-05/0.5547, allocations: 4.375 kB / 0.7171 GB, free: 13.47 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001308/0.5548, allocations: 46.25 kB / 0.7172 GB, free: 13.42 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.012e-05/0.5549, allocations: 4.125 kB / 0.7172 GB, free: 13.41 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.368e-05/0.5549, allocations: 7.938 kB / 0.7172 GB, free: 13.41 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.105e-06/0.5549, allocations: 3.984 kB / 0.7172 GB, free: 13.4 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.746e-05/0.5549, allocations: 15.98 kB / 0.7172 GB, free: 13.39 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002067/0.5552, allocations: 161.6 kB / 0.7173 GB, free: 13.18 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001003/0.5553, allocations: 38.64 kB / 0.7174 GB, free: 13.13 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.153e-05/0.5553, allocations: 20.97 kB / 0.7174 GB, free: 13.11 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004988/0.5558, allocations: 0.5583 MB / 0.7179 GB, free: 12.42 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.653e-05/0.5559, allocations: 34.5 kB / 0.718 GB, free: 12.38 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=5): time 1.262e-06/0.5559, allocations: 4 kB / 0.718 GB, free: 12.38 MB / 0.4948 GB Notification: Performance of matching and sorting (n=8): time 0.001731/0.5576, allocations: 465.7 kB / 0.7184 GB, free: 11.87 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.906e-05/0.5577, allocations: 55.41 kB / 0.7185 GB, free: 11.8 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.155e-05/0.5578, allocations: 93.86 kB / 0.7186 GB, free: 11.7 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 2.299e-05/0.5578, allocations: 25.7 kB / 0.7186 GB, free: 11.67 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 5.309e-05/0.5579, allocations: 92.03 kB / 0.7187 GB, free: 11.58 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 4.608e-05/0.5579, allocations: 23.66 kB / 0.7187 GB, free: 11.55 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.17e-06/0.5579, allocations: 0 / 0.7187 GB, free: 11.55 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001419/0.5581, allocations: 314.8 kB / 0.719 GB, free: 11.24 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.212e-05/0.5581, allocations: 20 kB / 0.719 GB, free: 11.22 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.636e-05/0.5582, allocations: 20.11 kB / 0.719 GB, free: 11.2 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.021e-05/0.5583, allocations: 52.8 kB / 0.7191 GB, free: 11.14 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.273e-06/0.5583, allocations: 0 / 0.7191 GB, free: 11.14 MB / 0.4948 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001928/0.5585, allocations: 93.59 kB / 0.7192 GB, free: 11.05 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 2.365e-05/0.5585, allocations: 8 kB / 0.7192 GB, free: 11.04 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.561e-06/0.5585, allocations: 0 / 0.7192 GB, free: 11.04 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.656e-05/0.5585, allocations: 0 / 0.7192 GB, free: 11.04 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001126/0.5587, allocations: 19.98 kB / 0.7192 GB, free: 11.02 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.503e-06/0.5587, allocations: 0 / 0.7192 GB, free: 11.02 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.642e-05/0.5587, allocations: 0 / 0.7192 GB, free: 11.02 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.13e-05/0.5587, allocations: 12.38 kB / 0.7192 GB, free: 11.01 MB / 0.4948 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 (9): * Single equations (assignments): 9 * 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.000106/0.5588, allocations: 113.8 kB / 0.7193 GB, free: 10.89 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.142e-05/0.5589, allocations: 3.938 kB / 0.7193 GB, free: 10.88 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002838/0.5592, allocations: 105.6 kB / 0.7194 GB, free: 10.77 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.986e-06/0.5592, allocations: 0 / 0.7194 GB, free: 10.77 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.028e-05/0.5592, allocations: 4 kB / 0.7194 GB, free: 10.77 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.823e-06/0.5592, allocations: 0 / 0.7194 GB, free: 10.77 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002058/0.5594, allocations: 173.6 kB / 0.7196 GB, free: 10.55 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.325e-06/0.5594, allocations: 0 / 0.7196 GB, free: 10.55 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001207/0.5596, allocations: 15.94 kB / 0.7196 GB, free: 10.54 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.837e-06/0.5596, allocations: 0 / 0.7196 GB, free: 10.54 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.587e-05/0.5596, allocations: 4 kB / 0.7196 GB, free: 10.53 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.246e-06/0.5596, allocations: 0 / 0.7196 GB, free: 10.53 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.328e-06/0.5596, allocations: 4 kB / 0.7196 GB, free: 10.53 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002884/0.5599, allocations: 137 kB / 0.7197 GB, free: 10.38 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 4.983e-05/0.56, allocations: 81.05 kB / 0.7198 GB, free: 10.28 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.178e-05/0.56, allocations: 3.984 kB / 0.7198 GB, free: 10.27 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.932e-05/0.5601, allocations: 4.031 kB / 0.7198 GB, free: 10.27 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.427e-05/0.5601, allocations: 4 kB / 0.7198 GB, free: 10.27 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.749e-06/0.5601, allocations: 4 kB / 0.7198 GB, free: 10.26 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 3.972e-05/0.5602, allocations: 75.28 kB / 0.7199 GB, free: 10.19 MB / 0.4948 GB Notification: Performance of sort global known variables: time 9.1e-08/0.5602, allocations: 4.156 kB / 0.7199 GB, free: 10.18 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.000297/0.5605, allocations: 31.92 kB / 0.7199 GB, free: 10.15 MB / 0.4948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (y_comp) * 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 (8): * Single equations (assignments): 8 * 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.0003217/0.5608, allocations: 142.9 kB / 0.7201 GB, free: 10 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0001589/0.561, allocations: 47.92 kB / 0.7201 GB, free: 9.953 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 3.006e-06/0.561, allocations: 288 / 0.7201 GB, free: 9.953 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 4.69e-05/0.5611, allocations: 31.98 kB / 0.7202 GB, free: 9.922 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001869/0.5613, allocations: 11.88 kB / 0.7202 GB, free: 9.91 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004224/0.5617, allocations: 157.7 kB / 0.7203 GB, free: 9.73 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002802/0.562, allocations: 0.6809 MB / 0.721 GB, free: 9.023 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 8.194e-05/0.5621, allocations: 15.98 kB / 0.721 GB, free: 9.008 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.096e-05/0.5621, allocations: 11.44 kB / 0.721 GB, free: 8.996 MB / 0.4948 GB Notification: Performance of SimCode: time 2.1e-07/0.5621, allocations: 0 / 0.721 GB, free: 8.996 MB / 0.4948 GB Notification: Performance of Templates: time 0.003317/0.5654, allocations: 0.7635 MB / 0.7218 GB, free: 8.242 MB / 0.4948 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck.makefile (rm -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck.sim & ./BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck.pipe 2>&1)