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.002005/0.002006, allocations: 182.7 kB / 16.63 MB, free: 5.117 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.4852/0.4852, allocations: 87.49 MB / 104.9 MB, free: 13.04 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.393/1.393, allocations: 222.9 MB / 349.1 MB, free: 2.762 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001022/0.001022, allocations: 112.3 kB / 420 MB, free: 8.5 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001146/0.001146, allocations: 55.92 kB / 0.4891 GB, free: 7.695 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3621/0.3633, allocations: 70.06 MB / 0.5575 GB, free: 44.93 MB / 410.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck): time 0.001628/0.3649, allocations: 0.6609 MB / 0.5582 GB, free: 44.44 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001301/0.3662, allocations: 1.284 MB / 0.5594 GB, free: 43.25 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.624e-05/0.3663, allocations: 0 / 0.5594 GB, free: 43.25 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 1.328e-05/0.3663, allocations: 1.938 kB / 0.5594 GB, free: 43.25 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 2.054e-05/0.3663, allocations: 3.938 kB / 0.5594 GB, free: 43.25 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002763/0.3666, allocations: 59.86 kB / 0.5595 GB, free: 43.19 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 4.836e-05/0.3667, allocations: 23.11 kB / 0.5595 GB, free: 43.17 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.533e-05/0.3667, allocations: 4 kB / 0.5595 GB, free: 43.16 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 1.703e-05/0.3667, allocations: 8 kB / 0.5595 GB, free: 43.16 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.5e-05/0.3668, allocations: 15.91 kB / 0.5595 GB, free: 43.14 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.185e-05/0.3668, allocations: 4 kB / 0.5595 GB, free: 43.14 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001765/0.367, allocations: 103.8 kB / 0.5596 GB, free: 43.04 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 1.232e-05/0.367, allocations: 3.984 kB / 0.5596 GB, free: 43.03 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 2.066e-05/0.367, allocations: 15.92 kB / 0.5596 GB, free: 43.02 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000112/0.3672, allocations: 67.86 kB / 0.5597 GB, free: 42.95 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.335e-06/0.3672, allocations: 0.9375 kB / 0.5597 GB, free: 42.95 MB / 410.7 MB Notification: Performance of FrontEnd: time 7.52e-07/0.3672, allocations: 0 / 0.5597 GB, free: 42.95 MB / 410.7 MB Notification: Performance of Transformations before backend: time 3.156e-06/0.3672, allocations: 3.75 kB / 0.5597 GB, free: 42.95 MB / 410.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.0003623/0.3676, allocations: 353.6 kB / 0.56 GB, free: 42.56 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.26e-05/0.3676, allocations: 8.031 kB / 0.5601 GB, free: 42.55 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.363e-05/0.3676, allocations: 4.938 kB / 0.5601 GB, free: 42.55 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.418e-05/0.3677, allocations: 160.4 kB / 0.5602 GB, free: 42.35 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.189e-05/0.3677, allocations: 4.375 kB / 0.5602 GB, free: 42.35 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.073e-05/0.3677, allocations: 8.359 kB / 0.5602 GB, free: 42.34 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.898e-05/0.3679, allocations: 57.94 kB / 0.5603 GB, free: 42.28 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.201e-05/0.3679, allocations: 3.906 kB / 0.5603 GB, free: 42.27 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.062e-05/0.3679, allocations: 11.94 kB / 0.5603 GB, free: 42.26 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.807e-06/0.3679, allocations: 0 / 0.5603 GB, free: 42.26 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.563e-05/0.368, allocations: 19.98 kB / 0.5603 GB, free: 42.24 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001216/0.3681, allocations: 173.6 kB / 0.5605 GB, free: 42.02 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.874e-05/0.3682, allocations: 58.56 kB / 0.5605 GB, free: 41.96 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.72e-05/0.3682, allocations: 28.84 kB / 0.5606 GB, free: 41.93 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003539/0.3686, allocations: 0.5622 MB / 0.5611 GB, free: 41.23 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.917e-05/0.3686, allocations: 38.5 kB / 0.5611 GB, free: 41.19 MB / 410.7 MB Notification: Performance of pre-optimization done (n=8): time 1.082e-06/0.3686, allocations: 0 / 0.5611 GB, free: 41.19 MB / 410.7 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.01937/0.388, allocations: 4.361 MB / 0.5654 GB, free: 36.67 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.747e-05/0.3881, allocations: 55.41 kB / 0.5655 GB, free: 36.6 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.692e-05/0.3881, allocations: 93.86 kB / 0.5655 GB, free: 36.5 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 6.169e-05/0.3882, allocations: 25.7 kB / 0.5656 GB, free: 36.47 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.471e-05/0.3882, allocations: 80.14 kB / 0.5657 GB, free: 36.39 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001144/0.3883, allocations: 67.22 kB / 0.5657 GB, free: 36.32 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002763/0.3886, allocations: 93.67 kB / 0.5658 GB, free: 36.22 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 7.426e-05/0.3887, allocations: 318.8 kB / 0.5661 GB, free: 35.9 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000578/0.3893, allocations: 315.8 kB / 0.5664 GB, free: 35.59 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000511/0.3898, allocations: 307.9 kB / 0.5667 GB, free: 35.29 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001249/0.3911, allocations: 0.7758 MB / 0.5675 GB, free: 34.52 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.163e-06/0.3911, allocations: 0 / 0.5675 GB, free: 34.52 MB / 410.7 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.001273/0.3924, allocations: 0.7998 MB / 0.5682 GB, free: 33.71 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.693e-05/0.3924, allocations: 4 kB / 0.5682 GB, free: 33.71 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.522e-06/0.3924, allocations: 4 kB / 0.5682 GB, free: 33.7 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.933e-05/0.3924, allocations: 0 / 0.5682 GB, free: 33.7 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008292/0.3933, allocations: 95.94 kB / 0.5683 GB, free: 33.61 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.568e-06/0.3933, allocations: 0.9375 kB / 0.5683 GB, free: 33.61 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005439/0.3938, allocations: 8 kB / 0.5683 GB, free: 33.6 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.737e-05/0.3939, allocations: 35.98 kB / 0.5684 GB, free: 33.57 MB / 410.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 () * 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.0001554/0.3941, allocations: 125.7 kB / 0.5685 GB, free: 33.43 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.546e-05/0.3942, allocations: 7.906 kB / 0.5685 GB, free: 33.43 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003061/0.3972, allocations: 1.399 MB / 0.5699 GB, free: 32.02 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.54e-06/0.3973, allocations: 4 kB / 0.5699 GB, free: 32.02 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.94e-06/0.3973, allocations: 0 / 0.5699 GB, free: 32.02 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.32e-06/0.3973, allocations: 3.938 kB / 0.5699 GB, free: 32.02 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002378/0.3997, allocations: 1.829 MB / 0.5717 GB, free: 30.13 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.788e-06/0.3997, allocations: 0 / 0.5717 GB, free: 30.13 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007556/0.4004, allocations: 107.9 kB / 0.5718 GB, free: 30.02 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.861e-06/0.4005, allocations: 0 / 0.5718 GB, free: 30.02 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.621e-05/0.4005, allocations: 31.94 kB / 0.5718 GB, free: 29.99 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.659e-06/0.4005, allocations: 8.031 kB / 0.5718 GB, free: 29.98 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.613e-06/0.4005, allocations: 0 / 0.5718 GB, free: 29.98 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004351/0.4049, allocations: 3.047 MB / 0.5748 GB, free: 26.8 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.503e-05/0.4049, allocations: 96.88 kB / 0.5749 GB, free: 26.68 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.906e-05/0.405, allocations: 16.16 kB / 0.5749 GB, free: 26.67 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005443/0.4056, allocations: 8 kB / 0.5749 GB, free: 26.66 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000139/0.4057, allocations: 43.97 kB / 0.5749 GB, free: 26.62 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.568e-05/0.4058, allocations: 32 kB / 0.575 GB, free: 26.59 MB / 410.7 MB Notification: Performance of sorting global known variables: time 1.984e-05/0.4058, allocations: 79.27 kB / 0.5751 GB, free: 26.51 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4058, allocations: 0 / 0.5751 GB, free: 26.51 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0006036/0.4064, allocations: 176 kB / 0.5752 GB, free: 26.34 MB / 410.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 () * 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.000478/0.4069, allocations: 223.2 kB / 0.5754 GB, free: 26.11 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.001035/0.408, allocations: 0.73 MB / 0.5761 GB, free: 25.38 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.835e-06/0.408, allocations: 0 / 0.5761 GB, free: 25.38 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005306/0.4085, allocations: 443.8 kB / 0.5766 GB, free: 24.94 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002955/0.4088, allocations: 26.8 kB / 0.5766 GB, free: 24.92 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003302/0.4121, allocations: 1.076 MB / 0.5776 GB, free: 23.8 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001287/0.4123, allocations: 0.7262 MB / 0.5784 GB, free: 23.04 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.001402/0.4137, allocations: 293.5 kB / 0.5786 GB, free: 22.76 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005382/0.4142, allocations: 99.41 kB / 0.5787 GB, free: 22.66 MB / 410.7 MB Notification: Performance of SimCode: time 5.51e-07/0.4142, allocations: 0 / 0.5787 GB, free: 22.66 MB / 410.7 MB Notification: Performance of Templates: time 0.01526/0.4295, allocations: 11.21 MB / 0.5897 GB, free: 11.48 MB / 410.7 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)