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.001431/0.001432, allocations: 108 kB / 17.03 MB, free: 5.656 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.001638/0.001638, allocations: 190.9 kB / 17.97 MB, free: 5.062 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.312/1.312, allocations: 222.9 MB / 241.7 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7221/0.7221, allocations: 115.1 MB / 406.9 MB, free: 6.359 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001223/0.001223, allocations: 71.91 kB / 494.8 MB, free: 15.86 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3202/0.3214, allocations: 76.13 MB / 0.5576 GB, free: 36.69 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck): time 0.001769/0.3232, allocations: 0.6031 MB / 0.5582 GB, free: 36.33 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001291/0.3245, allocations: 1.279 MB / 0.5594 GB, free: 35.39 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.33e-05/0.3246, allocations: 1.406 kB / 0.5594 GB, free: 35.39 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 1.478e-05/0.3246, allocations: 5.688 kB / 0.5594 GB, free: 35.39 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 1.635e-05/0.3246, allocations: 0 / 0.5594 GB, free: 35.39 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003492/0.325, allocations: 73.19 kB / 0.5595 GB, free: 35.36 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 5.327e-05/0.3251, allocations: 24.33 kB / 0.5595 GB, free: 35.35 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.953e-05/0.3251, allocations: 7.484 kB / 0.5595 GB, free: 35.34 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.162e-05/0.3251, allocations: 15.33 kB / 0.5595 GB, free: 35.34 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.921e-05/0.3252, allocations: 9.406 kB / 0.5595 GB, free: 35.34 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.24e-05/0.3252, allocations: 2.75 kB / 0.5595 GB, free: 35.34 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002196/0.3254, allocations: 108.4 kB / 0.5596 GB, free: 35.3 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 1.446e-05/0.3255, allocations: 4.5 kB / 0.5597 GB, free: 35.3 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 2.358e-05/0.3255, allocations: 17.02 kB / 0.5597 GB, free: 35.29 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001381/0.3256, allocations: 66.3 kB / 0.5597 GB, free: 35.27 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.206e-06/0.3256, allocations: 0 / 0.5597 GB, free: 35.27 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.543e-06/0.3256, allocations: 0.5312 kB / 0.5597 GB, free: 35.27 MB / 446.1 MB Notification: Performance of Transformations before backend: time 9.688e-06/0.3257, allocations: 2.25 kB / 0.5597 GB, free: 35.27 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.0003574/0.326, allocations: 347.9 kB / 0.5601 GB, free: 34.91 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.274e-05/0.3261, allocations: 9.75 kB / 0.5601 GB, free: 34.91 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.12e-05/0.3261, allocations: 6.031 kB / 0.5601 GB, free: 34.9 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.213e-05/0.3262, allocations: 168.1 kB / 0.5602 GB, free: 34.71 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.122e-05/0.3262, allocations: 1.875 kB / 0.5602 GB, free: 34.71 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.547e-05/0.3262, allocations: 9.219 kB / 0.5603 GB, free: 34.7 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001075/0.3263, allocations: 56.69 kB / 0.5603 GB, free: 34.66 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.033e-05/0.3263, allocations: 1.453 kB / 0.5603 GB, free: 34.66 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.016e-05/0.3264, allocations: 5.219 kB / 0.5603 GB, free: 34.66 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.378e-06/0.3264, allocations: 3.5 kB / 0.5603 GB, free: 34.66 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.432e-05/0.3264, allocations: 22.17 kB / 0.5603 GB, free: 34.65 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001258/0.3266, allocations: 165.9 kB / 0.5605 GB, free: 34.45 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001035/0.3267, allocations: 58.02 kB / 0.5606 GB, free: 34.42 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.951e-05/0.3267, allocations: 24.53 kB / 0.5606 GB, free: 34.41 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000364/0.3271, allocations: 0.5656 MB / 0.5611 GB, free: 33.74 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.878e-05/0.3271, allocations: 38.88 kB / 0.5612 GB, free: 33.7 MB / 446.1 MB Notification: Performance of pre-optimization done (n=8): time 1.092e-06/0.3271, allocations: 0 / 0.5612 GB, free: 33.7 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.01943/0.3466, allocations: 4.371 MB / 0.5654 GB, free: 31.97 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.326e-05/0.3466, allocations: 52.5 kB / 0.5655 GB, free: 31.91 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.521e-05/0.3467, allocations: 96.81 kB / 0.5656 GB, free: 31.8 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 6.423e-05/0.3467, allocations: 26.86 kB / 0.5656 GB, free: 31.77 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.771e-05/0.3468, allocations: 84.83 kB / 0.5657 GB, free: 31.69 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.03e-05/0.3469, allocations: 54.97 kB / 0.5657 GB, free: 31.65 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002475/0.3471, allocations: 93.33 kB / 0.5658 GB, free: 31.62 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 5.722e-05/0.3472, allocations: 319 kB / 0.5661 GB, free: 31.3 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00051/0.3477, allocations: 311.2 kB / 0.5664 GB, free: 31.18 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004792/0.3482, allocations: 313.8 kB / 0.5667 GB, free: 31.05 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001433/0.3496, allocations: 0.78 MB / 0.5675 GB, free: 30.71 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.002e-06/0.3496, allocations: 0 / 0.5675 GB, free: 30.71 MB / 446.1 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.001513/0.3512, allocations: 0.8031 MB / 0.5683 GB, free: 30.37 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.727e-05/0.3512, allocations: 4.844 kB / 0.5683 GB, free: 30.37 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.872e-06/0.3512, allocations: 0 / 0.5683 GB, free: 30.37 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.646e-05/0.3512, allocations: 1.25 kB / 0.5683 GB, free: 30.37 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008091/0.352, allocations: 91.98 kB / 0.5684 GB, free: 30.37 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.282e-06/0.352, allocations: 0 / 0.5684 GB, free: 30.37 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004721/0.3525, allocations: 5.656 kB / 0.5684 GB, free: 30.37 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.495e-05/0.3526, allocations: 37.38 kB / 0.5684 GB, free: 30.37 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.0001589/0.3528, allocations: 126.1 kB / 0.5685 GB, free: 30.24 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.294e-05/0.3529, allocations: 4.219 kB / 0.5685 GB, free: 30.24 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002954/0.3558, allocations: 1.4 MB / 0.5699 GB, free: 29.59 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.57e-06/0.3558, allocations: 4.406 kB / 0.5699 GB, free: 29.59 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.151e-06/0.3559, allocations: 1.578 kB / 0.5699 GB, free: 29.59 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.005e-06/0.3559, allocations: 10.59 kB / 0.5699 GB, free: 29.59 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0028/0.3587, allocations: 1.825 MB / 0.5717 GB, free: 28.54 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.845e-06/0.3587, allocations: 1.375 kB / 0.5717 GB, free: 28.54 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007391/0.3594, allocations: 104.9 kB / 0.5718 GB, free: 28.53 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.283e-06/0.3595, allocations: 2.75 kB / 0.5718 GB, free: 28.53 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.062e-05/0.3595, allocations: 41.89 kB / 0.5718 GB, free: 28.51 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.003e-06/0.3596, allocations: 7.484 kB / 0.5718 GB, free: 28.51 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.293e-06/0.3596, allocations: 0 / 0.5718 GB, free: 28.51 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002247/0.3618, allocations: 1.473 MB / 0.5733 GB, free: 27.74 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.887e-05/0.3619, allocations: 87.5 kB / 0.5734 GB, free: 27.64 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.786e-05/0.362, allocations: 10.09 kB / 0.5734 GB, free: 27.64 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004727/0.3624, allocations: 15.23 kB / 0.5734 GB, free: 27.63 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001441/0.3626, allocations: 46.8 kB / 0.5734 GB, free: 27.62 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.01e-05/0.3627, allocations: 32.55 kB / 0.5735 GB, free: 27.62 MB / 446.1 MB Notification: Performance of sorting global known variables: time 2.252e-05/0.3627, allocations: 76.62 kB / 0.5735 GB, free: 27.54 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3627, allocations: 0 / 0.5735 GB, free: 27.54 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0006157/0.3633, allocations: 180.5 kB / 0.5737 GB, free: 27.52 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.0005186/0.3639, allocations: 223.7 kB / 0.5739 GB, free: 27.39 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001175/0.365, allocations: 0.7228 MB / 0.5746 GB, free: 27.1 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.346e-06/0.365, allocations: 5.406 kB / 0.5746 GB, free: 27.1 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006208/0.3657, allocations: 454.5 kB / 0.5751 GB, free: 26.9 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003065/0.366, allocations: 22.19 kB / 0.5751 GB, free: 26.88 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003116/0.3691, allocations: 0.79 MB / 0.5759 GB, free: 26.54 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001712/0.3693, allocations: 0.7193 MB / 0.5766 GB, free: 25.84 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0009488/0.3703, allocations: 293.5 kB / 0.5768 GB, free: 25.68 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005456/0.3708, allocations: 94.33 kB / 0.5769 GB, free: 25.67 MB / 446.1 MB Notification: Performance of SimCode: time 2.91e-07/0.3708, allocations: 4 kB / 0.5769 GB, free: 25.67 MB / 446.1 MB Notification: Performance of Templates: time 0.01879/0.3896, allocations: 11.21 MB / 0.5879 GB, free: 21.01 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 -s gbode -lv LOG_STATS > IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck.pipe 2>&1)