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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001204/0.001204, allocations: 119 kB / 17.81 MB, free: 5.254 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001268/0.001268, allocations: 187.7 kB / 20.74 MB, free: 2.324 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.399/1.399, allocations: 225.6 MB / 249.1 MB, free: 3.645 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.8819/0.8819, allocations: 128.4 MB / 432.4 MB, free: 13.23 MB / 350.1 MB " [Timeout remaining time 179] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/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(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 0.002725/0.002725, allocations: 67.89 kB / 0.5988 GB, free: 15.79 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3817/0.3844, allocations: 83.27 MB / 0.6801 GB, free: 7.051 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck): time 0.00162/0.386, allocations: 0.6117 MB / 0.6807 GB, free: 6.594 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001327/0.3874, allocations: 1.289 MB / 0.6819 GB, free: 5.559 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.88e-05/0.3874, allocations: 4 kB / 0.6819 GB, free: 5.555 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 1.266e-05/0.3874, allocations: 0 / 0.6819 GB, free: 5.555 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 2.689e-05/0.3874, allocations: 0 / 0.6819 GB, free: 5.555 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.000357/0.3878, allocations: 86.06 kB / 0.682 GB, free: 5.496 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 6.031e-05/0.3879, allocations: 19.92 kB / 0.682 GB, free: 5.488 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.003e-05/0.3879, allocations: 5.297 kB / 0.682 GB, free: 5.484 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 2.071e-05/0.3879, allocations: 5.531 kB / 0.6821 GB, free: 5.484 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 6.598e-05/0.388, allocations: 20.16 kB / 0.6821 GB, free: 5.469 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.161e-05/0.388, allocations: 1.5 kB / 0.6821 GB, free: 5.469 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002074/0.3882, allocations: 108.8 kB / 0.6822 GB, free: 5.41 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.387e-05/0.3882, allocations: 5.234 kB / 0.6822 GB, free: 5.406 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.658e-05/0.3882, allocations: 11 kB / 0.6822 GB, free: 5.398 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001402/0.3884, allocations: 67.12 kB / 0.6823 GB, free: 5.363 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.501e-06/0.3884, allocations: 1.125 kB / 0.6823 GB, free: 5.363 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.613e-06/0.3884, allocations: 0 / 0.6823 GB, free: 5.363 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 9.277e-06/0.3884, allocations: 0 / 0.6823 GB, free: 5.363 MB / 0.4981 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.0003748/0.3888, allocations: 351.6 kB / 0.6826 GB, free: 4.988 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.483e-05/0.3888, allocations: 13.88 kB / 0.6826 GB, free: 4.984 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.209e-05/0.3888, allocations: 10.45 kB / 0.6826 GB, free: 4.977 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.247e-05/0.3889, allocations: 165.6 kB / 0.6828 GB, free: 4.777 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.367e-05/0.3889, allocations: 1.656 kB / 0.6828 GB, free: 4.777 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.958e-05/0.389, allocations: 8.062 kB / 0.6828 GB, free: 4.773 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001162/0.3891, allocations: 57.47 kB / 0.6828 GB, free: 4.723 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.364e-05/0.3891, allocations: 4 kB / 0.6828 GB, free: 4.719 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.311e-05/0.3891, allocations: 5.312 kB / 0.6828 GB, free: 4.715 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.039e-06/0.3891, allocations: 1.25 kB / 0.6829 GB, free: 4.715 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.232e-05/0.3892, allocations: 20.8 kB / 0.6829 GB, free: 4.707 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001335/0.3893, allocations: 166.2 kB / 0.683 GB, free: 4.504 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001145/0.3894, allocations: 61.59 kB / 0.6831 GB, free: 4.457 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.858e-05/0.3895, allocations: 23.67 kB / 0.6831 GB, free: 4.441 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003486/0.3898, allocations: 0.558 MB / 0.6837 GB, free: 3.773 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.892e-05/0.3898, allocations: 39.75 kB / 0.6837 GB, free: 3.727 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=8): time 1.062e-06/0.3898, allocations: 0 / 0.6837 GB, free: 3.727 MB / 0.4981 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.01905/0.4089, allocations: 4.365 MB / 0.688 GB, free: 1.258 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.425e-05/0.4089, allocations: 60.41 kB / 0.688 GB, free: 1.188 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.387e-05/0.409, allocations: 92.14 kB / 0.6881 GB, free: 1.09 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 6.265e-05/0.409, allocations: 30.52 kB / 0.6881 GB, free: 1.055 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 1.273e-05/0.409, allocations: 80.14 kB / 0.6882 GB, free: 0.9727 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001028/0.4091, allocations: 66.7 kB / 0.6883 GB, free: 0.9141 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002579/0.4094, allocations: 92.06 kB / 0.6884 GB, free: 0.875 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 4.613e-05/0.4094, allocations: 320.9 kB / 0.6887 GB, free: 0.5547 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004865/0.4099, allocations: 305.4 kB / 0.689 GB, free: 408 kB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004757/0.4104, allocations: 320.6 kB / 0.6893 GB, free: 236 kB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001498/0.4119, allocations: 0.7725 MB / 0.69 GB, free: 15.84 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.62e-07/0.4119, allocations: 0 / 0.69 GB, free: 15.84 MB / 0.5137 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.001639/0.4135, allocations: 0.7979 MB / 0.6908 GB, free: 15.45 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.631e-05/0.4136, allocations: 5.719 kB / 0.6908 GB, free: 15.45 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.781e-06/0.4136, allocations: 0 / 0.6908 GB, free: 15.45 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.996e-05/0.4136, allocations: 5.078 kB / 0.6908 GB, free: 15.44 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008361/0.4144, allocations: 92.92 kB / 0.6909 GB, free: 15.43 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.007e-05/0.4144, allocations: 3.984 kB / 0.6909 GB, free: 15.42 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005309/0.415, allocations: 9.719 kB / 0.6909 GB, free: 15.42 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.708e-05/0.415, allocations: 36.39 kB / 0.6909 GB, free: 15.41 MB / 0.5137 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.0002115/0.4153, allocations: 120.3 kB / 0.6911 GB, free: 15.29 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.583e-05/0.4153, allocations: 6.953 kB / 0.6911 GB, free: 15.28 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003496/0.4188, allocations: 1.398 MB / 0.6924 GB, free: 14.46 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.446e-06/0.4189, allocations: 8.141 kB / 0.6924 GB, free: 14.45 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.164e-06/0.4189, allocations: 4 kB / 0.6924 GB, free: 14.45 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.24e-06/0.4189, allocations: 0 / 0.6924 GB, free: 14.45 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00307/0.4219, allocations: 1.82 MB / 0.6942 GB, free: 13.21 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.008e-06/0.4219, allocations: 0 / 0.6942 GB, free: 13.21 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007929/0.4227, allocations: 107.4 kB / 0.6943 GB, free: 13.2 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.244e-06/0.4227, allocations: 2.438 kB / 0.6943 GB, free: 13.2 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.919e-05/0.4228, allocations: 37.67 kB / 0.6944 GB, free: 13.18 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.108e-06/0.4228, allocations: 1.344 kB / 0.6944 GB, free: 13.18 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.715e-06/0.4228, allocations: 1.125 kB / 0.6944 GB, free: 13.18 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002451/0.4253, allocations: 1.466 MB / 0.6958 GB, free: 12.34 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 6.65e-05/0.4253, allocations: 93.52 kB / 0.6959 GB, free: 12.23 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.442e-05/0.4254, allocations: 15.28 kB / 0.6959 GB, free: 12.22 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005145/0.4259, allocations: 9.875 kB / 0.6959 GB, free: 12.21 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001546/0.4261, allocations: 45.41 kB / 0.6959 GB, free: 12.2 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.352e-05/0.4262, allocations: 31.17 kB / 0.696 GB, free: 12.2 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 4.608e-05/0.4262, allocations: 80.97 kB / 0.6961 GB, free: 12.12 MB / 0.5137 GB Notification: Performance of sort global known variables: time 7e-08/0.4262, allocations: 0 / 0.6961 GB, free: 12.12 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0005967/0.4268, allocations: 178.5 kB / 0.6962 GB, free: 12.09 MB / 0.5137 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.0005328/0.4273, allocations: 225.8 kB / 0.6964 GB, free: 11.94 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.001326/0.4287, allocations: 0.7207 MB / 0.6971 GB, free: 11.58 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.515e-06/0.4287, allocations: 4 kB / 0.6971 GB, free: 11.58 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0006612/0.4293, allocations: 402 kB / 0.6975 GB, free: 11.38 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003215/0.4297, allocations: 16.56 kB / 0.6975 GB, free: 11.37 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003443/0.4331, allocations: 0.8182 MB / 0.6983 GB, free: 10.93 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003457/0.4334, allocations: 0.7181 MB / 0.699 GB, free: 10.21 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000565/0.434, allocations: 91.34 kB / 0.6991 GB, free: 10.2 MB / 0.5137 GB Notification: Performance of SimCode: time 5.21e-07/0.434, allocations: 0 / 0.6991 GB, free: 10.2 MB / 0.5137 GB Notification: Performance of Templates: time 0.01073/0.4447, allocations: 6.89 MB / 0.7059 GB, free: 4.152 MB / 0.5137 GB " [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 os._exit(0), Time elapsed: 7.90276016597636] Failed to read output from testmodel.py, exit status != 0: 0.453899092040956 0.46526593 0.074207111 Calling exit ...