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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) 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/Modelica 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) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001329/0.001329, allocations: 99.41 kB / 15.98 MB, free: 6.352 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001735/0.001735, allocations: 196.9 kB / 16.91 MB, free: 6.191 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.349/1.349, allocations: 222.9 MB / 240.6 MB, free: 15.43 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7558/0.7558, allocations: 122.9 MB / 413.6 MB, free: 15.95 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001238/0.001238, allocations: 67.89 kB / 0.4906 GB, free: 7.758 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4355/0.4367, allocations: 77.93 MB / 0.5667 GB, free: 32.65 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck): time 0.002401/0.4392, allocations: 0.6672 MB / 0.5674 GB, free: 32.24 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.00164/0.4409, allocations: 1.278 MB / 0.5686 GB, free: 31.3 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.609e-05/0.4409, allocations: 0 / 0.5686 GB, free: 31.3 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 2.186e-05/0.4409, allocations: 0.9688 kB / 0.5686 GB, free: 31.3 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 2.299e-05/0.441, allocations: 5.031 kB / 0.5686 GB, free: 31.29 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000428/0.4414, allocations: 66.56 kB / 0.5687 GB, free: 31.27 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 7.246e-05/0.4415, allocations: 19.19 kB / 0.5687 GB, free: 31.26 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.237e-05/0.4415, allocations: 3.5 kB / 0.5687 GB, free: 31.26 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.114e-05/0.4416, allocations: 14.66 kB / 0.5687 GB, free: 31.25 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.221e-05/0.4416, allocations: 13.62 kB / 0.5688 GB, free: 31.25 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.485e-05/0.4417, allocations: 6.094 kB / 0.5688 GB, free: 31.25 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002581/0.4419, allocations: 98.33 kB / 0.5689 GB, free: 31.22 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 1.768e-05/0.442, allocations: 7.828 kB / 0.5689 GB, free: 31.22 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 2.78e-05/0.442, allocations: 13.94 kB / 0.5689 GB, free: 31.21 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001669/0.4422, allocations: 64.55 kB / 0.5689 GB, free: 31.19 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.988e-06/0.4422, allocations: 5.5 kB / 0.5689 GB, free: 31.19 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.463e-06/0.4422, allocations: 1.031 kB / 0.569 GB, free: 31.19 MB / 446.1 MB Notification: Performance of Transformations before backend: time 5.73e-06/0.4422, allocations: 0 / 0.569 GB, free: 31.19 MB / 446.1 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.0004412/0.4426, allocations: 353.3 kB / 0.5693 GB, free: 30.82 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.242e-05/0.4427, allocations: 11.38 kB / 0.5693 GB, free: 30.82 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.857e-05/0.4427, allocations: 3.219 kB / 0.5693 GB, free: 30.82 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.694e-05/0.4428, allocations: 162.4 kB / 0.5695 GB, free: 30.62 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.331e-05/0.4428, allocations: 2.312 kB / 0.5695 GB, free: 30.62 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.102e-05/0.4429, allocations: 10.14 kB / 0.5695 GB, free: 30.62 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001355/0.443, allocations: 56.17 kB / 0.5695 GB, free: 30.58 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.405e-05/0.443, allocations: 0 / 0.5695 GB, free: 30.58 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.453e-05/0.4431, allocations: 5.031 kB / 0.5695 GB, free: 30.57 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.232e-06/0.4431, allocations: 2.281 kB / 0.5695 GB, free: 30.57 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.359e-05/0.4431, allocations: 26.78 kB / 0.5696 GB, free: 30.57 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001644/0.4433, allocations: 172.6 kB / 0.5697 GB, free: 30.36 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001239/0.4434, allocations: 56.64 kB / 0.5698 GB, free: 30.33 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.438e-05/0.4435, allocations: 23.66 kB / 0.5698 GB, free: 30.32 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004416/0.4439, allocations: 0.5572 MB / 0.5703 GB, free: 29.66 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.266e-05/0.444, allocations: 41.91 kB / 0.5704 GB, free: 29.61 MB / 446.1 MB Notification: Performance of pre-optimization done (n=8): time 1.143e-06/0.444, allocations: 0 / 0.5704 GB, free: 29.61 MB / 446.1 MB Warning: Some equations could not be differentiated for following variables having attribute stateSelect=StateSelect.prefer. They will be treated as if they had stateSelect=StateSelect.default ======================================== 1: x 2: deltax Please use -d=bltdump for more information. Notification: Performance of matching and sorting (n=17): time 0.02099/0.465, allocations: 4.364 MB / 0.5746 GB, free: 27.88 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.881e-05/0.4651, allocations: 60.53 kB / 0.5747 GB, free: 27.81 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.576e-05/0.4651, allocations: 96.78 kB / 0.5748 GB, free: 27.71 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 7.24e-05/0.4652, allocations: 27.14 kB / 0.5748 GB, free: 27.68 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.306e-05/0.4652, allocations: 80.14 kB / 0.5749 GB, free: 27.59 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001227/0.4654, allocations: 63.31 kB / 0.575 GB, free: 27.54 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002839/0.4657, allocations: 94.78 kB / 0.575 GB, free: 27.52 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 6.95e-05/0.4657, allocations: 318.5 kB / 0.5753 GB, free: 27.2 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00055/0.4663, allocations: 314.4 kB / 0.5756 GB, free: 27.07 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005253/0.4668, allocations: 309 kB / 0.5759 GB, free: 26.94 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001561/0.4684, allocations: 0.7722 MB / 0.5767 GB, free: 26.61 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.383e-06/0.4684, allocations: 0 / 0.5767 GB, free: 26.61 MB / 446.1 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.001581/0.47, allocations: 0.7938 MB / 0.5775 GB, free: 26.28 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.07e-05/0.47, allocations: 10.23 kB / 0.5775 GB, free: 26.27 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.652e-06/0.47, allocations: 0 / 0.5775 GB, free: 26.27 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.774e-05/0.47, allocations: 1.375 kB / 0.5775 GB, free: 26.27 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008626/0.4709, allocations: 94.66 kB / 0.5776 GB, free: 26.27 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.025e-06/0.4709, allocations: 1.406 kB / 0.5776 GB, free: 26.27 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005026/0.4714, allocations: 13.89 kB / 0.5776 GB, free: 26.26 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.915e-05/0.4715, allocations: 37.91 kB / 0.5776 GB, free: 26.26 MB / 446.1 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 () * Number of clocked 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001851/0.4717, allocations: 121.6 kB / 0.5777 GB, free: 26.13 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.475e-05/0.4718, allocations: 7.594 kB / 0.5777 GB, free: 26.13 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003402/0.4752, allocations: 1.397 MB / 0.5791 GB, free: 25.48 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.815e-06/0.4753, allocations: 5.125 kB / 0.5791 GB, free: 25.48 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.85e-06/0.4753, allocations: 4.547 kB / 0.5791 GB, free: 25.48 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.436e-06/0.4753, allocations: 5.875 kB / 0.5791 GB, free: 25.48 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002816/0.4781, allocations: 1.818 MB / 0.5809 GB, free: 24.43 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.276e-06/0.4781, allocations: 0 / 0.5809 GB, free: 24.43 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000803/0.4789, allocations: 106.2 kB / 0.581 GB, free: 24.42 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.863e-06/0.4789, allocations: 3.828 kB / 0.581 GB, free: 24.42 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.378e-05/0.479, allocations: 29.41 kB / 0.581 GB, free: 24.41 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.226e-06/0.479, allocations: 5.922 kB / 0.581 GB, free: 24.41 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.385e-06/0.4791, allocations: 5.281 kB / 0.581 GB, free: 24.41 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002479/0.4815, allocations: 1.476 MB / 0.5825 GB, free: 23.64 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.059e-05/0.4816, allocations: 86.94 kB / 0.5826 GB, free: 23.54 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.649e-05/0.4817, allocations: 10.72 kB / 0.5826 GB, free: 23.54 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005133/0.4822, allocations: 13.97 kB / 0.5826 GB, free: 23.53 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001706/0.4824, allocations: 39.36 kB / 0.5826 GB, free: 23.53 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.868e-05/0.4825, allocations: 31.58 kB / 0.5827 GB, free: 23.52 MB / 446.1 MB Notification: Performance of sorting global known variables: time 2.974e-05/0.4825, allocations: 81.16 kB / 0.5827 GB, free: 23.45 MB / 446.1 MB Notification: Performance of sort global known variables: time 4.61e-07/0.4825, allocations: 4.156 kB / 0.5827 GB, free: 23.44 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0007342/0.4833, allocations: 176.9 kB / 0.5829 GB, free: 23.42 MB / 446.1 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 () * Number of clocked 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005462/0.4838, allocations: 223.9 kB / 0.5831 GB, free: 23.29 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001378/0.4852, allocations: 0.7423 MB / 0.5838 GB, free: 22.99 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.687e-06/0.4852, allocations: 0 / 0.5838 GB, free: 22.99 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006784/0.4859, allocations: 451.3 kB / 0.5843 GB, free: 22.79 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003388/0.4863, allocations: 21.33 kB / 0.5843 GB, free: 22.78 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003421/0.4897, allocations: 0.8517 MB / 0.5851 GB, free: 22.34 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001892/0.4899, allocations: 0.7176 MB / 0.5858 GB, free: 21.63 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.001426/0.4913, allocations: 289.8 kB / 0.5861 GB, free: 21.48 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005726/0.4919, allocations: 97.97 kB / 0.5862 GB, free: 21.45 MB / 446.1 MB Notification: Performance of SimCode: time 4.21e-07/0.4919, allocations: 0 / 0.5862 GB, free: 21.45 MB / 446.1 MB Notification: Performance of Templates: time 0.0137/0.5056, allocations: 11.23 MB / 0.5972 GB, free: 11.3 MB / 446.1 MB 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)