Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.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.0008131/0.0008131, allocations: 76.55 kB / 19.93 MB, free: 4.633 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.0008482/0.0008482, allocations: 181.9 kB / 23.22 MB, free: 1.348 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 0.9034/0.9034, allocations: 177.1 MB / 203.5 MB, free: 5.738 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.764/1.764, allocations: 377.8 MB / 0.6228 GB, free: 8.703 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/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(Buildings.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|x|y|der.x.|der.y.|d2y|d3y",fileNamePrefix="Buildings_12_Buildings.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck") translateModel(Buildings.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|x|y|der.x.|der.y.|d2y|d3y",fileNamePrefix="Buildings_12_Buildings.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.754e-06/1.754e-06, allocations: 0 / 0.9822 GB, free: 0.9219 MB / 0.8855 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.159e-05/3.334e-05, allocations: 6.219 kB / 0.9823 GB, free: 0.9141 MB / 0.8855 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck): time 0.00159/0.001623, allocations: 0.6219 MB / 0.9829 GB, free: 304 kB / 0.8855 GB Notification: Performance of NFInst.instExpressions: time 0.001783/0.003407, allocations: 1.303 MB / 0.9841 GB, free: 14.98 MB / 0.9011 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.091e-05/0.003438, allocations: 0 / 0.9841 GB, free: 14.98 MB / 0.9011 GB Notification: Performance of NFTyping.typeComponents: time 1.89e-05/0.003456, allocations: 3.938 kB / 0.9841 GB, free: 14.97 MB / 0.9011 GB Notification: Performance of NFTyping.typeBindings: time 2.308e-05/0.00348, allocations: 0 / 0.9841 GB, free: 14.97 MB / 0.9011 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004557/0.003935, allocations: 91.59 kB / 0.9842 GB, free: 14.88 MB / 0.9011 GB Notification: Performance of NFFlatten.flatten: time 8.806e-05/0.004023, allocations: 19.92 kB / 0.9842 GB, free: 14.86 MB / 0.9011 GB Notification: Performance of NFFlatten.resolveConnections: time 4.716e-05/0.00407, allocations: 8 kB / 0.9842 GB, free: 14.86 MB / 0.9011 GB Notification: Performance of NFEvalConstants.evaluate: time 3.717e-05/0.004108, allocations: 11.98 kB / 0.9843 GB, free: 14.84 MB / 0.9011 GB Notification: Performance of NFSimplifyModel.simplify: time 7.018e-05/0.004178, allocations: 15.97 kB / 0.9843 GB, free: 14.83 MB / 0.9011 GB Notification: Performance of NFPackage.collectConstants: time 1.312e-05/0.004191, allocations: 0 / 0.9843 GB, free: 14.83 MB / 0.9011 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000241/0.004432, allocations: 107.8 kB / 0.9844 GB, free: 14.72 MB / 0.9011 GB Notification: Performance of NFScalarize.scalarize: time 1.526e-05/0.004447, allocations: 11.92 kB / 0.9844 GB, free: 14.71 MB / 0.9011 GB Notification: Performance of NFVerifyModel.verify: time 1.877e-05/0.004466, allocations: 7.984 kB / 0.9844 GB, free: 14.7 MB / 0.9011 GB Notification: Performance of NFConvertDAE.convert: time 0.0001602/0.004626, allocations: 91.75 kB / 0.9845 GB, free: 14.61 MB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 2.394e-06/0.004629, allocations: 4 kB / 0.9845 GB, free: 14.61 MB / 0.9011 GB Notification: Performance of FrontEnd: time 1.322e-06/0.00463, allocations: 0 / 0.9845 GB, free: 14.61 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 4.108e-06/0.004634, allocations: 0 / 0.9845 GB, free: 14.61 MB / 0.9011 GB 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.0004113/0.005045, allocations: 282.1 kB / 0.9848 GB, free: 14.3 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 4.022e-05/0.005086, allocations: 12.03 kB / 0.9848 GB, free: 14.29 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.629e-05/0.005122, allocations: 0.9375 kB / 0.9848 GB, free: 14.29 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.431e-05/0.005206, allocations: 105.8 kB / 0.9849 GB, free: 14.16 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.104e-05/0.005217, allocations: 384 / 0.9849 GB, free: 14.16 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.571e-05/0.005243, allocations: 8.375 kB / 0.9849 GB, free: 14.16 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001297/0.005373, allocations: 75.94 kB / 0.985 GB, free: 14.07 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.222e-05/0.005385, allocations: 8.141 kB / 0.985 GB, free: 14.06 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.175e-05/0.005397, allocations: 4.375 kB / 0.985 GB, free: 14.06 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.354e-06/0.005404, allocations: 11.81 kB / 0.985 GB, free: 14.05 MB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.661e-05/0.005461, allocations: 23.98 kB / 0.985 GB, free: 14.02 MB / 0.9011 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001297/0.00559, allocations: 109.2 kB / 0.9851 GB, free: 13.89 MB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001063/0.005697, allocations: 54.56 kB / 0.9852 GB, free: 13.82 MB / 0.9011 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.205e-05/0.005729, allocations: 24.84 kB / 0.9852 GB, free: 13.8 MB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002089/0.005937, allocations: 39.97 kB / 0.9852 GB, free: 13.76 MB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.462e-05/0.005962, allocations: 34.8 kB / 0.9852 GB, free: 13.71 MB / 0.9011 GB Notification: Performance of pre-optimization done (n=8): time 9.01e-07/0.005963, allocations: 3.938 kB / 0.9853 GB, free: 13.71 MB / 0.9011 GB 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.01071/0.01667, allocations: 4.174 MB / 0.9893 GB, free: 9.434 MB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.6e-05/0.01671, allocations: 59.34 kB / 0.9894 GB, free: 9.363 MB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.302e-05/0.01676, allocations: 93.86 kB / 0.9895 GB, free: 9.262 MB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 5.861e-05/0.01682, allocations: 33.7 kB / 0.9895 GB, free: 9.223 MB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 2.292e-05/0.01684, allocations: 84 kB / 0.9896 GB, free: 9.137 MB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 9.095e-05/0.01693, allocations: 59.48 kB / 0.9896 GB, free: 9.078 MB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001544/0.01709, allocations: 89.66 kB / 0.9897 GB, free: 8.984 MB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 8.007e-05/0.01717, allocations: 318.8 kB / 0.99 GB, free: 8.664 MB / 0.9011 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003651/0.01753, allocations: 311.9 kB / 0.9903 GB, free: 8.359 MB / 0.9011 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000348/0.01788, allocations: 307.9 kB / 0.9906 GB, free: 8.059 MB / 0.9011 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001045/0.01892, allocations: 0.7724 MB / 0.9914 GB, free: 7.285 MB / 0.9011 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.413e-06/0.01893, allocations: 0 / 0.9914 GB, free: 7.285 MB / 0.9011 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.001054/0.01998, allocations: 0.8004 MB / 0.9922 GB, free: 6.48 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 1.915e-05/0.02, allocations: 19.88 kB / 0.9922 GB, free: 6.461 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.061e-06/0.02001, allocations: 0 / 0.9922 GB, free: 6.461 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.587e-05/0.02002, allocations: 0 / 0.9922 GB, free: 6.461 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003927/0.02041, allocations: 95.94 kB / 0.9923 GB, free: 6.367 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.342e-06/0.02042, allocations: 0 / 0.9923 GB, free: 6.367 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002015/0.02062, allocations: 8 kB / 0.9923 GB, free: 6.359 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.223e-05/0.02067, allocations: 35.98 kB / 0.9923 GB, free: 6.324 MB / 0.9011 GB 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.0001434/0.02082, allocations: 117.8 kB / 0.9924 GB, free: 6.199 MB / 0.9011 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.541e-05/0.02087, allocations: 11.89 kB / 0.9924 GB, free: 6.188 MB / 0.9011 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00191/0.02278, allocations: 1.399 MB / 0.9938 GB, free: 4.781 MB / 0.9011 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.632e-06/0.02279, allocations: 4 kB / 0.9938 GB, free: 4.777 MB / 0.9011 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.051e-06/0.0228, allocations: 0 / 0.9938 GB, free: 4.777 MB / 0.9011 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.779e-06/0.0228, allocations: 4 kB / 0.9938 GB, free: 4.773 MB / 0.9011 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001982/0.02478, allocations: 1.663 MB / 0.9954 GB, free: 3.07 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.256e-06/0.02479, allocations: 4.031 kB / 0.9954 GB, free: 3.066 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003818/0.02517, allocations: 107.9 kB / 0.9955 GB, free: 2.961 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.148e-06/0.02517, allocations: 0 / 0.9955 GB, free: 2.961 MB / 0.9011 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.493e-05/0.02522, allocations: 28 kB / 0.9956 GB, free: 2.934 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.43e-06/0.02522, allocations: 3.984 kB / 0.9956 GB, free: 2.93 MB / 0.9011 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.076e-06/0.02523, allocations: 3.938 kB / 0.9956 GB, free: 2.926 MB / 0.9011 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001666/0.02689, allocations: 1.467 MB / 0.997 GB, free: 1.441 MB / 0.9011 GB Notification: Performance of postOpt removeConstants (simulation): time 1.863e-05/0.02691, allocations: 15.88 kB / 0.997 GB, free: 1.426 MB / 0.9011 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.73e-05/0.02697, allocations: 11.98 kB / 0.997 GB, free: 1.414 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002237/0.02719, allocations: 8 kB / 0.997 GB, free: 1.406 MB / 0.9011 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.94e-05/0.02728, allocations: 48.02 kB / 0.9971 GB, free: 1.359 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.607e-05/0.02733, allocations: 32 kB / 0.9971 GB, free: 1.328 MB / 0.9011 GB Notification: Performance of sorting global known variables: time 2.623e-05/0.02735, allocations: 75.28 kB / 0.9972 GB, free: 1.254 MB / 0.9011 GB Notification: Performance of sort global known variables: time 8e-08/0.02735, allocations: 3.938 kB / 0.9972 GB, free: 1.25 MB / 0.9011 GB Notification: Performance of remove unused functions: time 0.0004492/0.0278, allocations: 187.6 kB / 0.9974 GB, free: 1.066 MB / 0.9011 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.0004122/0.02821, allocations: 250.7 kB / 0.9976 GB, free: 0.8125 MB / 0.9011 GB Notification: Performance of simCode: created initialization part: time 0.0008774/0.02909, allocations: 0.7183 MB / 0.9983 GB, free: 96 kB / 0.9011 GB Notification: Performance of simCode: created event and clocks part: time 2.966e-06/0.02909, allocations: 0 / 0.9983 GB, free: 96 kB / 0.9011 GB Notification: Performance of simCode: created simulation system equations: time 0.000429/0.02952, allocations: 403.8 kB / 0.9987 GB, free: 15.7 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002475/0.02977, allocations: 22.62 kB / 0.9987 GB, free: 15.68 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00181/0.03158, allocations: 0.8063 MB / 0.9995 GB, free: 14.84 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.121e-05/0.03166, allocations: 99.59 kB / 0.9996 GB, free: 14.72 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003999/0.03206, allocations: 100.4 kB / 0.9997 GB, free: 14.62 MB / 0.9167 GB Notification: Performance of SimCode: time 7.02e-07/0.03206, allocations: 4 kB / 0.9997 GB, free: 14.62 MB / 0.9167 GB Notification: Performance of Templates: time 0.008355/0.04042, allocations: 7.146 MB / 1.007 GB, free: 7.527 MB / 0.9167 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck.pipe ; mkfifo Buildings_12_Buildings.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck.pipe >> ../files/Buildings_12_Buildings.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck.sim & ./Buildings_12_Buildings.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck.pipe 2>&1) [Timeout 400] [Calling os._exit(0), Time elapsed: 7.171125416643918] Failed to read output from testmodel.py, exit status != 0: 0.04866494983434677 0.056909869 0.050490972 Calling exit ...