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.001439/0.001439, allocations: 104.2 kB / 16.64 MB, free: 6.82 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.00165/0.00165, allocations: 193.9 kB / 17.57 MB, free: 5.934 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.333/1.333, allocations: 222.9 MB / 241.2 MB, free: 15.45 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7543/0.7543, allocations: 122.9 MB / 414.2 MB, free: 40 kB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002056/0.002056, allocations: 63.89 kB / 0.4913 GB, free: 7.793 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.363/0.3651, allocations: 77.91 MB / 0.5673 GB, free: 32.65 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck): time 0.001751/0.3669, allocations: 0.6735 MB / 0.568 GB, free: 32.23 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001349/0.3683, allocations: 1.275 MB / 0.5692 GB, free: 31.29 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.262e-05/0.3683, allocations: 1.531 kB / 0.5692 GB, free: 31.29 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 1.529e-05/0.3683, allocations: 5.188 kB / 0.5692 GB, free: 31.29 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 2.177e-05/0.3684, allocations: 0 / 0.5692 GB, free: 31.29 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003684/0.3688, allocations: 66.48 kB / 0.5693 GB, free: 31.26 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 5.149e-05/0.3688, allocations: 18.09 kB / 0.5693 GB, free: 31.26 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.551e-05/0.3689, allocations: 7.609 kB / 0.5693 GB, free: 31.25 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.143e-05/0.3689, allocations: 16.23 kB / 0.5693 GB, free: 31.25 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.796e-05/0.3689, allocations: 12.58 kB / 0.5694 GB, free: 31.24 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.031e-05/0.369, allocations: 5.156 kB / 0.5694 GB, free: 31.24 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002144/0.3692, allocations: 100.1 kB / 0.5695 GB, free: 31.21 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 1.49e-05/0.3692, allocations: 11.38 kB / 0.5695 GB, free: 31.21 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 2.666e-05/0.3692, allocations: 9.312 kB / 0.5695 GB, free: 31.2 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001047/0.3693, allocations: 45.52 kB / 0.5695 GB, free: 31.19 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.677e-06/0.3694, allocations: 0 / 0.5695 GB, free: 31.19 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.542e-06/0.3694, allocations: 0.6875 kB / 0.5695 GB, free: 31.19 MB / 446.1 MB Notification: Performance of Transformations before backend: time 4.247e-06/0.3694, allocations: 0 / 0.5695 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.0003509/0.3697, allocations: 350.3 kB / 0.5699 GB, free: 30.83 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.521e-05/0.3698, allocations: 12.22 kB / 0.5699 GB, free: 30.83 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.446e-05/0.3698, allocations: 7.547 kB / 0.5699 GB, free: 30.82 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.319e-05/0.3699, allocations: 162.2 kB / 0.57 GB, free: 30.63 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.077e-06/0.3699, allocations: 3.203 kB / 0.57 GB, free: 30.63 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.497e-05/0.3699, allocations: 12.25 kB / 0.57 GB, free: 30.62 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001109/0.37, allocations: 52.16 kB / 0.5701 GB, free: 30.58 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.113e-05/0.3701, allocations: 0.7188 kB / 0.5701 GB, free: 30.58 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.167e-05/0.3701, allocations: 4.969 kB / 0.5701 GB, free: 30.58 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.42e-06/0.3701, allocations: 3.141 kB / 0.5701 GB, free: 30.58 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.236e-05/0.3702, allocations: 22.05 kB / 0.5701 GB, free: 30.57 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001251/0.3703, allocations: 167 kB / 0.5703 GB, free: 30.38 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.956e-05/0.3704, allocations: 62.72 kB / 0.5703 GB, free: 30.34 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.728e-05/0.3704, allocations: 23.75 kB / 0.5704 GB, free: 30.32 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003483/0.3708, allocations: 0.5601 MB / 0.5709 GB, free: 29.66 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.662e-05/0.3708, allocations: 42.83 kB / 0.571 GB, free: 29.62 MB / 446.1 MB Notification: Performance of pre-optimization done (n=8): time 1.142e-06/0.3708, allocations: 0 / 0.571 GB, free: 29.62 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.01966/0.3905, allocations: 4.379 MB / 0.5752 GB, free: 27.87 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.637e-05/0.3905, allocations: 54.23 kB / 0.5753 GB, free: 27.81 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.897e-05/0.3906, allocations: 95.84 kB / 0.5754 GB, free: 27.71 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 7.006e-05/0.3907, allocations: 26.92 kB / 0.5754 GB, free: 27.68 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.341e-05/0.3907, allocations: 81.17 kB / 0.5755 GB, free: 27.59 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001055/0.3908, allocations: 59.02 kB / 0.5755 GB, free: 27.55 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002564/0.3911, allocations: 93.39 kB / 0.5756 GB, free: 27.52 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.779e-05/0.3911, allocations: 324 kB / 0.5759 GB, free: 27.2 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005295/0.3917, allocations: 310.7 kB / 0.5762 GB, free: 27.07 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004868/0.3922, allocations: 309.8 kB / 0.5765 GB, free: 26.95 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0014/0.3936, allocations: 0.772 MB / 0.5773 GB, free: 26.61 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.342e-06/0.3936, allocations: 1.375 kB / 0.5773 GB, free: 26.61 MB / 446.1 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.001539/0.3951, allocations: 0.798 MB / 0.5781 GB, free: 26.28 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.772e-05/0.3951, allocations: 4.188 kB / 0.5781 GB, free: 26.28 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.825e-06/0.3952, allocations: 2.344 kB / 0.5781 GB, free: 26.28 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.603e-05/0.3952, allocations: 3.938 kB / 0.5781 GB, free: 26.27 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000799/0.396, allocations: 103.7 kB / 0.5782 GB, free: 26.26 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.895e-06/0.396, allocations: 1.469 kB / 0.5782 GB, free: 26.26 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004787/0.3965, allocations: 5.406 kB / 0.5782 GB, free: 26.26 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.849e-05/0.3966, allocations: 37.39 kB / 0.5782 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.0001856/0.3968, allocations: 117.2 kB / 0.5783 GB, free: 26.14 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.595e-05/0.3969, allocations: 4.219 kB / 0.5783 GB, free: 26.14 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003332/0.4002, allocations: 1.401 MB / 0.5797 GB, free: 25.49 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.823e-06/0.4002, allocations: 11.62 kB / 0.5797 GB, free: 25.48 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.929e-06/0.4002, allocations: 1.531 kB / 0.5797 GB, free: 25.48 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.464e-06/0.4003, allocations: 2.062 kB / 0.5797 GB, free: 25.48 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002749/0.403, allocations: 1.821 MB / 0.5815 GB, free: 24.43 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.967e-06/0.403, allocations: 0 / 0.5815 GB, free: 24.43 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007633/0.4038, allocations: 110.8 kB / 0.5816 GB, free: 24.42 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.813e-06/0.4038, allocations: 1.562 kB / 0.5816 GB, free: 24.42 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.25e-05/0.4039, allocations: 31.5 kB / 0.5816 GB, free: 24.41 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.358e-06/0.4039, allocations: 1.219 kB / 0.5816 GB, free: 24.41 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.695e-06/0.4039, allocations: 1.5 kB / 0.5816 GB, free: 24.41 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002247/0.4062, allocations: 1.475 MB / 0.5831 GB, free: 23.64 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.062e-05/0.4062, allocations: 87.16 kB / 0.5831 GB, free: 23.55 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.762e-05/0.4063, allocations: 15.17 kB / 0.5832 GB, free: 23.54 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004945/0.4068, allocations: 14.84 kB / 0.5832 GB, free: 23.53 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001641/0.407, allocations: 42.44 kB / 0.5832 GB, free: 23.52 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.064e-05/0.4071, allocations: 31.88 kB / 0.5832 GB, free: 23.52 MB / 446.1 MB Notification: Performance of sorting global known variables: time 2.444e-05/0.4071, allocations: 85.34 kB / 0.5833 GB, free: 23.44 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.4071, allocations: 0 / 0.5833 GB, free: 23.44 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0006785/0.4078, allocations: 176.5 kB / 0.5835 GB, free: 23.41 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.0006344/0.4084, allocations: 219.7 kB / 0.5837 GB, free: 23.29 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001359/0.4098, allocations: 0.7427 MB / 0.5844 GB, free: 22.99 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.537e-06/0.4098, allocations: 0 / 0.5844 GB, free: 22.99 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006392/0.4105, allocations: 451.2 kB / 0.5849 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.0003382/0.4108, allocations: 24.88 kB / 0.5849 GB, free: 22.77 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003252/0.4141, allocations: 0.8792 MB / 0.5857 GB, free: 22.33 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001433/0.4142, allocations: 0.7175 MB / 0.5864 GB, free: 21.62 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005895/0.4148, allocations: 95.34 kB / 0.5865 GB, free: 21.6 MB / 446.1 MB Notification: Performance of SimCode: time 8.31e-07/0.4148, allocations: 0 / 0.5865 GB, free: 21.6 MB / 446.1 MB Notification: Performance of Templates: time 0.01097/0.4258, allocations: 6.881 MB / 0.5933 GB, free: 15.97 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)