Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_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.001861/0.001861, allocations: 80.52 kB / 19.95 MB, free: 4.602 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.002062/0.002062, allocations: 173.2 kB / 23.24 MB, free: 1.324 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.633/1.633, allocations: 177.1 MB / 203.5 MB, free: 5.75 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo): time 3.198/3.198, allocations: 389.5 MB / 0.6343 GB, free: 12.6 MB / 0.6042 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.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="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck") translateModel(Buildings.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.263e-06/1.263e-06, allocations: 0 / 1.001 GB, free: 12.95 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.447e-05/2.573e-05, allocations: 6.219 kB / 1.001 GB, free: 12.95 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck): time 0.001626/0.001652, allocations: 0.6225 MB / 1.002 GB, free: 12.33 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.001993/0.003645, allocations: 1.304 MB / 1.003 GB, free: 11.01 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.223e-05/0.003677, allocations: 4 kB / 1.003 GB, free: 11 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 1.716e-05/0.003694, allocations: 3.938 kB / 1.003 GB, free: 11 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 2.079e-05/0.003715, allocations: 7.938 kB / 1.003 GB, free: 10.99 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003995/0.004115, allocations: 87.59 kB / 1.003 GB, free: 10.91 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 6.086e-05/0.004176, allocations: 15.98 kB / 1.003 GB, free: 10.89 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 4.216e-05/0.004218, allocations: 4 kB / 1.003 GB, free: 10.89 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 4.951e-05/0.004267, allocations: 15.97 kB / 1.003 GB, free: 10.87 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 6.674e-05/0.004334, allocations: 15.92 kB / 1.003 GB, free: 10.86 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 1.418e-05/0.004348, allocations: 0 / 1.003 GB, free: 10.86 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002897/0.004638, allocations: 107.9 kB / 1.003 GB, free: 10.75 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 1.859e-05/0.004656, allocations: 11.98 kB / 1.003 GB, free: 10.74 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 1.961e-05/0.004676, allocations: 3.984 kB / 1.003 GB, free: 10.73 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.0001943/0.00487, allocations: 95.69 kB / 1.003 GB, free: 10.64 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 1.984e-06/0.004872, allocations: 0 / 1.003 GB, free: 10.64 MB / 0.9636 GB Notification: Performance of FrontEnd: time 6.41e-07/0.004873, allocations: 0 / 1.003 GB, free: 10.64 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 3.426e-06/0.004876, allocations: 0 / 1.003 GB, free: 10.64 MB / 0.9636 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.0004667/0.005343, allocations: 270.2 kB / 1.004 GB, free: 10.35 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 3.904e-05/0.005382, allocations: 13.34 kB / 1.004 GB, free: 10.34 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.624e-05/0.005418, allocations: 8.875 kB / 1.004 GB, free: 10.33 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001166/0.005535, allocations: 117.7 kB / 1.004 GB, free: 10.19 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.134e-05/0.005546, allocations: 384 / 1.004 GB, free: 10.19 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.56e-05/0.005572, allocations: 8.375 kB / 1.004 GB, free: 10.18 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001498/0.005722, allocations: 79.94 kB / 1.004 GB, free: 10.09 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.112e-05/0.005733, allocations: 192 / 1.004 GB, free: 10.09 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.217e-05/0.005745, allocations: 4.359 kB / 1.004 GB, free: 10.09 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.586e-06/0.005754, allocations: 7.938 kB / 1.004 GB, free: 10.08 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.211e-05/0.005826, allocations: 19.98 kB / 1.004 GB, free: 10.06 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001671/0.005993, allocations: 113.3 kB / 1.004 GB, free: 9.918 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001283/0.006121, allocations: 54.5 kB / 1.004 GB, free: 9.855 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.99e-05/0.006181, allocations: 28.84 kB / 1.004 GB, free: 9.824 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002521/0.006433, allocations: 35.97 kB / 1.004 GB, free: 9.789 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.932e-05/0.006472, allocations: 42.55 kB / 1.004 GB, free: 9.738 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=8): time 1.112e-06/0.006473, allocations: 0 / 1.004 GB, free: 9.738 MB / 0.9636 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.02098/0.02745, allocations: 4.172 MB / 1.008 GB, free: 5.465 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.256e-05/0.02751, allocations: 55.41 kB / 1.008 GB, free: 5.398 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.754e-05/0.02759, allocations: 101.8 kB / 1.008 GB, free: 5.289 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 7.439e-05/0.02767, allocations: 25.7 kB / 1.008 GB, free: 5.258 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 4.636e-05/0.02771, allocations: 84.14 kB / 1.009 GB, free: 5.172 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 0.000118/0.02783, allocations: 55.5 kB / 1.009 GB, free: 5.117 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000261/0.02809, allocations: 89.67 kB / 1.009 GB, free: 5.023 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 0.0001655/0.02826, allocations: 322.8 kB / 1.009 GB, free: 4.699 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005868/0.02885, allocations: 308 kB / 1.009 GB, free: 4.398 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005837/0.02943, allocations: 307.9 kB / 1.01 GB, free: 4.098 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001704/0.03113, allocations: 0.7839 MB / 1.01 GB, free: 3.312 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.042e-06/0.03113, allocations: 0 / 1.01 GB, free: 3.312 MB / 0.9636 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.001695/0.03283, allocations: 0.7943 MB / 1.011 GB, free: 2.512 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.486e-05/0.03284, allocations: 4 kB / 1.011 GB, free: 2.508 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.759e-06/0.03285, allocations: 0 / 1.011 GB, free: 2.508 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.504e-05/0.03286, allocations: 0 / 1.011 GB, free: 2.508 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000869/0.03373, allocations: 95.88 kB / 1.011 GB, free: 2.414 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.237e-06/0.03374, allocations: 4 kB / 1.011 GB, free: 2.41 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005523/0.03429, allocations: 8 kB / 1.011 GB, free: 2.402 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.741e-05/0.03438, allocations: 35.98 kB / 1.011 GB, free: 2.367 MB / 0.9636 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.0002018/0.03458, allocations: 117.8 kB / 1.011 GB, free: 2.242 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.123e-05/0.03467, allocations: 11.89 kB / 1.011 GB, free: 2.23 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003627/0.03829, allocations: 1.403 MB / 1.013 GB, free: 0.8203 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.991e-06/0.0383, allocations: 7.938 kB / 1.013 GB, free: 0.8125 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.008e-06/0.0383, allocations: 0 / 1.013 GB, free: 0.8125 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.793e-06/0.03831, allocations: 7.922 kB / 1.013 GB, free: 0.8047 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003191/0.0415, allocations: 1.66 MB / 1.014 GB, free: 15.1 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.756e-06/0.0415, allocations: 0 / 1.014 GB, free: 15.1 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008504/0.04235, allocations: 107.9 kB / 1.014 GB, free: 14.99 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.592e-06/0.04236, allocations: 3.984 kB / 1.014 GB, free: 14.99 MB / 0.9792 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.296e-05/0.04243, allocations: 28 kB / 1.014 GB, free: 14.96 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.705e-06/0.04243, allocations: 3.938 kB / 1.014 GB, free: 14.96 MB / 0.9792 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.476e-06/0.04244, allocations: 4 kB / 1.014 GB, free: 14.95 MB / 0.9792 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002779/0.04522, allocations: 1.474 MB / 1.016 GB, free: 13.46 MB / 0.9792 GB Notification: Performance of postOpt removeConstants (simulation): time 1.935e-05/0.04524, allocations: 15.88 kB / 1.016 GB, free: 13.45 MB / 0.9792 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.021e-05/0.04532, allocations: 8 kB / 1.016 GB, free: 13.44 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005343/0.04585, allocations: 12 kB / 1.016 GB, free: 13.43 MB / 0.9792 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001704/0.04602, allocations: 39.95 kB / 1.016 GB, free: 13.39 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.935e-05/0.0461, allocations: 35.98 kB / 1.016 GB, free: 13.35 MB / 0.9792 GB Notification: Performance of sorting global known variables: time 4.561e-05/0.04615, allocations: 75.28 kB / 1.016 GB, free: 13.28 MB / 0.9792 GB Notification: Performance of sort global known variables: time 8e-08/0.04615, allocations: 0 / 1.016 GB, free: 13.28 MB / 0.9792 GB Notification: Performance of remove unused functions: time 0.0005873/0.04673, allocations: 187.6 kB / 1.016 GB, free: 13.09 MB / 0.9792 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.0005717/0.04731, allocations: 254.9 kB / 1.017 GB, free: 12.83 MB / 0.9792 GB Notification: Performance of simCode: created initialization part: time 0.001381/0.04869, allocations: 0.7135 MB / 1.017 GB, free: 12.12 MB / 0.9792 GB Notification: Performance of simCode: created event and clocks part: time 2.514e-06/0.04869, allocations: 0 / 1.017 GB, free: 12.12 MB / 0.9792 GB Notification: Performance of simCode: created simulation system equations: time 0.0007251/0.04941, allocations: 403.7 kB / 1.018 GB, free: 11.73 MB / 0.9792 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003168/0.04973, allocations: 16 kB / 1.018 GB, free: 11.71 MB / 0.9792 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003697/0.05343, allocations: 0.7765 MB / 1.018 GB, free: 10.91 MB / 0.9792 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000113/0.05354, allocations: 111.5 kB / 1.018 GB, free: 10.78 MB / 0.9792 GB Notification: Performance of simCode: alias equations: time 0.001118/0.05466, allocations: 289.5 kB / 1.019 GB, free: 10.49 MB / 0.9792 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005311/0.05519, allocations: 96.47 kB / 1.019 GB, free: 10.39 MB / 0.9792 GB Notification: Performance of SimCode: time 4.91e-07/0.05519, allocations: 0 / 1.019 GB, free: 10.39 MB / 0.9792 GB Notification: Performance of Templates: time 0.02026/0.07545, allocations: 11.97 MB / 1.031 GB, free: 14.49 MB / 0.9948 GB " [Timeout remaining time 300] make -j1 -f Buildings_13_Buildings.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck.makefile [Timeout 300] (rm -f Buildings_13_Buildings.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck.pipe ; mkfifo Buildings_13_Buildings.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck.pipe ; head -c 1048576 < Buildings_13_Buildings.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck.pipe >> ../files/Buildings_13_Buildings.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck.sim & ./Buildings_13_Buildings.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck -abortSlowSimulation -alarm=240 -lv LOG_STATS > Buildings_13_Buildings.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 8.994785296730697]