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.001073/0.001073, allocations: 85.17 kB / 19.87 MB, free: 4.617 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.001165/0.001165, allocations: 169 kB / 23.27 MB, free: 1.223 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.009/1.009, allocations: 177.1 MB / 203.7 MB, free: 5.504 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.001739/0.001739, allocations: 237.5 kB / 260.5 MB, free: 12.66 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.7281/0.7281, allocations: 138.4 MB / 455.5 MB, free: 1.441 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.352e-06/1.352e-06, allocations: 0 / 0.5557 GB, free: 208 kB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.397e-05/1.532e-05, allocations: 6.312 kB / 0.5557 GB, free: 200 kB / 474.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck): time 0.001032/0.001047, allocations: 0.6273 MB / 0.5563 GB, free: 15.57 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.001329/0.002376, allocations: 1.334 MB / 0.5576 GB, free: 14.21 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.943e-05/0.002406, allocations: 0 / 0.5576 GB, free: 14.21 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 1.657e-05/0.002422, allocations: 0 / 0.5576 GB, free: 14.21 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 2.444e-05/0.002447, allocations: 3.938 kB / 0.5576 GB, free: 14.21 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003314/0.002778, allocations: 95.58 kB / 0.5577 GB, free: 14.12 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 4.858e-05/0.002826, allocations: 23.91 kB / 0.5577 GB, free: 14.09 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.564e-05/0.002862, allocations: 4 kB / 0.5577 GB, free: 14.09 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.939e-05/0.002902, allocations: 15.98 kB / 0.5577 GB, free: 14.07 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.051e-05/0.002972, allocations: 11.97 kB / 0.5577 GB, free: 14.06 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 1.276e-05/0.002985, allocations: 0 / 0.5577 GB, free: 14.06 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000219/0.003204, allocations: 111.8 kB / 0.5578 GB, free: 13.95 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 1.061e-05/0.003214, allocations: 0 / 0.5578 GB, free: 13.95 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 2.026e-05/0.003235, allocations: 7.984 kB / 0.5578 GB, free: 13.95 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001349/0.00337, allocations: 95.77 kB / 0.5579 GB, free: 13.85 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.053e-06/0.003372, allocations: 7.875 kB / 0.5579 GB, free: 13.84 MB / 490.7 MB Notification: Performance of FrontEnd: time 6.91e-07/0.003372, allocations: 0 / 0.5579 GB, free: 13.84 MB / 490.7 MB Notification: Performance of Transformations before backend: time 2.906e-06/0.003375, allocations: 0 / 0.5579 GB, free: 13.84 MB / 490.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.0003487/0.003724, allocations: 380.4 kB / 0.5583 GB, free: 13.44 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.014e-05/0.003764, allocations: 12.75 kB / 0.5583 GB, free: 13.43 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.648e-05/0.003791, allocations: 4.938 kB / 0.5583 GB, free: 13.42 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.253e-05/0.003863, allocations: 108.6 kB / 0.5584 GB, free: 13.29 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.095e-05/0.003874, allocations: 4.375 kB / 0.5584 GB, free: 13.29 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.675e-05/0.003891, allocations: 4.375 kB / 0.5584 GB, free: 13.28 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.672e-05/0.003977, allocations: 79.94 kB / 0.5585 GB, free: 13.19 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.067e-06/0.003987, allocations: 192 / 0.5585 GB, free: 13.19 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.402e-06/0.003993, allocations: 384 / 0.5585 GB, free: 13.19 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.753e-06/0.004, allocations: 3.938 kB / 0.5585 GB, free: 13.19 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.683e-05/0.004037, allocations: 23.91 kB / 0.5585 GB, free: 13.16 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00011/0.004147, allocations: 113.1 kB / 0.5587 GB, free: 13.03 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.466e-05/0.004231, allocations: 51.05 kB / 0.5587 GB, free: 12.96 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.365e-05/0.004255, allocations: 27.67 kB / 0.5587 GB, free: 12.93 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001544/0.004409, allocations: 35.97 kB / 0.5588 GB, free: 12.9 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.498e-05/0.004434, allocations: 37.39 kB / 0.5588 GB, free: 12.85 MB / 490.7 MB Notification: Performance of pre-optimization done (n=8): time 9.31e-07/0.004435, allocations: 0 / 0.5588 GB, free: 12.85 MB / 490.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.009397/0.01383, allocations: 5.214 MB / 0.5639 GB, free: 7.539 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.431e-05/0.01387, allocations: 55.41 kB / 0.5639 GB, free: 7.473 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.308e-05/0.01394, allocations: 153.9 kB / 0.5641 GB, free: 7.305 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 4.87e-05/0.01399, allocations: 33.7 kB / 0.5641 GB, free: 7.266 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.631e-05/0.01403, allocations: 126.9 kB / 0.5642 GB, free: 7.137 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.47e-05/0.01411, allocations: 63.42 kB / 0.5643 GB, free: 7.074 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001456/0.01426, allocations: 95.31 kB / 0.5644 GB, free: 6.973 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001139/0.01437, allocations: 0.4923 MB / 0.5649 GB, free: 6.469 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002882/0.01466, allocations: 391.9 kB / 0.5652 GB, free: 6.086 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002968/0.01495, allocations: 399.9 kB / 0.5656 GB, free: 5.695 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008829/0.01584, allocations: 0.9331 MB / 0.5665 GB, free: 4.758 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.21e-07/0.01584, allocations: 0 / 0.5665 GB, free: 4.758 MB / 490.7 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0009253/0.01676, allocations: 0.9767 MB / 0.5675 GB, free: 3.777 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.424e-05/0.01678, allocations: 12.12 kB / 0.5675 GB, free: 3.766 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.851e-06/0.01678, allocations: 0 / 0.5675 GB, free: 3.766 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.113e-05/0.01679, allocations: 0 / 0.5675 GB, free: 3.766 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003336/0.01713, allocations: 91.95 kB / 0.5676 GB, free: 3.676 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.799e-06/0.01713, allocations: 0 / 0.5676 GB, free: 3.676 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001848/0.01732, allocations: 8 kB / 0.5676 GB, free: 3.668 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.071e-05/0.01737, allocations: 35.97 kB / 0.5676 GB, free: 3.633 MB / 490.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.0001469/0.01752, allocations: 164.5 kB / 0.5678 GB, free: 3.461 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.138e-05/0.0176, allocations: 15.89 kB / 0.5678 GB, free: 3.445 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001546/0.01914, allocations: 1.208 MB / 0.569 GB, free: 2.234 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.208e-06/0.01915, allocations: 4 kB / 0.569 GB, free: 2.23 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.054e-06/0.01915, allocations: 0 / 0.569 GB, free: 2.23 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.841e-06/0.01916, allocations: 7.984 kB / 0.569 GB, free: 2.223 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001491/0.02065, allocations: 1.486 MB / 0.5704 GB, free: 0.6953 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.867e-06/0.02065, allocations: 8.016 kB / 0.5705 GB, free: 0.6875 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003903/0.02104, allocations: 107.9 kB / 0.5706 GB, free: 0.582 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.807e-06/0.02104, allocations: 0 / 0.5706 GB, free: 0.582 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.711e-05/0.02109, allocations: 28 kB / 0.5706 GB, free: 0.5547 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.256e-06/0.02109, allocations: 3.938 kB / 0.5706 GB, free: 0.5508 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.743e-06/0.0211, allocations: 0 / 0.5706 GB, free: 0.5508 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001203/0.0223, allocations: 1.141 MB / 0.5717 GB, free: 15.38 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 1.554e-05/0.02232, allocations: 15.84 kB / 0.5717 GB, free: 15.37 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.432e-05/0.02237, allocations: 12 kB / 0.5717 GB, free: 15.36 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002068/0.02258, allocations: 15.94 kB / 0.5717 GB, free: 15.34 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.591e-05/0.02266, allocations: 43.95 kB / 0.5718 GB, free: 15.3 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.508e-05/0.02271, allocations: 32.02 kB / 0.5718 GB, free: 15.27 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 3.986e-05/0.02275, allocations: 119.2 kB / 0.5719 GB, free: 15.15 MB / 0.4948 GB Notification: Performance of sort global known variables: time 6e-08/0.02275, allocations: 0 / 0.5719 GB, free: 15.15 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0004159/0.02316, allocations: 183.7 kB / 0.5721 GB, free: 14.97 MB / 0.4948 GB 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.0003282/0.02349, allocations: 246.7 kB / 0.5723 GB, free: 14.72 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0006319/0.02412, allocations: 0.7454 MB / 0.5731 GB, free: 13.97 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.613e-06/0.02413, allocations: 0 / 0.5731 GB, free: 13.97 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0002826/0.02441, allocations: 364 kB / 0.5734 GB, free: 13.61 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002174/0.02463, allocations: 44 kB / 0.5735 GB, free: 13.57 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001509/0.02613, allocations: 0.6926 MB / 0.5741 GB, free: 12.84 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.559e-05/0.02619, allocations: 77.33 kB / 0.5742 GB, free: 12.75 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.000589/0.02678, allocations: 297.4 kB / 0.5745 GB, free: 12.46 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00053/0.02731, allocations: 166.2 kB / 0.5747 GB, free: 12.29 MB / 0.4948 GB Notification: Performance of SimCode: time 1.213e-06/0.02731, allocations: 0 / 0.5747 GB, free: 12.29 MB / 0.4948 GB Notification: Performance of Templates: time 0.0121/0.03941, allocations: 12.99 MB / 0.5873 GB, free: 15.34 MB / 0.5105 GB " [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.6746093621477485]