Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001007/0.001007, allocations: 80.75 kB / 19.94 MB, free: 4.547 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001191/0.001191, allocations: 181 kB / 23.36 MB, free: 1.133 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.013/1.013, allocations: 177.1 MB / 203.8 MB, free: 5.473 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo): time 0.0017/0.0017, allocations: 245.6 kB / 260.5 MB, free: 12.69 MB / 250.7 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo): time 0.7128/0.7128, allocations: 138.4 MB / 402.2 MB, free: 0.5039 MB / 362.7 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(BuildingSystems.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck") translateModel(BuildingSystems.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.193e-06/1.193e-06, allocations: 0 / 462.4 MB, free: 0.8672 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.153e-05/2.272e-05, allocations: 6.891 kB / 462.4 MB, free: 0.8633 MB / 410.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck): time 0.001223/0.001245, allocations: 0.6318 MB / 463 MB, free: 0.5195 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001359/0.002604, allocations: 1.353 MB / 464.4 MB, free: 15.59 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.22e-05/0.002627, allocations: 0 / 464.4 MB, free: 15.59 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 1.316e-05/0.00264, allocations: 0 / 464.4 MB, free: 15.59 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 1.818e-05/0.002658, allocations: 2.047 kB / 464.4 MB, free: 15.59 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003648/0.003023, allocations: 91.62 kB / 464.5 MB, free: 15.54 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 5.215e-05/0.003075, allocations: 20.83 kB / 464.5 MB, free: 15.54 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.503e-05/0.00311, allocations: 4.047 kB / 464.5 MB, free: 15.54 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.639e-05/0.003146, allocations: 18.91 kB / 464.5 MB, free: 15.53 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.103e-05/0.003207, allocations: 10.38 kB / 464.5 MB, free: 15.53 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 1.126e-05/0.003219, allocations: 2.266 kB / 464.5 MB, free: 15.53 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002164/0.003435, allocations: 106.8 kB / 464.6 MB, free: 15.51 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 1.578e-05/0.003451, allocations: 13.69 kB / 464.6 MB, free: 15.5 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 1.474e-05/0.003466, allocations: 5.5 kB / 464.6 MB, free: 15.5 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001371/0.003603, allocations: 91.89 kB / 464.7 MB, free: 15.47 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.214e-06/0.003605, allocations: 2.125 kB / 464.7 MB, free: 15.47 MB / 426.7 MB Notification: Performance of FrontEnd: time 5.91e-07/0.003606, allocations: 0 / 464.7 MB, free: 15.47 MB / 426.7 MB Notification: Performance of Transformations before backend: time 3.176e-06/0.003609, allocations: 0.75 kB / 464.7 MB, free: 15.47 MB / 426.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.0002927/0.003901, allocations: 254.6 kB / 465 MB, free: 15.23 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.802e-05/0.003929, allocations: 9.719 kB / 465 MB, free: 15.23 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.613e-05/0.003956, allocations: 9.781 kB / 465 MB, free: 15.22 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.674e-05/0.004022, allocations: 114.9 kB / 465.1 MB, free: 15.09 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.576e-06/0.004031, allocations: 2.719 kB / 465.1 MB, free: 15.09 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.031e-05/0.004051, allocations: 4.375 kB / 465.1 MB, free: 15.09 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.363e-05/0.004135, allocations: 72.97 kB / 465.2 MB, free: 15.02 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.987e-06/0.004144, allocations: 2.859 kB / 465.2 MB, free: 15.02 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.693e-06/0.00415, allocations: 384 / 465.2 MB, free: 15.02 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.971e-06/0.004156, allocations: 5.906 kB / 465.2 MB, free: 15.02 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.895e-05/0.004205, allocations: 25 kB / 465.2 MB, free: 15.01 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 7.834e-05/0.004284, allocations: 68.14 kB / 465.3 MB, free: 14.94 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.341e-05/0.004357, allocations: 50.94 kB / 465.3 MB, free: 14.91 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.791e-05/0.004375, allocations: 15.33 kB / 465.3 MB, free: 14.9 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001445/0.00452, allocations: 44.81 kB / 465.4 MB, free: 14.89 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.887e-05/0.004538, allocations: 32.81 kB / 465.4 MB, free: 14.86 MB / 426.7 MB Notification: Performance of pre-optimization done (n=8): time 7.12e-07/0.004539, allocations: 1.375 kB / 465.4 MB, free: 14.86 MB / 426.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.00931/0.01385, allocations: 4.709 MB / 470.1 MB, free: 10.76 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.715e-05/0.01388, allocations: 55.34 kB / 470.2 MB, free: 10.69 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.192e-05/0.01392, allocations: 103.8 kB / 470.3 MB, free: 10.58 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 5.482e-05/0.01397, allocations: 29.7 kB / 470.3 MB, free: 10.54 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.001e-05/0.01399, allocations: 84.12 kB / 470.4 MB, free: 10.46 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.851e-05/0.01407, allocations: 56.09 kB / 470.5 MB, free: 10.4 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001374/0.01421, allocations: 39.48 kB / 470.5 MB, free: 10.36 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 7.433e-05/0.01428, allocations: 322.8 kB / 470.8 MB, free: 10.04 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002446/0.01453, allocations: 312 kB / 471.1 MB, free: 9.73 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002472/0.01478, allocations: 313.1 kB / 471.4 MB, free: 9.426 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007802/0.01556, allocations: 0.7992 MB / 472.2 MB, free: 8.625 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.092e-06/0.01556, allocations: 1.625 kB / 472.2 MB, free: 8.625 MB / 426.7 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0007344/0.01629, allocations: 0.7437 MB / 473 MB, free: 7.875 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.389e-05/0.01631, allocations: 9.656 kB / 473 MB, free: 7.867 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.408e-06/0.01631, allocations: 0 / 473 MB, free: 7.867 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.048e-05/0.01632, allocations: 2.031 kB / 473 MB, free: 7.867 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000297/0.01662, allocations: 47.94 kB / 473 MB, free: 7.82 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.476e-06/0.01662, allocations: 4.547 kB / 473 MB, free: 7.816 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001581/0.01678, allocations: 4 kB / 473 MB, free: 7.812 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.837e-05/0.01682, allocations: 8.609 kB / 473 MB, free: 7.805 MB / 426.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.0001268/0.01694, allocations: 126.4 kB / 473.2 MB, free: 7.672 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.161e-05/0.01702, allocations: 15.92 kB / 473.2 MB, free: 7.656 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001287/0.0183, allocations: 0.963 MB / 474.1 MB, free: 6.789 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.268e-06/0.01831, allocations: 5.5 kB / 474.1 MB, free: 6.785 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.184e-06/0.01831, allocations: 0 / 474.1 MB, free: 6.785 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.228e-06/0.01831, allocations: 0 / 474.1 MB, free: 6.785 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001133/0.01945, allocations: 0.9768 MB / 475.1 MB, free: 5.781 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.943e-06/0.01945, allocations: 0 / 475.1 MB, free: 5.781 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003043/0.01975, allocations: 71.94 kB / 475.2 MB, free: 5.711 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.055e-06/0.01976, allocations: 0 / 475.2 MB, free: 5.711 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.33e-05/0.01979, allocations: 12 kB / 475.2 MB, free: 5.699 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.546e-06/0.01979, allocations: 7.922 kB / 475.2 MB, free: 5.691 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.894e-06/0.01979, allocations: 0.5156 kB / 475.2 MB, free: 5.691 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008837/0.02068, allocations: 0.8651 MB / 476.1 MB, free: 4.809 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.553e-05/0.02069, allocations: 25.02 kB / 476.1 MB, free: 4.785 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.083e-05/0.02074, allocations: 4 kB / 476.1 MB, free: 4.781 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000176/0.02092, allocations: 16 kB / 476.1 MB, free: 4.766 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.771e-05/0.02099, allocations: 20.56 kB / 476.1 MB, free: 4.746 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.367e-05/0.02102, allocations: 8 kB / 476.2 MB, free: 4.738 MB / 426.7 MB Notification: Performance of sorting global known variables: time 8.145e-06/0.02103, allocations: 12.88 kB / 476.2 MB, free: 4.723 MB / 426.7 MB Notification: Performance of sort global known variables: time 7e-08/0.02103, allocations: 0 / 476.2 MB, free: 4.723 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0004111/0.02144, allocations: 187.7 kB / 476.3 MB, free: 4.539 MB / 426.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.0003519/0.02179, allocations: 239.8 kB / 476.6 MB, free: 4.293 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0005372/0.02233, allocations: 0.5748 MB / 477.2 MB, free: 3.715 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.555e-06/0.02233, allocations: 0 / 477.2 MB, free: 3.715 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002328/0.02257, allocations: 257 kB / 477.4 MB, free: 3.457 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001645/0.02273, allocations: 23.59 kB / 477.4 MB, free: 3.438 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001289/0.02402, allocations: 0.521 MB / 478 MB, free: 2.891 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.058e-05/0.02406, allocations: 79.12 kB / 478 MB, free: 2.797 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0005977/0.02466, allocations: 297.4 kB / 478.3 MB, free: 2.508 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004842/0.02514, allocations: 83.34 kB / 478.4 MB, free: 2.426 MB / 426.7 MB Notification: Performance of SimCode: time 4.31e-07/0.02514, allocations: 0 / 478.4 MB, free: 2.426 MB / 426.7 MB Notification: Performance of Templates: time 0.01318/0.03832, allocations: 12.94 MB / 491.3 MB, free: 5.703 MB / 442.7 MB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck.sim & ./BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck -abortSlowSimulation -alarm=240 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.716131651774049]