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.001005/0.001005, allocations: 93.06 kB / 19.65 MB, free: 276 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.001122/0.001122, allocations: 165 kB / 23.02 MB, free: 1.551 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.021/1.021, allocations: 177.1 MB / 203.4 MB, free: 5.621 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.002055/0.002055, allocations: 233.3 kB / 260.2 MB, free: 12.81 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.7637/0.7637, allocations: 138.4 MB / 455.2 MB, free: 1.574 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.903e-06/1.903e-06, allocations: 0 / 0.5552 GB, free: 500 kB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.402e-05/2.592e-05, allocations: 2.312 kB / 0.5552 GB, free: 496 kB / 474.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck): time 0.001297/0.001323, allocations: 0.6351 MB / 0.5558 GB, free: 15.85 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.001444/0.002767, allocations: 1.349 MB / 0.5571 GB, free: 14.48 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.855e-05/0.002796, allocations: 0 / 0.5571 GB, free: 14.48 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 2.092e-05/0.002817, allocations: 7.938 kB / 0.5571 GB, free: 14.47 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 2.131e-05/0.002838, allocations: 0 / 0.5571 GB, free: 14.47 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003648/0.003203, allocations: 91.52 kB / 0.5572 GB, free: 14.38 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 5.319e-05/0.003256, allocations: 15.98 kB / 0.5572 GB, free: 14.37 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.8e-05/0.003294, allocations: 4 kB / 0.5572 GB, free: 14.36 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.482e-05/0.003329, allocations: 19.92 kB / 0.5572 GB, free: 14.34 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.748e-05/0.003396, allocations: 15.97 kB / 0.5573 GB, free: 14.33 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 1.348e-05/0.00341, allocations: 0 / 0.5573 GB, free: 14.33 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002371/0.003647, allocations: 103.9 kB / 0.5574 GB, free: 14.23 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 1.222e-05/0.003659, allocations: 7.984 kB / 0.5574 GB, free: 14.22 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 2.023e-05/0.003679, allocations: 11.86 kB / 0.5574 GB, free: 14.21 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001515/0.003831, allocations: 95.75 kB / 0.5575 GB, free: 14.11 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.803e-06/0.003833, allocations: 0 / 0.5575 GB, free: 14.11 MB / 490.7 MB Notification: Performance of FrontEnd: time 8.31e-07/0.003833, allocations: 0 / 0.5575 GB, free: 14.11 MB / 490.7 MB Notification: Performance of Transformations before backend: time 3.997e-06/0.003837, allocations: 0 / 0.5575 GB, free: 14.11 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.0003857/0.004223, allocations: 376.5 kB / 0.5578 GB, free: 13.71 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.914e-05/0.004262, allocations: 16.75 kB / 0.5578 GB, free: 13.7 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.952e-05/0.004302, allocations: 4.938 kB / 0.5578 GB, free: 13.69 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001451/0.004447, allocations: 108.6 kB / 0.5579 GB, free: 13.56 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.137e-05/0.004458, allocations: 4.375 kB / 0.558 GB, free: 13.55 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.804e-05/0.004486, allocations: 4.375 kB / 0.558 GB, free: 13.55 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001022/0.004588, allocations: 75.88 kB / 0.558 GB, free: 13.46 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.337e-06/0.004598, allocations: 192 / 0.558 GB, free: 13.46 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.163e-05/0.004609, allocations: 8.375 kB / 0.558 GB, free: 13.46 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.656e-06/0.004618, allocations: 3.938 kB / 0.558 GB, free: 13.45 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.1e-05/0.004669, allocations: 19.97 kB / 0.5581 GB, free: 13.43 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001281/0.004797, allocations: 132.5 kB / 0.5582 GB, free: 13.27 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.474e-05/0.004892, allocations: 62.92 kB / 0.5582 GB, free: 13.2 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.126e-05/0.004923, allocations: 23.67 kB / 0.5583 GB, free: 13.17 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000185/0.005108, allocations: 35.97 kB / 0.5583 GB, free: 13.13 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.292e-05/0.005131, allocations: 37.39 kB / 0.5583 GB, free: 13.09 MB / 490.7 MB Notification: Performance of pre-optimization done (n=8): time 9.82e-07/0.005132, allocations: 0 / 0.5583 GB, free: 13.09 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.01112/0.01625, allocations: 5.549 MB / 0.5638 GB, free: 7.434 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.341e-05/0.01629, allocations: 55.41 kB / 0.5638 GB, free: 7.367 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.626e-05/0.01636, allocations: 153.9 kB / 0.564 GB, free: 7.199 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 5.032e-05/0.01641, allocations: 29.7 kB / 0.564 GB, free: 7.164 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.123e-05/0.01644, allocations: 126.9 kB / 0.5641 GB, free: 7.035 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.147e-05/0.01653, allocations: 59.48 kB / 0.5642 GB, free: 6.977 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001707/0.0167, allocations: 95.33 kB / 0.5643 GB, free: 6.875 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001117/0.01681, allocations: 0.4884 MB / 0.5647 GB, free: 6.375 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004185/0.01723, allocations: 464 kB / 0.5652 GB, free: 5.922 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004052/0.01763, allocations: 467.9 kB / 0.5656 GB, free: 5.465 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001105/0.01874, allocations: 1.077 MB / 0.5667 GB, free: 4.387 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.803e-06/0.01874, allocations: 0 / 0.5667 GB, free: 4.387 MB / 490.7 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.001194/0.01993, allocations: 1.111 MB / 0.5678 GB, free: 3.27 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.425e-05/0.01996, allocations: 7.938 kB / 0.5678 GB, free: 3.262 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.594e-06/0.01996, allocations: 0 / 0.5678 GB, free: 3.262 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.075e-05/0.01999, allocations: 0 / 0.5678 GB, free: 3.262 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004349/0.02042, allocations: 99.89 kB / 0.5679 GB, free: 3.164 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.762e-06/0.02043, allocations: 0 / 0.5679 GB, free: 3.164 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002072/0.02063, allocations: 4 kB / 0.5679 GB, free: 3.16 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.348e-05/0.02069, allocations: 43.97 kB / 0.5679 GB, free: 3.117 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.0001514/0.02084, allocations: 160.6 kB / 0.5681 GB, free: 2.949 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.079e-05/0.02093, allocations: 11.89 kB / 0.5681 GB, free: 2.938 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001755/0.02268, allocations: 1.337 MB / 0.5694 GB, free: 1.598 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.188e-06/0.02269, allocations: 4 kB / 0.5694 GB, free: 1.594 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.528e-06/0.02269, allocations: 0 / 0.5694 GB, free: 1.594 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.272e-06/0.0227, allocations: 7.984 kB / 0.5694 GB, free: 1.586 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001837/0.02454, allocations: 1.623 MB / 0.571 GB, free: 15.91 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.535e-06/0.02454, allocations: 0 / 0.571 GB, free: 15.91 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003918/0.02493, allocations: 107.9 kB / 0.5711 GB, free: 15.81 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.551e-06/0.02494, allocations: 4 kB / 0.5711 GB, free: 15.8 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.675e-05/0.02498, allocations: 24 kB / 0.5711 GB, free: 15.78 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.747e-06/0.02499, allocations: 0 / 0.5711 GB, free: 15.78 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.226e-06/0.02499, allocations: 4 kB / 0.5711 GB, free: 15.78 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001495/0.02649, allocations: 1.344 MB / 0.5724 GB, free: 14.41 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 1.772e-05/0.0265, allocations: 15.84 kB / 0.5724 GB, free: 14.39 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.557e-05/0.02656, allocations: 8 kB / 0.5724 GB, free: 14.39 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002209/0.02678, allocations: 12 kB / 0.5725 GB, free: 14.38 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.648e-05/0.02687, allocations: 43.94 kB / 0.5725 GB, free: 14.33 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.617e-05/0.02691, allocations: 32 kB / 0.5725 GB, free: 14.3 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 3.108e-05/0.02694, allocations: 119.2 kB / 0.5726 GB, free: 14.18 MB / 0.4948 GB Notification: Performance of sort global known variables: time 6e-08/0.02694, allocations: 0 / 0.5726 GB, free: 14.18 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0004335/0.02738, allocations: 187.6 kB / 0.5728 GB, free: 14 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.0003994/0.02778, allocations: 258.7 kB / 0.5731 GB, free: 13.74 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0008982/0.02867, allocations: 0.8772 MB / 0.5739 GB, free: 12.86 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 2.404e-06/0.02868, allocations: 0 / 0.5739 GB, free: 12.86 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.000394/0.02907, allocations: 416 kB / 0.5743 GB, free: 12.45 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002446/0.02932, allocations: 37.2 kB / 0.5744 GB, free: 12.42 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001707/0.03102, allocations: 0.7591 MB / 0.5751 GB, free: 11.62 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.502e-05/0.03107, allocations: 73.34 kB / 0.5752 GB, free: 11.54 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.0006094/0.03168, allocations: 297.5 kB / 0.5754 GB, free: 11.25 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003895/0.03207, allocations: 96.47 kB / 0.5755 GB, free: 11.15 MB / 0.4948 GB Notification: Performance of SimCode: time 8.72e-07/0.03207, allocations: 3.938 kB / 0.5755 GB, free: 11.14 MB / 0.4948 GB Notification: Performance of Templates: time 0.01216/0.04423, allocations: 12.29 MB / 0.5875 GB, free: 14.93 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: 4.2752850111573935]