Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.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.001246/0.001246, allocations: 118.2 kB / 17.13 MB, free: 5.918 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.001293/0.001293, allocations: 194.2 kB / 20.08 MB, free: 2.988 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.415/1.415, allocations: 225.6 MB / 248.5 MB, free: 3.621 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/Media/Refrigerants/R410A/package.order:0:0-0:0:readonly] Warning: Found duplicate names in package.order file: A, B, C. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/Media/Refrigerants/R410A/package.mo:2:1-70:10:writable] Warning: C was referenced in the package.order file, but was not found in package.mo, C/package.mo or C.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.091/1.091, allocations: 175.7 MB / 479.1 MB, free: 3.406 MB / 366.1 MB " [Timeout remaining time 179] Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.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(IDEAS.Utilities.Math.Functions.Examples.InverseXDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.InverseXDerivativeCheck") translateModel(IDEAS.Utilities.Math.Functions.Examples.InverseXDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.InverseXDerivativeCheck") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001906/0.001906, allocations: 73.34 kB / 0.6664 GB, free: 10.82 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1889/0.1908, allocations: 94.53 MB / 0.7587 GB, free: 1.039 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.InverseXDerivativeCheck): time 0.001803/0.1926, allocations: 0.6029 MB / 0.7593 GB, free: 448 kB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.002043/0.1946, allocations: 1.46 MB / 0.7607 GB, free: 14.96 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.935e-05/0.1946, allocations: 0 / 0.7607 GB, free: 14.96 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 1.312e-05/0.1947, allocations: 7.938 kB / 0.7607 GB, free: 14.95 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 3.072e-05/0.1947, allocations: 3.938 kB / 0.7607 GB, free: 14.95 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005334/0.1952, allocations: 127.5 kB / 0.7609 GB, free: 14.82 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 7.877e-05/0.1953, allocations: 35.89 kB / 0.7609 GB, free: 14.79 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 4.308e-05/0.1953, allocations: 12 kB / 0.7609 GB, free: 14.78 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 4.248e-05/0.1954, allocations: 15.98 kB / 0.7609 GB, free: 14.76 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 9.024e-05/0.1955, allocations: 23.91 kB / 0.7609 GB, free: 14.74 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 1.957e-05/0.1955, allocations: 4 kB / 0.761 GB, free: 14.73 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005284/0.196, allocations: 315.3 kB / 0.7613 GB, free: 14.43 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 2.043e-05/0.196, allocations: 3.984 kB / 0.7613 GB, free: 14.42 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 3.484e-05/0.1961, allocations: 15.92 kB / 0.7613 GB, free: 14.41 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0003328/0.1964, allocations: 187.5 kB / 0.7615 GB, free: 14.22 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.788e-06/0.1964, allocations: 3.938 kB / 0.7615 GB, free: 14.22 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.413e-06/0.1964, allocations: 0 / 0.7615 GB, free: 14.22 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.181e-05/0.1964, allocations: 0 / 0.7615 GB, free: 14.22 MB / 0.5762 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.000631/0.1971, allocations: 375.1 kB / 0.7618 GB, free: 13.8 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.764e-05/0.1971, allocations: 8.031 kB / 0.7618 GB, free: 13.8 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004804/0.1976, allocations: 64.86 kB / 0.7619 GB, free: 13.73 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001581/0.1977, allocations: 164.4 kB / 0.762 GB, free: 13.54 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.555e-05/0.1978, allocations: 4.375 kB / 0.762 GB, free: 13.53 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.99e-05/0.1978, allocations: 8.375 kB / 0.7621 GB, free: 13.52 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002907/0.1981, allocations: 81.89 kB / 0.7621 GB, free: 13.44 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.335e-06/0.1981, allocations: 0 / 0.7621 GB, free: 13.44 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.323e-05/0.1981, allocations: 0 / 0.7621 GB, free: 13.44 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.147e-05/0.1981, allocations: 3.984 kB / 0.7621 GB, free: 13.43 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003227/0.1984, allocations: 67.92 kB / 0.7622 GB, free: 13.37 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002372/0.1987, allocations: 169.6 kB / 0.7624 GB, free: 13.15 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006854/0.1994, allocations: 114.5 kB / 0.7625 GB, free: 13.03 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001791/0.1995, allocations: 48.84 kB / 0.7625 GB, free: 12.98 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005016/0.2, allocations: 157 kB / 0.7627 GB, free: 12.81 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.052e-05/0.2001, allocations: 34.5 kB / 0.7627 GB, free: 12.77 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=4): time 1.122e-06/0.2001, allocations: 4 kB / 0.7627 GB, free: 12.76 MB / 0.5762 GB Notification: Performance of matching and sorting (n=5): time 0.001293/0.2014, allocations: 402.2 kB / 0.7631 GB, free: 12.32 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.408e-05/0.2014, allocations: 55.41 kB / 0.7631 GB, free: 12.25 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001212/0.2015, allocations: 97.84 kB / 0.7632 GB, free: 12.14 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 2.333e-05/0.2015, allocations: 25.7 kB / 0.7633 GB, free: 12.11 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 3.557e-05/0.2016, allocations: 80.14 kB / 0.7633 GB, free: 12.03 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 3.563e-05/0.2016, allocations: 19.86 kB / 0.7634 GB, free: 12.01 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.414e-05/0.2017, allocations: 25.83 kB / 0.7634 GB, free: 11.98 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001534/0.2018, allocations: 314.8 kB / 0.7637 GB, free: 11.66 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001628/0.202, allocations: 31.97 kB / 0.7637 GB, free: 11.63 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001597/0.2022, allocations: 43.89 kB / 0.7637 GB, free: 11.59 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003133/0.2025, allocations: 76.75 kB / 0.7638 GB, free: 11.51 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.51e-07/0.2025, allocations: 0 / 0.7638 GB, free: 11.51 MB / 0.5762 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0004583/0.2029, allocations: 117.5 kB / 0.7639 GB, free: 11.39 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.549e-05/0.2029, allocations: 8 kB / 0.7639 GB, free: 11.38 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.54e-06/0.2029, allocations: 0 / 0.7639 GB, free: 11.38 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.433e-05/0.203, allocations: 0 / 0.7639 GB, free: 11.38 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001503/0.2031, allocations: 27.97 kB / 0.764 GB, free: 11.36 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.829e-06/0.2031, allocations: 0 / 0.764 GB, free: 11.36 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.776e-05/0.2032, allocations: 11.98 kB / 0.764 GB, free: 11.34 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.161e-05/0.2032, allocations: 8 kB / 0.764 GB, free: 11.34 MB / 0.5762 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 9.091e-05/0.2033, allocations: 109.8 kB / 0.7641 GB, free: 11.22 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.9e-05/0.2033, allocations: 8.141 kB / 0.7641 GB, free: 11.21 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004918/0.2038, allocations: 137.1 kB / 0.7642 GB, free: 11.07 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.825e-06/0.2038, allocations: 4 kB / 0.7642 GB, free: 11.06 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.789e-06/0.2038, allocations: 0 / 0.7642 GB, free: 11.06 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.056e-06/0.2038, allocations: 4 kB / 0.7642 GB, free: 11.06 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001871/0.204, allocations: 165.7 kB / 0.7644 GB, free: 10.85 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-06/0.204, allocations: 0 / 0.7644 GB, free: 10.85 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001596/0.2042, allocations: 27.91 kB / 0.7644 GB, free: 10.82 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.773e-06/0.2042, allocations: 0 / 0.7644 GB, free: 10.82 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.488e-05/0.2042, allocations: 4 kB / 0.7644 GB, free: 10.82 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.152e-06/0.2042, allocations: 0 / 0.7644 GB, free: 10.82 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.41e-07/0.2042, allocations: 4 kB / 0.7644 GB, free: 10.81 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000643/0.2048, allocations: 189 kB / 0.7646 GB, free: 10.61 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 9.152e-05/0.2049, allocations: 85.03 kB / 0.7647 GB, free: 10.51 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.84e-05/0.205, allocations: 0 / 0.7647 GB, free: 10.51 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001165/0.2051, allocations: 12.02 kB / 0.7647 GB, free: 10.5 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.006e-05/0.2051, allocations: 12.06 kB / 0.7647 GB, free: 10.48 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.241e-05/0.2051, allocations: 7.984 kB / 0.7647 GB, free: 10.48 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 4.583e-05/0.2052, allocations: 75.28 kB / 0.7648 GB, free: 10.4 MB / 0.5762 GB Notification: Performance of sort global known variables: time 9.1e-08/0.2052, allocations: 0 / 0.7648 GB, free: 10.4 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0002531/0.2054, allocations: 27.88 kB / 0.7648 GB, free: 10.38 MB / 0.5762 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.0002547/0.2057, allocations: 138 kB / 0.765 GB, free: 10.23 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0004079/0.2061, allocations: 91.95 kB / 0.765 GB, free: 10.14 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.945e-06/0.2061, allocations: 0 / 0.765 GB, free: 10.14 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0001776/0.2063, allocations: 47.95 kB / 0.7651 GB, free: 10.09 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001529/0.2064, allocations: 0 / 0.7651 GB, free: 10.09 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007027/0.2071, allocations: 223.2 kB / 0.7653 GB, free: 9.844 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003236/0.2074, allocations: 0.6807 MB / 0.766 GB, free: 9.137 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.012e-05/0.2075, allocations: 15.42 kB / 0.766 GB, free: 9.125 MB / 0.5762 GB Notification: Performance of SimCode: time 3.21e-07/0.2075, allocations: 0 / 0.766 GB, free: 9.125 MB / 0.5762 GB Notification: Performance of Templates: time 0.003062/0.2106, allocations: 1.137 MB / 0.7671 GB, free: 7.988 MB / 0.5762 GB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.sim & ./IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.InverseXDerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 7.980427370173857] Failed to read output from testmodel.py, exit status != 0: 0.21797209791839123 0.23245021299999996 0.033159114 Calling exit ...