Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.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.001509/0.001509, allocations: 121.2 kB / 17.8 MB, free: 5.121 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.001535/0.001535, allocations: 189.5 kB / 20.75 MB, free: 2.184 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.396/1.396, allocations: 225.6 MB / 249.2 MB, free: 3.641 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.8221/0.8221, allocations: 128.4 MB / 432.4 MB, free: 13.37 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.InverseXDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.InverseXDerivativeCheck") translateModel(IBPSA.Utilities.Math.Functions.Examples.InverseXDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.InverseXDerivativeCheck") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00197/0.00197, allocations: 75.88 kB / 0.5988 GB, free: 15.87 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3679/0.3698, allocations: 83.26 MB / 0.6801 GB, free: 7.047 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Functions.Examples.InverseXDerivativeCheck): time 0.001505/0.3713, allocations: 0.5981 MB / 0.6807 GB, free: 6.602 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001402/0.3727, allocations: 1.472 MB / 0.6821 GB, free: 5.414 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.891e-05/0.3728, allocations: 0 / 0.6821 GB, free: 5.414 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 1.224e-05/0.3728, allocations: 0 / 0.6821 GB, free: 5.414 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 2.739e-05/0.3728, allocations: 0 / 0.6821 GB, free: 5.414 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004287/0.3732, allocations: 141.7 kB / 0.6822 GB, free: 5.32 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 6.221e-05/0.3733, allocations: 32.62 kB / 0.6823 GB, free: 5.305 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 3.79e-05/0.3733, allocations: 5.188 kB / 0.6823 GB, free: 5.301 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 3.678e-05/0.3734, allocations: 13.08 kB / 0.6823 GB, free: 5.297 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 7.508e-05/0.3734, allocations: 34.64 kB / 0.6823 GB, free: 5.273 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.62e-05/0.3735, allocations: 1.125 kB / 0.6823 GB, free: 5.273 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004/0.3739, allocations: 316.7 kB / 0.6826 GB, free: 5.09 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.543e-05/0.3739, allocations: 13.12 kB / 0.6826 GB, free: 5.078 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.438e-05/0.3739, allocations: 15.58 kB / 0.6826 GB, free: 5.066 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002612/0.3742, allocations: 182.5 kB / 0.6828 GB, free: 4.977 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.368e-06/0.3742, allocations: 0 / 0.6828 GB, free: 4.977 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.323e-06/0.3742, allocations: 1.188 kB / 0.6828 GB, free: 4.977 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.118e-05/0.3742, allocations: 0 / 0.6828 GB, free: 4.977 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0004414/0.3746, allocations: 368.1 kB / 0.6832 GB, free: 4.586 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.398e-05/0.3747, allocations: 8.906 kB / 0.6832 GB, free: 4.586 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000444/0.3751, allocations: 67.56 kB / 0.6832 GB, free: 4.559 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.024e-05/0.3752, allocations: 178.2 kB / 0.6834 GB, free: 4.348 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.198e-05/0.3752, allocations: 5.406 kB / 0.6834 GB, free: 4.344 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.326e-05/0.3752, allocations: 1.469 kB / 0.6834 GB, free: 4.344 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002407/0.3755, allocations: 77.61 kB / 0.6835 GB, free: 4.285 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.356e-06/0.3755, allocations: 1.031 kB / 0.6835 GB, free: 4.285 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.169e-05/0.3755, allocations: 0 / 0.6835 GB, free: 4.285 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.476e-06/0.3755, allocations: 1.125 kB / 0.6835 GB, free: 4.285 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002919/0.3758, allocations: 70.8 kB / 0.6836 GB, free: 4.254 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001295/0.3759, allocations: 169.8 kB / 0.6837 GB, free: 4.047 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005706/0.3765, allocations: 113.6 kB / 0.6838 GB, free: 3.988 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001546/0.3766, allocations: 48.03 kB / 0.6839 GB, free: 3.961 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004076/0.377, allocations: 150.5 kB / 0.684 GB, free: 3.84 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.448e-05/0.3771, allocations: 35.53 kB / 0.6841 GB, free: 3.797 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=4): time 1.082e-06/0.3771, allocations: 0 / 0.6841 GB, free: 3.797 MB / 0.4981 GB Notification: Performance of matching and sorting (n=5): time 0.001065/0.3781, allocations: 407.3 kB / 0.6844 GB, free: 3.465 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.999e-05/0.3781, allocations: 59.34 kB / 0.6845 GB, free: 3.395 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.502e-05/0.3782, allocations: 97.38 kB / 0.6846 GB, free: 3.293 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.093e-05/0.3782, allocations: 25.7 kB / 0.6846 GB, free: 3.262 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 1.19e-05/0.3782, allocations: 81.48 kB / 0.6847 GB, free: 3.18 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.576e-05/0.3782, allocations: 21.14 kB / 0.6847 GB, free: 3.16 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.223e-05/0.3783, allocations: 24.42 kB / 0.6847 GB, free: 3.137 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 3.494e-05/0.3783, allocations: 315 kB / 0.685 GB, free: 2.82 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001527/0.3785, allocations: 33.75 kB / 0.6851 GB, free: 2.809 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001427/0.3786, allocations: 37.92 kB / 0.6851 GB, free: 2.793 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002862/0.3789, allocations: 75.2 kB / 0.6852 GB, free: 2.758 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.21e-07/0.3789, allocations: 0 / 0.6852 GB, free: 2.758 MB / 0.4981 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0003378/0.3792, allocations: 113.4 kB / 0.6853 GB, free: 2.691 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.363e-05/0.3792, allocations: 5.656 kB / 0.6853 GB, free: 2.691 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.928e-06/0.3792, allocations: 3.938 kB / 0.6853 GB, free: 2.688 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.525e-05/0.3793, allocations: 5.469 kB / 0.6853 GB, free: 2.684 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001397/0.3794, allocations: 27.84 kB / 0.6853 GB, free: 2.672 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.661e-06/0.3794, allocations: 0 / 0.6853 GB, free: 2.672 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.103e-05/0.3795, allocations: 11.83 kB / 0.6853 GB, free: 2.668 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.889e-06/0.3795, allocations: 6.469 kB / 0.6853 GB, free: 2.664 MB / 0.4981 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 (6): * Single equations (assignments): 6 * 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 4.856e-05/0.3795, allocations: 115.2 kB / 0.6855 GB, free: 2.543 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.64e-05/0.3796, allocations: 5.281 kB / 0.6855 GB, free: 2.539 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004133/0.38, allocations: 134.4 kB / 0.6856 GB, free: 2.453 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.414e-06/0.38, allocations: 1.312 kB / 0.6856 GB, free: 2.453 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.496e-06/0.38, allocations: 3.938 kB / 0.6856 GB, free: 2.449 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.156e-06/0.38, allocations: 7.984 kB / 0.6856 GB, free: 2.441 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.717e-05/0.3801, allocations: 167 kB / 0.6858 GB, free: 2.238 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.132e-06/0.3801, allocations: 1.375 kB / 0.6858 GB, free: 2.238 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001463/0.3802, allocations: 27.66 kB / 0.6858 GB, free: 2.227 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.583e-06/0.3802, allocations: 0 / 0.6858 GB, free: 2.227 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.029e-05/0.3802, allocations: 2.531 kB / 0.6858 GB, free: 2.227 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.222e-06/0.3802, allocations: 0 / 0.6858 GB, free: 2.227 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.91e-07/0.3802, allocations: 0 / 0.6858 GB, free: 2.227 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005122/0.3807, allocations: 192.7 kB / 0.686 GB, free: 2.098 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.328e-05/0.3808, allocations: 87.56 kB / 0.6861 GB, free: 1.996 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.589e-05/0.3808, allocations: 0 / 0.6861 GB, free: 1.996 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001128/0.3809, allocations: 12.67 kB / 0.6861 GB, free: 1.992 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.269e-05/0.3809, allocations: 10.09 kB / 0.6861 GB, free: 1.984 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.006e-05/0.381, allocations: 10.3 kB / 0.6861 GB, free: 1.977 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 1.646e-05/0.381, allocations: 78.03 kB / 0.6862 GB, free: 1.902 MB / 0.4981 GB Notification: Performance of sort global known variables: time 7e-08/0.381, allocations: 0 / 0.6862 GB, free: 1.902 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002369/0.3812, allocations: 28.88 kB / 0.6862 GB, free: 1.895 MB / 0.4981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (6): * Single equations (assignments): 6 * 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.0001757/0.3814, allocations: 126.5 kB / 0.6863 GB, free: 1.789 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0003702/0.3818, allocations: 82.27 kB / 0.6864 GB, free: 1.758 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.3818, allocations: 0 / 0.6864 GB, free: 1.758 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001596/0.3819, allocations: 54.8 kB / 0.6864 GB, free: 1.73 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001448/0.3821, allocations: 6.062 kB / 0.6864 GB, free: 1.727 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000564/0.3826, allocations: 210.9 kB / 0.6867 GB, free: 1.547 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.866e-05/0.3827, allocations: 0.6782 MB / 0.6873 GB, free: 0.8477 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.368e-05/0.3828, allocations: 16.7 kB / 0.6873 GB, free: 0.8398 MB / 0.4981 GB Notification: Performance of SimCode: time 3.2e-07/0.3828, allocations: 0 / 0.6873 GB, free: 0.8398 MB / 0.4981 GB Notification: Performance of Templates: time 0.002564/0.3853, allocations: 1.142 MB / 0.6884 GB, free: 252 kB / 0.4981 GB " [Timeout remaining time 660] make -j1 -f IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.makefile [Timeout 660] (rm -f IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.sim & ./IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.InverseXDerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 7.596962021198124] Failed to read output from testmodel.py, exit status != 0: 0.3929258310236037 0.414851412 0.036262463 Calling exit ...