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.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.0007975/0.0007975, allocations: 72.19 kB / 9.907 MB, free: 0.7812 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001503/0.002301, allocations: 447.8 kB / 10.34 MB, free: 352 kB / 10.45 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.001026/0.001026, allocations: 161.1 kB / 11.23 MB, free: 2.938 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001321/0.002347, allocations: 463.6 kB / 11.69 MB, free: 2.48 MB / 13.93 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 0.9691/0.9691, allocations: 177.2 MB / 189.6 MB, free: 5.312 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08523/1.054, allocations: 53.65 MB / 243.2 MB, free: 15.59 MB / 250.7 MB " [Timeout remaining time 179] 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.6425/0.6425, allocations: 119.1 MB / 363.1 MB, free: 3.711 MB / 346.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.06814/0.7106, allocations: 37.85 MB / 400.9 MB, free: 13.74 MB / 394.7 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.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.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 1.382e-06/1.382e-06, allocations: 0 / 402.3 MB, free: 12.36 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 9.839e-06/1.122e-05, allocations: 6.25 kB / 402.3 MB, free: 12.36 MB / 394.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Functions.Examples.InverseXDerivativeCheck): time 0.0009629/0.0009741, allocations: 0.6461 MB / 402.9 MB, free: 11.7 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.001239/0.002213, allocations: 1.485 MB / 404.4 MB, free: 10.2 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.025e-05/0.002234, allocations: 4 kB / 404.4 MB, free: 10.2 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 4.008e-06/0.002238, allocations: 0 / 404.4 MB, free: 10.2 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 6.472e-06/0.002244, allocations: 0 / 404.4 MB, free: 10.2 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002628/0.002507, allocations: 135.3 kB / 404.6 MB, free: 10.06 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 5.546e-05/0.002562, allocations: 31.97 kB / 404.6 MB, free: 10.03 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.132e-05/0.002594, allocations: 0 / 404.6 MB, free: 10.03 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.793e-05/0.002652, allocations: 23.92 kB / 404.6 MB, free: 10.01 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.086e-05/0.002712, allocations: 23.95 kB / 404.6 MB, free: 9.984 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 1.315e-05/0.002726, allocations: 4 kB / 404.6 MB, free: 9.98 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002581/0.002984, allocations: 259.4 kB / 404.9 MB, free: 9.727 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 1.131e-05/0.002995, allocations: 4 kB / 404.9 MB, free: 9.723 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 1.399e-05/0.003009, allocations: 4 kB / 404.9 MB, free: 9.719 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002736/0.003283, allocations: 163.6 kB / 405.1 MB, free: 9.559 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.241e-05/0.003295, allocations: 0 / 405.1 MB, free: 9.559 MB / 394.7 MB Notification: Performance of FrontEnd: time 4.61e-07/0.003296, allocations: 0 / 405.1 MB, free: 9.559 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.082e-05/0.003306, allocations: 4 kB / 405.1 MB, free: 9.555 MB / 394.7 MB 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.0003574/0.003664, allocations: 288.2 kB / 405.4 MB, free: 9.25 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.598e-05/0.00369, allocations: 12.03 kB / 405.4 MB, free: 9.238 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002272/0.003917, allocations: 126 kB / 405.5 MB, free: 9.098 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.378e-05/0.003981, allocations: 105.8 kB / 405.6 MB, free: 8.969 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.193e-05/0.003993, allocations: 8.375 kB / 405.6 MB, free: 8.961 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.573e-05/0.004008, allocations: 4.375 kB / 405.6 MB, free: 8.957 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001245/0.004133, allocations: 96.61 kB / 405.7 MB, free: 8.848 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.942e-06/0.004139, allocations: 4.125 kB / 405.7 MB, free: 8.844 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.445e-06/0.004147, allocations: 384 / 405.7 MB, free: 8.844 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.388e-06/0.004157, allocations: 11.88 kB / 405.7 MB, free: 8.832 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.706e-05/0.004194, allocations: 15.98 kB / 405.7 MB, free: 8.816 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.826e-05/0.004282, allocations: 65.05 kB / 405.8 MB, free: 8.738 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001447/0.004427, allocations: 42.59 kB / 405.8 MB, free: 8.688 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.001e-05/0.004447, allocations: 12.94 kB / 405.8 MB, free: 8.672 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001309/0.004577, allocations: 47.95 kB / 405.9 MB, free: 8.625 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.186e-05/0.004599, allocations: 38.56 kB / 405.9 MB, free: 8.578 MB / 394.7 MB Notification: Performance of pre-optimization done (n=4): time 7.52e-07/0.0046, allocations: 0 / 405.9 MB, free: 8.578 MB / 394.7 MB Notification: Performance of matching and sorting (n=5): time 0.0003449/0.004945, allocations: 205.3 kB / 406.1 MB, free: 8.344 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.668e-05/0.004972, allocations: 51.41 kB / 406.2 MB, free: 8.281 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.086e-05/0.005023, allocations: 114.6 kB / 406.3 MB, free: 8.156 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.186e-05/0.005034, allocations: 25.7 kB / 406.3 MB, free: 8.125 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.443e-05/0.005059, allocations: 80.14 kB / 406.4 MB, free: 8.043 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.519e-05/0.005084, allocations: 15.84 kB / 406.4 MB, free: 8.027 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.856e-05/0.005123, allocations: 29.69 kB / 406.4 MB, free: 7.992 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 6.693e-05/0.005189, allocations: 310.8 kB / 406.7 MB, free: 7.68 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.504e-05/0.005205, allocations: 4 kB / 406.8 MB, free: 7.676 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.607e-05/0.005221, allocations: 8 kB / 406.8 MB, free: 7.668 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.664e-05/0.005257, allocations: 24.84 kB / 406.8 MB, free: 7.641 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.81e-07/0.005258, allocations: 0 / 406.8 MB, free: 7.641 MB / 394.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 5.734e-05/0.005315, allocations: 53.75 kB / 406.8 MB, free: 7.582 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.666e-06/0.005324, allocations: 4 kB / 406.8 MB, free: 7.578 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.178e-06/0.005328, allocations: 3.984 kB / 406.8 MB, free: 7.574 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.652e-06/0.005335, allocations: 4 kB / 406.8 MB, free: 7.57 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.862e-05/0.005403, allocations: 15.98 kB / 406.9 MB, free: 7.555 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.883e-06/0.005405, allocations: 0 / 406.9 MB, free: 7.555 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.95e-05/0.005435, allocations: 15.92 kB / 406.9 MB, free: 7.539 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.85e-06/0.005439, allocations: 256 / 406.9 MB, free: 7.539 MB / 394.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 (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.437e-05/0.005484, allocations: 113.8 kB / 407 MB, free: 7.418 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.756e-06/0.005493, allocations: 4 kB / 407 MB, free: 7.414 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001023/0.005595, allocations: 81.34 kB / 407.1 MB, free: 7.332 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.142e-06/0.005596, allocations: 4 kB / 407.1 MB, free: 7.328 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.483e-06/0.005598, allocations: 0 / 407.1 MB, free: 7.328 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.707e-06/0.005601, allocations: 7.938 kB / 407.1 MB, free: 7.32 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.81e-05/0.005659, allocations: 69.89 kB / 407.2 MB, free: 7.234 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.71e-07/0.00566, allocations: 3.938 kB / 407.2 MB, free: 7.23 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.035e-05/0.005721, allocations: 19.98 kB / 407.2 MB, free: 7.211 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.435e-05/0.005745, allocations: 11.98 kB / 407.2 MB, free: 7.199 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.82e-07/0.005746, allocations: 0 / 407.2 MB, free: 7.199 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.551e-06/0.005751, allocations: 0 / 407.2 MB, free: 7.199 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.71e-07/0.005752, allocations: 0 / 407.2 MB, free: 7.199 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.11e-07/0.005753, allocations: 4 kB / 407.2 MB, free: 7.195 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001027/0.005856, allocations: 96.97 kB / 407.3 MB, free: 7.082 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.858e-06/0.005865, allocations: 0 / 407.3 MB, free: 7.082 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.144e-05/0.005897, allocations: 7.984 kB / 407.3 MB, free: 7.074 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.587e-05/0.005913, allocations: 11.98 kB / 407.3 MB, free: 7.062 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.108e-06/0.005917, allocations: 0 / 407.3 MB, free: 7.062 MB / 394.7 MB Notification: Performance of sorting global known variables: time 7.774e-06/0.005925, allocations: 8.859 kB / 407.3 MB, free: 7.051 MB / 394.7 MB Notification: Performance of sort global known variables: time 5e-08/0.005925, allocations: 0 / 407.3 MB, free: 7.051 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0001196/0.006044, allocations: 32 kB / 407.3 MB, free: 7.02 MB / 394.7 MB 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.0001083/0.006153, allocations: 112.3 kB / 407.5 MB, free: 6.902 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 7.315e-05/0.006226, allocations: 40.7 kB / 407.5 MB, free: 6.859 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.626e-06/0.006229, allocations: 0 / 407.5 MB, free: 6.859 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 2.093e-05/0.00625, allocations: 16.86 kB / 407.5 MB, free: 6.84 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 5.848e-05/0.006309, allocations: 11.98 kB / 407.5 MB, free: 6.828 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002328/0.006542, allocations: 141 kB / 407.7 MB, free: 6.664 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.238e-05/0.006564, allocations: 55.36 kB / 407.7 MB, free: 6.59 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 5.048e-05/0.006614, allocations: 23.97 kB / 407.7 MB, free: 6.566 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.43e-05/0.006669, allocations: 51.38 kB / 407.8 MB, free: 6.516 MB / 394.7 MB Notification: Performance of SimCode: time 5.41e-07/0.006669, allocations: 4 kB / 407.8 MB, free: 6.512 MB / 394.7 MB Notification: Performance of Templates: time 0.00219/0.008859, allocations: 1.335 MB / 409.1 MB, free: 5.18 MB / 394.7 MB " [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=240 -lv LOG_STATS > IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.028970821760595]