Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck.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.SpliceFunctionDerivativeCheck,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck") translateModel(IBPSA.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009766/0.0009766, allocations: 179 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.4673/0.4673, allocations: 90.8 MB / 104.5 MB, free: 9.801 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.281/1.281, allocations: 221.3 MB / 348.3 MB, free: 464 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.00083/0.00083, allocations: 94.11 kB / 421.2 MB, free: 5.504 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 3.701e-05/3.703e-05, allocations: 4 kB / 0.4896 GB, free: 5.367 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.362/0.3621, allocations: 72.31 MB / 0.5602 GB, free: 40.47 MB / 410.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1196/0.4817, allocations: 102 MB / 0.6599 GB, free: 2.316 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002236/0.482, allocations: 79.95 kB / 0.66 GB, free: 2.238 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.007081/0.4891, allocations: 2.411 MB / 0.6623 GB, free: 15.83 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.553e-06/0.4891, allocations: 0 / 0.6623 GB, free: 15.83 MB / 490.7 MB Notification: Performance of Transformations before backend: time 8.125e-06/0.4892, allocations: 4 kB / 0.6623 GB, free: 15.82 MB / 490.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0003151/0.4895, allocations: 342.4 kB / 0.6626 GB, free: 15.45 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.502e-05/0.4895, allocations: 19.97 kB / 0.6627 GB, free: 15.43 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.332e-05/0.4896, allocations: 7.953 kB / 0.6627 GB, free: 15.42 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000104/0.4897, allocations: 163 kB / 0.6628 GB, free: 15.22 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.081e-05/0.4897, allocations: 8 kB / 0.6628 GB, free: 15.21 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.495e-05/0.4897, allocations: 4 kB / 0.6628 GB, free: 15.21 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001161/0.4899, allocations: 53.62 kB / 0.6629 GB, free: 15.15 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.989e-06/0.4899, allocations: 0 / 0.6629 GB, free: 15.15 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.588e-06/0.4899, allocations: 0 / 0.6629 GB, free: 15.15 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.007e-06/0.4899, allocations: 0 / 0.6629 GB, free: 15.15 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.411e-05/0.49, allocations: 27.94 kB / 0.6629 GB, free: 15.12 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000172/0.4902, allocations: 177.6 kB / 0.6631 GB, free: 14.9 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000105/0.4903, allocations: 63.58 kB / 0.6631 GB, free: 14.83 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.784e-05/0.4903, allocations: 20.86 kB / 0.6632 GB, free: 14.8 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004058/0.4907, allocations: 0.5622 MB / 0.6637 GB, free: 14.11 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.175e-05/0.4908, allocations: 34.56 kB / 0.6637 GB, free: 14.07 MB / 490.7 MB Notification: Performance of pre-optimization done (n=8): time 1.102e-06/0.4908, allocations: 0 / 0.6637 GB, free: 14.07 MB / 490.7 MB Notification: Performance of matching and sorting (n=17): time 0.0149/0.5057, allocations: 3.677 MB / 0.6673 GB, free: 10.26 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.551e-05/0.5057, allocations: 55.41 kB / 0.6674 GB, free: 10.2 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.433e-05/0.5058, allocations: 85 kB / 0.6675 GB, free: 10.11 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 6.82e-05/0.5059, allocations: 29.7 kB / 0.6675 GB, free: 10.07 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.801e-05/0.5059, allocations: 80.14 kB / 0.6676 GB, free: 9.988 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001024/0.506, allocations: 63.17 kB / 0.6676 GB, free: 9.926 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.295e-05/0.5061, allocations: 3.938 kB / 0.6676 GB, free: 9.922 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 9.591e-05/0.5062, allocations: 323 kB / 0.6679 GB, free: 9.598 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000464/0.5067, allocations: 300 kB / 0.6682 GB, free: 9.305 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004599/0.5071, allocations: 301.1 kB / 0.6685 GB, free: 9.012 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006886/0.5078, allocations: 373 kB / 0.6689 GB, free: 8.648 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.52e-07/0.5078, allocations: 4 kB / 0.6689 GB, free: 8.645 MB / 490.7 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.001409/0.5093, allocations: 0.7683 MB / 0.6696 GB, free: 7.871 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.967e-05/0.5093, allocations: 4 kB / 0.6696 GB, free: 7.867 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.047e-06/0.5093, allocations: 3.953 kB / 0.6696 GB, free: 7.863 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.503e-05/0.5093, allocations: 0 / 0.6696 GB, free: 7.863 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007864/0.5101, allocations: 99.88 kB / 0.6697 GB, free: 7.766 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.097e-05/0.5101, allocations: 4 kB / 0.6697 GB, free: 7.762 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005022/0.5106, allocations: 8 kB / 0.6697 GB, free: 7.754 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.126e-05/0.5107, allocations: 31.98 kB / 0.6698 GB, free: 7.723 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 (18): * Single equations (assignments): 18 * 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.0001811/0.5109, allocations: 111.7 kB / 0.6699 GB, free: 7.609 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.632e-05/0.511, allocations: 7.906 kB / 0.6699 GB, free: 7.602 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003295/0.5143, allocations: 1.38 MB / 0.6712 GB, free: 6.215 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.586e-06/0.5143, allocations: 17.08 kB / 0.6712 GB, free: 6.199 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.424e-06/0.5143, allocations: 0 / 0.6712 GB, free: 6.199 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.921e-06/0.5143, allocations: 0 / 0.6712 GB, free: 6.199 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00294/0.5173, allocations: 1.776 MB / 0.673 GB, free: 4.359 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.005e-06/0.5173, allocations: 0 / 0.673 GB, free: 4.359 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007537/0.5181, allocations: 103.9 kB / 0.6731 GB, free: 4.258 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.536e-06/0.5181, allocations: 8.031 kB / 0.6731 GB, free: 4.25 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.236e-05/0.5182, allocations: 35.98 kB / 0.6731 GB, free: 4.215 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.486e-06/0.5182, allocations: 0 / 0.6731 GB, free: 4.215 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.855e-06/0.5182, allocations: 4 kB / 0.6731 GB, free: 4.211 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002232/0.5204, allocations: 1.443 MB / 0.6745 GB, free: 2.742 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.621e-05/0.5205, allocations: 88.95 kB / 0.6746 GB, free: 2.637 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.658e-05/0.5206, allocations: 18.5 kB / 0.6746 GB, free: 2.621 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005075/0.5211, allocations: 8 kB / 0.6746 GB, free: 2.613 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001243/0.5212, allocations: 43.97 kB / 0.6747 GB, free: 2.57 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.809e-05/0.5213, allocations: 27.98 kB / 0.6747 GB, free: 2.543 MB / 490.7 MB Notification: Performance of sorting global known variables: time 2.934e-05/0.5213, allocations: 79.28 kB / 0.6748 GB, free: 2.465 MB / 490.7 MB Notification: Performance of sort global known variables: time 3.5e-07/0.5213, allocations: 0 / 0.6748 GB, free: 2.465 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.000565/0.5219, allocations: 207.7 kB / 0.675 GB, free: 2.262 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 1 (y_comp) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (40): * Single equations (assignments): 40 * 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.0004934/0.5224, allocations: 270.8 kB / 0.6752 GB, free: 1.988 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.001103/0.5235, allocations: 0.703 MB / 0.6759 GB, free: 1.285 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 2.384e-06/0.5235, allocations: 3.938 kB / 0.6759 GB, free: 1.281 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000574/0.5241, allocations: 439.9 kB / 0.6764 GB, free: 0.8516 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001818/0.5243, allocations: 19.89 kB / 0.6764 GB, free: 0.832 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003139/0.5274, allocations: 0.7115 MB / 0.6771 GB, free: 100 kB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002416/0.5277, allocations: 0.7299 MB / 0.6778 GB, free: 15.34 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.001379/0.5291, allocations: 296.8 kB / 0.6781 GB, free: 15.05 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005264/0.5296, allocations: 91.41 kB / 0.6782 GB, free: 14.96 MB / 0.4948 GB Notification: Performance of SimCode: time 7.01e-07/0.5296, allocations: 0 / 0.6782 GB, free: 14.96 MB / 0.4948 GB Notification: Performance of Templates: time 0.01428/0.5439, allocations: 10.12 MB / 0.688 GB, free: 4.859 MB / 0.4948 GB make -j1 -f IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck.makefile (rm -f IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck.sim & ./IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck.pipe 2>&1)