Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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.001333/0.001333, allocations: 79.19 kB / 19.94 MB, free: 1.773 MB / 14.72 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.001331/0.001331, allocations: 161.7 kB / 23.22 MB, free: 4.895 MB / 14.72 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.39/1.39, allocations: 177.2 MB / 203.5 MB, free: 9.18 MB / 190.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo): time 0.917/0.917, allocations: 114 MB / 373.9 MB, free: 13.25 MB / 350.1 MB " [Timeout remaining time 179] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 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(IBPSA.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck") translateModel(IBPSA.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.023e-06/2.023e-06, allocations: 0 / 0.5547 GB, free: 2.449 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.649e-05/2.851e-05, allocations: 2.281 kB / 0.5547 GB, free: 2.445 MB / 462.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck): time 0.00152/0.001548, allocations: 0.6083 MB / 0.5553 GB, free: 1.84 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.001827/0.003376, allocations: 1.311 MB / 0.5566 GB, free: 0.5117 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.141e-05/0.003397, allocations: 0 / 0.5566 GB, free: 0.5117 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 1.693e-05/0.003414, allocations: 3.938 kB / 0.5566 GB, free: 0.5078 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 2.587e-05/0.00344, allocations: 0 / 0.5566 GB, free: 0.5078 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003885/0.003828, allocations: 92.95 kB / 0.5567 GB, free: 428 kB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 6.817e-05/0.003897, allocations: 19.98 kB / 0.5567 GB, free: 408 kB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.377e-05/0.00393, allocations: 0 / 0.5567 GB, free: 408 kB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.149e-05/0.003972, allocations: 19.97 kB / 0.5568 GB, free: 388 kB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.275e-05/0.004035, allocations: 11.92 kB / 0.5568 GB, free: 376 kB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 1.371e-05/0.004048, allocations: 0 / 0.5568 GB, free: 376 kB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002691/0.004317, allocations: 107.8 kB / 0.5569 GB, free: 268 kB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 1.66e-05/0.004334, allocations: 11.97 kB / 0.5569 GB, free: 256 kB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 2.1e-05/0.004355, allocations: 8 kB / 0.5569 GB, free: 248 kB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001996/0.004555, allocations: 95.69 kB / 0.557 GB, free: 152 kB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.655e-06/0.004557, allocations: 0 / 0.557 GB, free: 152 kB / 462.1 MB Notification: Performance of FrontEnd: time 7.52e-07/0.004558, allocations: 0 / 0.557 GB, free: 152 kB / 462.1 MB Notification: Performance of Transformations before backend: time 3.827e-06/0.004562, allocations: 0 / 0.557 GB, free: 152 kB / 462.1 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.0004499/0.005012, allocations: 278.2 kB / 0.5572 GB, free: 15.85 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.21e-05/0.005044, allocations: 8.625 kB / 0.5572 GB, free: 15.84 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.459e-05/0.005078, allocations: 0.9375 kB / 0.5572 GB, free: 15.84 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001053/0.005184, allocations: 113.8 kB / 0.5574 GB, free: 15.7 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.117e-05/0.005195, allocations: 384 / 0.5574 GB, free: 15.7 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.03e-05/0.005215, allocations: 4.375 kB / 0.5574 GB, free: 15.7 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001406/0.005356, allocations: 83.94 kB / 0.5574 GB, free: 15.61 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.064e-05/0.005366, allocations: 192 / 0.5574 GB, free: 15.61 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.327e-06/0.005376, allocations: 384 / 0.5574 GB, free: 15.61 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.81e-06/0.005381, allocations: 7.938 kB / 0.5575 GB, free: 15.6 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.137e-05/0.005443, allocations: 23.92 kB / 0.5575 GB, free: 15.57 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001546/0.005597, allocations: 121.2 kB / 0.5576 GB, free: 15.43 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001281/0.005726, allocations: 58.5 kB / 0.5576 GB, free: 15.36 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.689e-05/0.005772, allocations: 24.84 kB / 0.5577 GB, free: 15.33 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002895/0.006062, allocations: 39.97 kB / 0.5577 GB, free: 15.29 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.067e-05/0.006093, allocations: 38.5 kB / 0.5577 GB, free: 15.25 MB / 478.1 MB Notification: Performance of pre-optimization done (n=8): time 1.112e-06/0.006094, allocations: 0 / 0.5577 GB, free: 15.25 MB / 478.1 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.02052/0.02661, allocations: 4.165 MB / 0.5618 GB, free: 10.99 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.313e-05/0.02667, allocations: 59.34 kB / 0.5619 GB, free: 10.92 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.6e-05/0.02674, allocations: 93.86 kB / 0.562 GB, free: 10.82 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 7.947e-05/0.02682, allocations: 29.7 kB / 0.562 GB, free: 10.79 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.537e-05/0.02687, allocations: 80.14 kB / 0.5621 GB, free: 10.7 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001147/0.02698, allocations: 59.48 kB / 0.5621 GB, free: 10.64 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002496/0.02723, allocations: 89.66 kB / 0.5622 GB, free: 10.55 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001571/0.02739, allocations: 318.8 kB / 0.5625 GB, free: 10.23 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005706/0.02796, allocations: 311.9 kB / 0.5628 GB, free: 9.926 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005554/0.02852, allocations: 309.3 kB / 0.5631 GB, free: 9.625 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001638/0.03015, allocations: 0.7716 MB / 0.5639 GB, free: 8.852 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.71e-07/0.03015, allocations: 128 / 0.5639 GB, free: 8.852 MB / 478.1 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.001665/0.03182, allocations: 0.806 MB / 0.5646 GB, free: 8.039 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.588e-05/0.03183, allocations: 5.875 kB / 0.5646 GB, free: 8.035 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.212e-06/0.03184, allocations: 3.938 kB / 0.5647 GB, free: 8.031 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.551e-05/0.03186, allocations: 0 / 0.5647 GB, free: 8.031 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008371/0.03269, allocations: 95.88 kB / 0.5647 GB, free: 7.938 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.945e-06/0.0327, allocations: 4 kB / 0.5647 GB, free: 7.934 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005461/0.03325, allocations: 8 kB / 0.5648 GB, free: 7.926 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.022e-05/0.03334, allocations: 31.98 kB / 0.5648 GB, free: 7.895 MB / 478.1 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.0002033/0.03354, allocations: 129.7 kB / 0.5649 GB, free: 7.758 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.166e-05/0.03362, allocations: 19.89 kB / 0.5649 GB, free: 7.738 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003249/0.03687, allocations: 1.392 MB / 0.5663 GB, free: 6.344 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.25e-06/0.03688, allocations: 8 kB / 0.5663 GB, free: 6.336 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.328e-06/0.03688, allocations: 0 / 0.5663 GB, free: 6.336 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.039e-06/0.03689, allocations: 0 / 0.5663 GB, free: 6.336 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003008/0.03989, allocations: 1.667 MB / 0.5679 GB, free: 4.629 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.374e-06/0.0399, allocations: 4 kB / 0.5679 GB, free: 4.625 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008135/0.04071, allocations: 107.9 kB / 0.568 GB, free: 4.52 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.737e-06/0.04071, allocations: 0 / 0.568 GB, free: 4.52 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.43e-05/0.04079, allocations: 31.98 kB / 0.5681 GB, free: 4.488 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.072e-06/0.04079, allocations: 3.984 kB / 0.5681 GB, free: 4.484 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.895e-06/0.0408, allocations: 4 kB / 0.5681 GB, free: 4.48 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002564/0.04336, allocations: 1.47 MB / 0.5695 GB, free: 2.988 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.803e-05/0.04338, allocations: 15.88 kB / 0.5695 GB, free: 2.973 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001095/0.04349, allocations: 15.98 kB / 0.5695 GB, free: 2.957 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005291/0.04402, allocations: 12.09 kB / 0.5695 GB, free: 2.945 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001683/0.04419, allocations: 43.95 kB / 0.5696 GB, free: 2.902 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.81e-05/0.04426, allocations: 28 kB / 0.5696 GB, free: 2.875 MB / 478.1 MB Notification: Performance of sorting global known variables: time 4.01e-05/0.04431, allocations: 75.28 kB / 0.5697 GB, free: 2.801 MB / 478.1 MB Notification: Performance of sort global known variables: time 7.1e-08/0.04431, allocations: 0 / 0.5697 GB, free: 2.801 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.0005766/0.04488, allocations: 195.6 kB / 0.5699 GB, free: 2.609 MB / 478.1 MB 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.0005589/0.04544, allocations: 246.7 kB / 0.5701 GB, free: 2.355 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.001292/0.04673, allocations: 0.7145 MB / 0.5708 GB, free: 1.641 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 2.525e-06/0.04673, allocations: 4.094 kB / 0.5708 GB, free: 1.637 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006816/0.04742, allocations: 404 kB / 0.5712 GB, free: 1.242 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003206/0.04774, allocations: 14.25 kB / 0.5712 GB, free: 1.23 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003495/0.05123, allocations: 0.7804 MB / 0.572 GB, free: 428 kB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001034/0.05134, allocations: 103.5 kB / 0.5721 GB, free: 304 kB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0009818/0.05232, allocations: 297.5 kB / 0.5724 GB, free: 8 kB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005942/0.05291, allocations: 96.47 kB / 0.5724 GB, free: 15.91 MB / 494.1 MB Notification: Performance of SimCode: time 3.21e-07/0.05291, allocations: 0 / 0.5724 GB, free: 15.91 MB / 494.1 MB Notification: Performance of Templates: time 0.01823/0.07114, allocations: 11.95 MB / 0.5841 GB, free: 4.098 MB / 494.1 MB " [Timeout remaining time 660] make -j1 -f IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck.makefile [Timeout 660] (rm -f IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck.sim & ./IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.3327716588974] Failed to read output from testmodel.py, exit status != 0: 0.07995741814374924 0.09390446100000001 0.086344161 Calling exit ...