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.001234/0.001234, 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.001351/0.001351, 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.028/1.028, allocations: 177.1 MB / 203.8 MB, free: 5.477 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.001797/0.001797, allocations: 242.5 kB / 260.5 MB, free: 12.7 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.7486/0.7486, allocations: 138.4 MB / 402.2 MB, free: 0.5352 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.803e-06/1.803e-06, allocations: 1.344 kB / 462.4 MB, free: 0.875 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.338e-05/1.518e-05, allocations: 5.375 kB / 462.4 MB, free: 0.8711 MB / 410.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck): time 0.001312/0.001327, allocations: 0.6773 MB / 463.1 MB, free: 0.5078 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001504/0.00283, allocations: 1.353 MB / 464.5 MB, free: 15.57 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.653e-05/0.002857, allocations: 0 / 464.5 MB, free: 15.57 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 1.429e-05/0.002871, allocations: 0 / 464.5 MB, free: 15.57 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 2.258e-05/0.002894, allocations: 4.594 kB / 464.5 MB, free: 15.57 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003674/0.003261, allocations: 80.41 kB / 464.5 MB, free: 15.53 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 5.319e-05/0.003314, allocations: 20.5 kB / 464.6 MB, free: 15.53 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.676e-05/0.003351, allocations: 2.531 kB / 464.6 MB, free: 15.53 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.155e-05/0.003393, allocations: 19.7 kB / 464.6 MB, free: 15.52 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.577e-05/0.003458, allocations: 13.38 kB / 464.6 MB, free: 15.52 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 1.181e-05/0.00347, allocations: 1.281 kB / 464.6 MB, free: 15.52 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002674/0.003738, allocations: 114.9 kB / 464.7 MB, free: 15.5 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 1.669e-05/0.003754, allocations: 12.23 kB / 464.7 MB, free: 15.49 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 1.742e-05/0.003772, allocations: 7.641 kB / 464.7 MB, free: 15.49 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001463/0.003918, allocations: 95.55 kB / 464.8 MB, free: 15.45 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.124e-06/0.00392, allocations: 0 / 464.8 MB, free: 15.45 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.213e-06/0.003921, allocations: 0.5938 kB / 464.8 MB, free: 15.45 MB / 426.7 MB Notification: Performance of Transformations before backend: time 3.416e-06/0.003925, allocations: 0 / 464.8 MB, free: 15.45 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.0003053/0.00423, allocations: 254.6 kB / 465.1 MB, free: 15.21 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.389e-05/0.004264, allocations: 12.84 kB / 465.1 MB, free: 15.21 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.888e-05/0.004293, allocations: 9.719 kB / 465.1 MB, free: 15.21 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.314e-05/0.004376, allocations: 108.4 kB / 465.2 MB, free: 15.08 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.022e-05/0.004386, allocations: 3.438 kB / 465.2 MB, free: 15.08 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.018e-05/0.004406, allocations: 4.094 kB / 465.2 MB, free: 15.08 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.208e-05/0.004498, allocations: 73.03 kB / 465.3 MB, free: 15.01 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.185e-05/0.00451, allocations: 4.125 kB / 465.3 MB, free: 15.01 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.043e-06/0.004517, allocations: 2.562 kB / 465.3 MB, free: 15.01 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.404e-06/0.004525, allocations: 5.219 kB / 465.3 MB, free: 15 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.864e-05/0.004573, allocations: 18.97 kB / 465.3 MB, free: 15 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.608e-05/0.004669, allocations: 68.92 kB / 465.4 MB, free: 14.93 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.173e-05/0.004751, allocations: 53.25 kB / 465.4 MB, free: 14.89 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.169e-05/0.004773, allocations: 18.73 kB / 465.4 MB, free: 14.89 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001681/0.004941, allocations: 43.06 kB / 465.5 MB, free: 14.88 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.237e-05/0.004963, allocations: 33.66 kB / 465.5 MB, free: 14.84 MB / 426.7 MB Notification: Performance of pre-optimization done (n=8): time 1.263e-06/0.004965, allocations: 1.125 kB / 465.5 MB, free: 14.84 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.01037/0.01533, allocations: 4.706 MB / 470.2 MB, free: 10.68 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.582e-05/0.01536, allocations: 51.41 kB / 470.3 MB, free: 10.62 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.596e-05/0.01542, allocations: 103.9 kB / 470.4 MB, free: 10.51 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 5.102e-05/0.01547, allocations: 25.7 kB / 470.4 MB, free: 10.48 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.3e-05/0.01549, allocations: 85.2 kB / 470.5 MB, free: 10.39 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.532e-05/0.01557, allocations: 55.53 kB / 470.5 MB, free: 10.34 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001421/0.01572, allocations: 45.66 kB / 470.6 MB, free: 10.29 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 7.77e-05/0.01579, allocations: 315.4 kB / 470.9 MB, free: 9.969 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002674/0.01606, allocations: 313.7 kB / 471.2 MB, free: 9.664 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002591/0.01632, allocations: 315.9 kB / 471.5 MB, free: 9.355 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008542/0.01718, allocations: 0.7953 MB / 472.3 MB, free: 8.559 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.924e-06/0.01718, allocations: 4 kB / 472.3 MB, free: 8.555 MB / 426.7 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0008122/0.01799, allocations: 0.7413 MB / 473 MB, free: 7.809 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.141e-05/0.01801, allocations: 13.28 kB / 473.1 MB, free: 7.797 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.754e-06/0.01802, allocations: 0 / 473.1 MB, free: 7.797 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.816e-05/0.01804, allocations: 4.797 kB / 473.1 MB, free: 7.793 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003919/0.01843, allocations: 52.42 kB / 473.1 MB, free: 7.742 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.256e-06/0.01843, allocations: 0.9688 kB / 473.1 MB, free: 7.742 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001753/0.01861, allocations: 12.95 kB / 473.1 MB, free: 7.73 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.597e-05/0.01865, allocations: 7.984 kB / 473.1 MB, free: 7.723 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.0001479/0.0188, allocations: 122.2 kB / 473.3 MB, free: 7.594 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.734e-05/0.01888, allocations: 13.11 kB / 473.3 MB, free: 7.582 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001498/0.02038, allocations: 0.9655 MB / 474.2 MB, free: 6.703 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.807e-06/0.02038, allocations: 4 kB / 474.2 MB, free: 6.699 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.665e-06/0.02038, allocations: 4 kB / 474.2 MB, free: 6.695 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.335e-06/0.02039, allocations: 6.891 kB / 474.2 MB, free: 6.691 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00132/0.02171, allocations: 0.9743 MB / 475.2 MB, free: 5.691 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.729e-06/0.02172, allocations: 4 kB / 475.2 MB, free: 5.688 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003869/0.0221, allocations: 71.89 kB / 475.3 MB, free: 5.617 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.29e-06/0.02211, allocations: 4 kB / 475.3 MB, free: 5.613 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.955e-05/0.02215, allocations: 8 kB / 475.3 MB, free: 5.605 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.958e-06/0.02215, allocations: 4 kB / 475.3 MB, free: 5.602 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.984e-06/0.02215, allocations: 0 / 475.3 MB, free: 5.602 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001017/0.02317, allocations: 0.869 MB / 476.2 MB, free: 4.715 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.73e-05/0.02319, allocations: 19.83 kB / 476.2 MB, free: 4.695 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.405e-05/0.02324, allocations: 8 kB / 476.2 MB, free: 4.688 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001903/0.02343, allocations: 17.31 kB / 476.2 MB, free: 4.672 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.603e-05/0.02353, allocations: 27.89 kB / 476.3 MB, free: 4.645 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.954e-05/0.02357, allocations: 8 kB / 476.3 MB, free: 4.637 MB / 426.7 MB Notification: Performance of sorting global known variables: time 9.348e-06/0.02358, allocations: 4.859 kB / 476.3 MB, free: 4.629 MB / 426.7 MB Notification: Performance of sort global known variables: time 4e-08/0.02358, allocations: 0 / 476.3 MB, free: 4.629 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.000476/0.02405, allocations: 183.7 kB / 476.4 MB, free: 4.449 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.0004076/0.02446, allocations: 239.8 kB / 476.7 MB, free: 4.203 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0006282/0.02509, allocations: 0.5787 MB / 477.3 MB, free: 3.621 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3.998e-06/0.02509, allocations: 8.094 kB / 477.3 MB, free: 3.613 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002554/0.02535, allocations: 257 kB / 477.5 MB, free: 3.355 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001811/0.02553, allocations: 15.94 kB / 477.5 MB, free: 3.34 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00141/0.02694, allocations: 0.5171 MB / 478 MB, free: 2.797 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.739e-05/0.02699, allocations: 79.12 kB / 478.1 MB, free: 2.703 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0006303/0.02762, allocations: 289.5 kB / 478.4 MB, free: 2.422 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005076/0.02813, allocations: 87.34 kB / 478.5 MB, free: 2.336 MB / 426.7 MB Notification: Performance of SimCode: time 6.91e-07/0.02813, allocations: 0 / 478.5 MB, free: 2.336 MB / 426.7 MB Notification: Performance of Templates: time 0.01299/0.04111, allocations: 12.95 MB / 491.4 MB, free: 5.613 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 -s gbode -gbm=radauIIA3 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.680237425956875]