Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001401/0.001401, allocations: 109.1 kB / 18.19 MB, free: 4.02 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001486/0.001486, allocations: 184.5 kB / 21.33 MB, free: 0.8828 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.481/1.481, allocations: 225.6 MB / 249.9 MB, free: 3.203 MB / 190.1 MB [Timeout remaining time 88] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.887/2.887, allocations: 476.7 MB / 0.7634 GB, free: 15.22 MB / 0.6075 GB [Timeout remaining time 86] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck,tolerance=1e-06,outputFormat="mat",numberOfIntervals=501,variableFilter="time|x|y|der.x.|der.y.|d2y|d3y",fileNamePrefix="Buildings_11_Buildings.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck") translateModel(Buildings.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck,tolerance=1e-06,outputFormat="mat",numberOfIntervals=501,variableFilter="time|x|y|der.x.|der.y.|d2y|d3y",fileNamePrefix="Buildings_11_Buildings.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck") [Timeout 300] Notification: Performance of FrontEnd - loaded program: time 0.001957/0.001957, allocations: 63.89 kB / 1.108 GB, free: 4.727 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.178/1.179, allocations: 168.7 MB / 1.272 GB, free: 7.945 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck): time 0.001824/1.181, allocations: 0.6135 MB / 1.273 GB, free: 7.574 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.001718/1.183, allocations: 1.297 MB / 1.274 GB, free: 6.621 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.25e-05/1.183, allocations: 1.031 kB / 1.274 GB, free: 6.621 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 1.771e-05/1.183, allocations: 0 / 1.274 GB, free: 6.621 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 2.089e-05/1.183, allocations: 0 / 1.274 GB, free: 6.621 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004206/1.184, allocations: 77.98 kB / 1.274 GB, free: 6.586 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 7.248e-05/1.184, allocations: 27.34 kB / 1.274 GB, free: 6.574 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 5.117e-05/1.184, allocations: 6.375 kB / 1.274 GB, free: 6.57 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 2.584e-05/1.184, allocations: 10.81 kB / 1.274 GB, free: 6.566 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 7.619e-05/1.184, allocations: 18.91 kB / 1.274 GB, free: 6.559 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 1.433e-05/1.184, allocations: 1.969 kB / 1.274 GB, free: 6.559 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002359/1.184, allocations: 99.7 kB / 1.275 GB, free: 6.531 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 1.616e-05/1.184, allocations: 4.188 kB / 1.275 GB, free: 6.531 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 2.814e-05/1.184, allocations: 12.7 kB / 1.275 GB, free: 6.523 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001635/1.184, allocations: 70.81 kB / 1.275 GB, free: 6.504 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 3.997e-06/1.184, allocations: 0 / 1.275 GB, free: 6.504 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.523e-06/1.184, allocations: 0.875 kB / 1.275 GB, free: 6.504 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 5.671e-06/1.184, allocations: 4 kB / 1.275 GB, free: 6.5 MB / 0.9981 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.0004054/1.185, allocations: 351.1 kB / 1.275 GB, free: 6.133 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.867e-05/1.185, allocations: 9.062 kB / 1.275 GB, free: 6.133 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.229e-05/1.185, allocations: 4 kB / 1.275 GB, free: 6.133 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.663e-05/1.185, allocations: 170.2 kB / 1.275 GB, free: 5.93 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.528e-05/1.185, allocations: 2.188 kB / 1.275 GB, free: 5.93 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.859e-05/1.185, allocations: 7.375 kB / 1.275 GB, free: 5.926 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001317/1.185, allocations: 57.47 kB / 1.275 GB, free: 5.883 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.066e-05/1.185, allocations: 3.938 kB / 1.275 GB, free: 5.879 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.161e-05/1.185, allocations: 4.594 kB / 1.275 GB, free: 5.875 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.588e-06/1.185, allocations: 0.9375 kB / 1.275 GB, free: 5.875 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.842e-05/1.185, allocations: 26.67 kB / 1.275 GB, free: 5.867 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000139/1.185, allocations: 164.5 kB / 1.275 GB, free: 5.672 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001135/1.185, allocations: 53.95 kB / 1.275 GB, free: 5.637 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.287e-05/1.185, allocations: 27.06 kB / 1.275 GB, free: 5.621 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000358/1.186, allocations: 0.5625 MB / 1.276 GB, free: 4.957 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.16e-05/1.186, allocations: 39.66 kB / 1.276 GB, free: 4.91 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=8): time 1.313e-06/1.186, allocations: 0 / 1.276 GB, free: 4.91 MB / 0.9981 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.02101/1.207, allocations: 4.371 MB / 1.28 GB, free: 3.07 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.754e-05/1.207, allocations: 51.41 kB / 1.28 GB, free: 3.008 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.003e-05/1.207, allocations: 93.97 kB / 1.28 GB, free: 2.91 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 6.262e-05/1.207, allocations: 29.7 kB / 1.28 GB, free: 2.875 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 1.864e-05/1.207, allocations: 80.14 kB / 1.281 GB, free: 2.793 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001139/1.207, allocations: 63.34 kB / 1.281 GB, free: 2.742 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002589/1.207, allocations: 91.02 kB / 1.281 GB, free: 2.719 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 5.684e-05/1.207, allocations: 325.6 kB / 1.281 GB, free: 2.395 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005007/1.208, allocations: 309.4 kB / 1.281 GB, free: 2.27 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000514/1.208, allocations: 317.8 kB / 1.282 GB, free: 2.137 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001478/1.21, allocations: 0.765 MB / 1.282 GB, free: 1.805 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.282e-06/1.21, allocations: 0 / 1.282 GB, free: 1.805 MB / 0.9981 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.001554/1.211, allocations: 0.8047 MB / 1.283 GB, free: 1.469 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.833e-05/1.211, allocations: 5.281 kB / 1.283 GB, free: 1.469 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.222e-06/1.211, allocations: 4 kB / 1.283 GB, free: 1.465 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.416e-05/1.211, allocations: 2.766 kB / 1.283 GB, free: 1.465 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008369/1.212, allocations: 96.23 kB / 1.283 GB, free: 1.461 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.698e-06/1.212, allocations: 4.812 kB / 1.283 GB, free: 1.457 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004492/1.213, allocations: 7.812 kB / 1.283 GB, free: 1.453 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.556e-05/1.213, allocations: 35.3 kB / 1.283 GB, free: 1.453 MB / 0.9981 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.0001746/1.213, allocations: 119.9 kB / 1.283 GB, free: 1.328 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.555e-05/1.213, allocations: 8.781 kB / 1.283 GB, free: 1.324 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003279/1.216, allocations: 1.399 MB / 1.285 GB, free: 0.668 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.616e-06/1.216, allocations: 5.125 kB / 1.285 GB, free: 0.668 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.362e-06/1.216, allocations: 4 kB / 1.285 GB, free: 0.6641 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.047e-06/1.216, allocations: 3.125 kB / 1.285 GB, free: 0.6641 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003156/1.22, allocations: 1.828 MB / 1.287 GB, free: 15.61 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.228e-06/1.22, allocations: 0 / 1.287 GB, free: 15.61 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007845/1.22, allocations: 108.8 kB / 1.287 GB, free: 15.6 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.394e-06/1.22, allocations: 1.406 kB / 1.287 GB, free: 15.6 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.636e-05/1.22, allocations: 31.36 kB / 1.287 GB, free: 15.59 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.018e-06/1.22, allocations: 5.062 kB / 1.287 GB, free: 15.59 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.804e-06/1.22, allocations: 1.062 kB / 1.287 GB, free: 15.59 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002661/1.223, allocations: 1.474 MB / 1.288 GB, free: 14.82 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 8.433e-05/1.223, allocations: 94.02 kB / 1.288 GB, free: 14.72 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.642e-05/1.223, allocations: 10.94 kB / 1.288 GB, free: 14.71 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004819/1.224, allocations: 12.06 kB / 1.288 GB, free: 14.71 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001371/1.224, allocations: 42.94 kB / 1.288 GB, free: 14.7 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.022e-05/1.224, allocations: 35.36 kB / 1.288 GB, free: 14.7 MB / 1.014 GB Notification: Performance of sorting global known variables: time 4.736e-05/1.224, allocations: 77.62 kB / 1.288 GB, free: 14.62 MB / 1.014 GB Notification: Performance of sort global known variables: time 1e-07/1.224, allocations: 0 / 1.288 GB, free: 14.62 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0006549/1.225, allocations: 182.8 kB / 1.289 GB, free: 14.59 MB / 1.014 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.0005596/1.225, allocations: 225.2 kB / 1.289 GB, free: 14.46 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.001423/1.227, allocations: 0.7155 MB / 1.29 GB, free: 14.18 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/1.227, allocations: 0 / 1.29 GB, free: 14.18 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0006641/1.227, allocations: 401.7 kB / 1.29 GB, free: 14.02 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003392/1.228, allocations: 22.97 kB / 1.29 GB, free: 14 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003155/1.231, allocations: 0.8368 MB / 1.291 GB, free: 13.6 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004162/1.231, allocations: 0.7161 MB / 1.291 GB, free: 12.9 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005875/1.232, allocations: 94.03 kB / 1.292 GB, free: 12.89 MB / 1.014 GB Notification: Performance of SimCode: time 9.22e-07/1.232, allocations: 0 / 1.292 GB, free: 12.89 MB / 1.014 GB Notification: Performance of Templates: time 0.01518/1.247, allocations: 6.906 MB / 1.298 GB, free: 12.36 MB / 1.014 GB [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck.pipe ; mkfifo Buildings_11_Buildings.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck.pipe >> ../files/Buildings_11_Buildings.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck.sim & ./Buildings_11_Buildings.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck.pipe 2>&1) [Timeout 400]