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.002632/0.002632, allocations: 104.3 kB / 19.72 MB, free: 420 kB / 13.93 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.002935/0.002935, allocations: 216 kB / 23.02 MB, free: 2.961 MB / 13.93 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.682/1.682, allocations: 230.6 MB / 256.8 MB, free: 9.594 MB / 202.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.277/3.277, allocations: 0.5045 GB / 0.8104 GB, free: 2.746 MB / 0.6511 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 0.003793/0.003793, allocations: 67.89 kB / 1.177 GB, free: 11.44 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.803/0.8068, allocations: 180 MB / 1.353 GB, free: 1.605 MB / 1.026 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck): time 0.001883/0.8087, allocations: 0.6175 MB / 1.354 GB, free: 0.9922 MB / 1.026 GB Notification: Performance of NFInst.instExpressions: time 0.001995/0.8107, allocations: 1.311 MB / 1.355 GB, free: 15.66 MB / 1.042 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.089e-05/0.8107, allocations: 0 / 1.355 GB, free: 15.66 MB / 1.042 GB Notification: Performance of NFTyping.typeComponents: time 1.32e-05/0.8107, allocations: 0 / 1.355 GB, free: 15.66 MB / 1.042 GB Notification: Performance of NFTyping.typeBindings: time 2.437e-05/0.8108, allocations: 0 / 1.355 GB, free: 15.66 MB / 1.042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004291/0.8112, allocations: 87.66 kB / 1.355 GB, free: 15.58 MB / 1.042 GB Notification: Performance of NFFlatten.flatten: time 6.324e-05/0.8113, allocations: 23.92 kB / 1.355 GB, free: 15.55 MB / 1.042 GB Notification: Performance of NFFlatten.resolveConnections: time 4.016e-05/0.8113, allocations: 4 kB / 1.355 GB, free: 15.55 MB / 1.042 GB Notification: Performance of NFEvalConstants.evaluate: time 2.337e-05/0.8113, allocations: 8 kB / 1.355 GB, free: 15.54 MB / 1.042 GB Notification: Performance of NFSimplifyModel.simplify: time 8.636e-05/0.8114, allocations: 19.91 kB / 1.355 GB, free: 15.52 MB / 1.042 GB Notification: Performance of NFPackage.collectConstants: time 1.141e-05/0.8114, allocations: 4 kB / 1.355 GB, free: 15.52 MB / 1.042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003096/0.8117, allocations: 107.9 kB / 1.355 GB, free: 15.41 MB / 1.042 GB Notification: Performance of NFScalarize.scalarize: time 1.316e-05/0.8117, allocations: 4 kB / 1.355 GB, free: 15.41 MB / 1.042 GB Notification: Performance of NFVerifyModel.verify: time 2.365e-05/0.8118, allocations: 15.86 kB / 1.355 GB, free: 15.39 MB / 1.042 GB Notification: Performance of NFConvertDAE.convert: time 0.0001683/0.8119, allocations: 82.59 kB / 1.355 GB, free: 15.32 MB / 1.042 GB Notification: Performance of FrontEnd - DAE generated: time 3.967e-06/0.8119, allocations: 0 / 1.355 GB, free: 15.32 MB / 1.042 GB Notification: Performance of FrontEnd: time 1.192e-06/0.8119, allocations: 0 / 1.355 GB, free: 15.32 MB / 1.042 GB Notification: Performance of Transformations before backend: time 5.049e-06/0.8119, allocations: 4 kB / 1.355 GB, free: 15.31 MB / 1.042 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.0004913/0.8124, allocations: 270.2 kB / 1.355 GB, free: 15.02 MB / 1.042 GB Notification: Performance of prepare preOptimizeDAE: time 3.443e-05/0.8125, allocations: 12.92 kB / 1.355 GB, free: 15.01 MB / 1.042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.789e-05/0.8125, allocations: 8.891 kB / 1.355 GB, free: 15 MB / 1.042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001291/0.8126, allocations: 114.5 kB / 1.356 GB, free: 14.86 MB / 1.042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.015e-05/0.8127, allocations: 4.375 kB / 1.356 GB, free: 14.86 MB / 1.042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.75e-05/0.8127, allocations: 4.375 kB / 1.356 GB, free: 14.86 MB / 1.042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001551/0.8128, allocations: 75.7 kB / 1.356 GB, free: 14.77 MB / 1.042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.252e-05/0.8128, allocations: 4 kB / 1.356 GB, free: 14.77 MB / 1.042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.088e-05/0.8129, allocations: 0 / 1.356 GB, free: 14.77 MB / 1.042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.369e-06/0.8129, allocations: 3.938 kB / 1.356 GB, free: 14.76 MB / 1.042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.139e-05/0.8129, allocations: 27.91 kB / 1.356 GB, free: 14.73 MB / 1.042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001781/0.8131, allocations: 113.3 kB / 1.356 GB, free: 14.59 MB / 1.042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001338/0.8132, allocations: 58.56 kB / 1.356 GB, free: 14.53 MB / 1.042 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.83e-05/0.8133, allocations: 24.84 kB / 1.356 GB, free: 14.5 MB / 1.042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002621/0.8136, allocations: 35.97 kB / 1.356 GB, free: 14.46 MB / 1.042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.415e-05/0.8136, allocations: 30.56 kB / 1.356 GB, free: 14.43 MB / 1.042 GB Notification: Performance of pre-optimization done (n=8): time 9.12e-07/0.8136, allocations: 0 / 1.356 GB, free: 14.43 MB / 1.042 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.02096/0.8346, allocations: 4.186 MB / 1.36 GB, free: 10.14 MB / 1.042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.713e-05/0.8346, allocations: 59.34 kB / 1.36 GB, free: 10.07 MB / 1.042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001102/0.8347, allocations: 93.84 kB / 1.36 GB, free: 9.965 MB / 1.042 GB Notification: Performance of collectPreVariables (initialization): time 7.734e-05/0.8348, allocations: 29.7 kB / 1.36 GB, free: 9.93 MB / 1.042 GB Notification: Performance of collectInitialEqns (initialization): time 5.883e-05/0.8349, allocations: 84.14 kB / 1.36 GB, free: 9.844 MB / 1.042 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001367/0.835, allocations: 51.55 kB / 1.36 GB, free: 9.793 MB / 1.042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002731/0.8353, allocations: 89.67 kB / 1.36 GB, free: 9.699 MB / 1.042 GB Notification: Performance of setup shared object (initialization): time 0.0002122/0.8355, allocations: 330.9 kB / 1.361 GB, free: 9.367 MB / 1.042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005997/0.8361, allocations: 307.8 kB / 1.361 GB, free: 9.066 MB / 1.042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005856/0.8367, allocations: 311.9 kB / 1.361 GB, free: 8.762 MB / 1.042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001754/0.8384, allocations: 0.7718 MB / 1.362 GB, free: 7.988 MB / 1.042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.733e-06/0.8384, allocations: 0 / 1.362 GB, free: 7.988 MB / 1.042 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.001781/0.8402, allocations: 0.8011 MB / 1.363 GB, free: 7.184 MB / 1.042 GB Notification: Performance of prepare postOptimizeDAE: time 2.297e-05/0.8402, allocations: 4 kB / 1.363 GB, free: 7.18 MB / 1.042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.502e-06/0.8402, allocations: 4 kB / 1.363 GB, free: 7.176 MB / 1.042 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.197e-05/0.8403, allocations: 0 / 1.363 GB, free: 7.176 MB / 1.042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008189/0.8411, allocations: 91.94 kB / 1.363 GB, free: 7.086 MB / 1.042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.818e-06/0.8411, allocations: 0 / 1.363 GB, free: 7.086 MB / 1.042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004295/0.8415, allocations: 16 kB / 1.363 GB, free: 7.07 MB / 1.042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.049e-05/0.8416, allocations: 35.97 kB / 1.363 GB, free: 7.035 MB / 1.042 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.000232/0.8418, allocations: 122.2 kB / 1.363 GB, free: 6.906 MB / 1.042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.889e-05/0.8419, allocations: 11.89 kB / 1.363 GB, free: 6.895 MB / 1.042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003839/0.8458, allocations: 1.403 MB / 1.364 GB, free: 5.484 MB / 1.042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.107e-06/0.8458, allocations: 4 kB / 1.364 GB, free: 5.48 MB / 1.042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.849e-06/0.8458, allocations: 0 / 1.364 GB, free: 5.48 MB / 1.042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.514e-06/0.8458, allocations: 3.984 kB / 1.364 GB, free: 5.477 MB / 1.042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00321/0.849, allocations: 1.654 MB / 1.366 GB, free: 3.781 MB / 1.042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.596e-06/0.849, allocations: 0 / 1.366 GB, free: 3.781 MB / 1.042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007666/0.8498, allocations: 111.9 kB / 1.366 GB, free: 3.672 MB / 1.042 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.619e-06/0.8498, allocations: 4 kB / 1.366 GB, free: 3.668 MB / 1.042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.527e-05/0.8498, allocations: 24 kB / 1.366 GB, free: 3.645 MB / 1.042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.304e-06/0.8499, allocations: 7.938 kB / 1.366 GB, free: 3.637 MB / 1.042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.298e-06/0.8499, allocations: 7.969 kB / 1.366 GB, free: 3.629 MB / 1.042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002721/0.8526, allocations: 1.47 MB / 1.368 GB, free: 2.137 MB / 1.042 GB Notification: Performance of postOpt removeConstants (simulation): time 2.712e-05/0.8526, allocations: 19.88 kB / 1.368 GB, free: 2.117 MB / 1.042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001041/0.8527, allocations: 4 kB / 1.368 GB, free: 2.113 MB / 1.042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000452/0.8532, allocations: 16 kB / 1.368 GB, free: 2.098 MB / 1.042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001743/0.8533, allocations: 47.89 kB / 1.368 GB, free: 2.051 MB / 1.042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.013e-05/0.8534, allocations: 35.98 kB / 1.368 GB, free: 2.016 MB / 1.042 GB Notification: Performance of sorting global known variables: time 5.263e-05/0.8535, allocations: 75.28 kB / 1.368 GB, free: 1.941 MB / 1.042 GB Notification: Performance of sort global known variables: time 9e-08/0.8535, allocations: 0 / 1.368 GB, free: 1.941 MB / 1.042 GB Notification: Performance of remove unused functions: time 0.0006127/0.8541, allocations: 179.8 kB / 1.368 GB, free: 1.766 MB / 1.042 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.0005609/0.8546, allocations: 233.3 kB / 1.368 GB, free: 1.531 MB / 1.042 GB Notification: Performance of simCode: created initialization part: time 0.001421/0.8561, allocations: 0.7183 MB / 1.369 GB, free: 0.8125 MB / 1.042 GB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/0.8561, allocations: 0 / 1.369 GB, free: 0.8125 MB / 1.042 GB Notification: Performance of simCode: created simulation system equations: time 0.0007113/0.8568, allocations: 403.7 kB / 1.369 GB, free: 428 kB / 1.042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003083/0.8571, allocations: 23.81 kB / 1.369 GB, free: 404 kB / 1.042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003205/0.8603, allocations: 0.7926 MB / 1.37 GB, free: 15.57 MB / 1.057 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001257/0.8604, allocations: 111.4 kB / 1.37 GB, free: 15.44 MB / 1.057 GB Notification: Performance of simCode: alias equations: time 0.001102/0.8615, allocations: 293.5 kB / 1.371 GB, free: 15.15 MB / 1.057 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005331/0.862, allocations: 95.34 kB / 1.371 GB, free: 15.06 MB / 1.057 GB Notification: Performance of SimCode: time 6.41e-07/0.862, allocations: 0 / 1.371 GB, free: 15.06 MB / 1.057 GB Notification: Performance of Templates: time 0.02159/0.8836, allocations: 12.03 MB / 1.382 GB, free: 3.102 MB / 1.057 GB " [Timeout remaining time 299] 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: 10.293282539583743]