Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.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.001356/0.001356, allocations: 113.6 kB / 16.41 MB, free: 6.508 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.002137/0.002137, allocations: 191.7 kB / 19.35 MB, free: 3.734 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.507/1.507, allocations: 222.9 MB / 245.1 MB, free: 15.02 MB / 206.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: 173.4 MB / 470.7 MB, free: 13.59 MB / 382.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: "" <> buildModelFMU(IDEAS.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check,fileNamePrefix="IDEAS_dev_IDEAS_Utilities_Math_Functions_Examples_InverseXDerivative_2_Check",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check,fileNamePrefix="IDEAS_dev_IDEAS_Utilities_Math_Functions_Examples_InverseXDerivative_2_Check",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001936/0.001936, allocations: 70.28 kB / 0.6479 GB, free: 11.7 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1918/0.1938, allocations: 89.53 MB / 0.7353 GB, free: 2.184 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check): time 0.00209/0.1959, allocations: 0.7853 MB / 0.7361 GB, free: 1.398 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.002037/0.198, allocations: 1.47 MB / 0.7375 GB, free: 15.91 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.369e-05/0.198, allocations: 0 / 0.7375 GB, free: 15.91 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 3.405e-05/0.1981, allocations: 7.938 kB / 0.7375 GB, free: 15.9 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 4.078e-05/0.1981, allocations: 0 / 0.7375 GB, free: 15.9 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005883/0.1987, allocations: 143.4 kB / 0.7377 GB, free: 15.76 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0001015/0.1988, allocations: 55.83 kB / 0.7377 GB, free: 15.71 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 5.169e-05/0.1989, allocations: 15.84 kB / 0.7377 GB, free: 15.69 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000101/0.199, allocations: 27.91 kB / 0.7378 GB, free: 15.66 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 6.706e-05/0.1991, allocations: 27.91 kB / 0.7378 GB, free: 15.64 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 2.063e-05/0.1991, allocations: 8 kB / 0.7378 GB, free: 15.63 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004935/0.1996, allocations: 323.3 kB / 0.7381 GB, free: 15.31 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 2.449e-05/0.1996, allocations: 15.92 kB / 0.7381 GB, free: 15.3 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 4.104e-05/0.1997, allocations: 23.91 kB / 0.7381 GB, free: 15.27 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0003598/0.2001, allocations: 203.4 kB / 0.7383 GB, free: 15.07 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.097e-06/0.2001, allocations: 0 / 0.7383 GB, free: 15.07 MB / 0.5762 GB Notification: Performance of FrontEnd: time 5.481e-06/0.2001, allocations: 0 / 0.7383 GB, free: 15.07 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 5.711e-06/0.2001, allocations: 7.938 kB / 0.7383 GB, free: 15.07 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: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.00077/0.2009, allocations: 402.9 kB / 0.7387 GB, free: 14.62 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 5.014e-05/0.2009, allocations: 15.97 kB / 0.7387 GB, free: 14.61 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.7e-05/0.201, allocations: 34.73 kB / 0.7388 GB, free: 14.57 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000476/0.2015, allocations: 76.8 kB / 0.7388 GB, free: 14.49 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001557/0.2016, allocations: 168.3 kB / 0.739 GB, free: 14.29 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.255e-05/0.2017, allocations: 4.375 kB / 0.739 GB, free: 14.29 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.996e-05/0.2017, allocations: 12.33 kB / 0.739 GB, free: 14.27 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004093/0.2021, allocations: 109.7 kB / 0.7391 GB, free: 14.16 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.536e-05/0.2021, allocations: 0 / 0.7391 GB, free: 14.16 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.804e-05/0.2022, allocations: 7.938 kB / 0.7391 GB, free: 14.15 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.945e-06/0.2022, allocations: 4 kB / 0.7391 GB, free: 14.15 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005177/0.2027, allocations: 95.89 kB / 0.7392 GB, free: 14.05 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007225/0.2034, allocations: 340.6 kB / 0.7396 GB, free: 13.67 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006945/0.2041, allocations: 162.4 kB / 0.7397 GB, free: 13.5 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002521/0.2044, allocations: 60.73 kB / 0.7398 GB, free: 13.44 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 2.419e-05/0.2044, allocations: 8 kB / 0.7398 GB, free: 13.43 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.305e-05/0.2045, allocations: 30.56 kB / 0.7398 GB, free: 13.39 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=7): time 1.463e-06/0.2045, allocations: 0 / 0.7398 GB, free: 13.39 MB / 0.5762 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 Please use -d=bltdump for more information. Notification: Performance of matching and sorting (n=11): time 0.01898/0.2235, allocations: 2.834 MB / 0.7426 GB, free: 10.46 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.986e-05/0.2236, allocations: 59.34 kB / 0.7426 GB, free: 10.39 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.399e-05/0.2237, allocations: 97.86 kB / 0.7427 GB, free: 10.29 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 4.446e-05/0.2237, allocations: 33.64 kB / 0.7428 GB, free: 10.25 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 6.635e-05/0.2238, allocations: 92.12 kB / 0.7428 GB, free: 10.16 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 7.086e-05/0.2239, allocations: 39.64 kB / 0.7429 GB, free: 10.12 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001809/0.2241, allocations: 69.58 kB / 0.7429 GB, free: 10.04 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001379/0.2242, allocations: 310.8 kB / 0.7432 GB, free: 9.73 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007178/0.2249, allocations: 195.8 kB / 0.7434 GB, free: 9.539 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000704/0.2256, allocations: 195.9 kB / 0.7436 GB, free: 9.348 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00147/0.2271, allocations: 391.4 kB / 0.744 GB, free: 8.965 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.373e-06/0.2271, allocations: 0 / 0.744 GB, free: 8.965 MB / 0.5762 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.001663/0.2288, allocations: 477.2 kB / 0.7444 GB, free: 8.492 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.139e-05/0.2288, allocations: 4 kB / 0.7444 GB, free: 8.488 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.364e-06/0.2289, allocations: 4 kB / 0.7445 GB, free: 8.484 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.925e-05/0.2289, allocations: 0 / 0.7445 GB, free: 8.484 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008626/0.2298, allocations: 115.7 kB / 0.7446 GB, free: 8.371 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.398e-06/0.2298, allocations: 0 / 0.7446 GB, free: 8.371 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006244/0.2304, allocations: 47.94 kB / 0.7446 GB, free: 8.324 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.645e-05/0.2305, allocations: 23.92 kB / 0.7446 GB, free: 8.301 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 (13): * Single equations (assignments): 13 * 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.0001845/0.2307, allocations: 121.1 kB / 0.7447 GB, free: 8.176 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.788e-05/0.2308, allocations: 4 kB / 0.7447 GB, free: 8.172 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.424e-05/0.2308, allocations: 7.969 kB / 0.7448 GB, free: 8.156 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.278e-05/0.2308, allocations: 7.938 kB / 0.7448 GB, free: 8.148 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.09e-06/0.2309, allocations: 3.938 kB / 0.7448 GB, free: 8.145 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.607e-06/0.2309, allocations: 0 / 0.7448 GB, free: 8.145 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002396/0.2333, allocations: 1.055 MB / 0.7458 GB, free: 6.977 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.865e-06/0.2333, allocations: 0 / 0.7458 GB, free: 6.977 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008843/0.2342, allocations: 111.7 kB / 0.7459 GB, free: 6.867 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.859e-06/0.2342, allocations: 0 / 0.7459 GB, free: 6.867 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.013e-05/0.2343, allocations: 23.94 kB / 0.7459 GB, free: 6.844 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.909e-06/0.2343, allocations: 3.984 kB / 0.7459 GB, free: 6.84 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.362e-06/0.2343, allocations: 0 / 0.7459 GB, free: 6.84 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002599/0.2369, allocations: 0.7997 MB / 0.7467 GB, free: 6.023 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001583/0.2371, allocations: 120.9 kB / 0.7468 GB, free: 5.887 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.574e-05/0.2371, allocations: 3.984 kB / 0.7468 GB, free: 5.883 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006807/0.2378, allocations: 48 kB / 0.7469 GB, free: 5.836 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001032/0.2379, allocations: 23.92 kB / 0.7469 GB, free: 5.812 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.695e-05/0.238, allocations: 27.94 kB / 0.7469 GB, free: 5.785 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 4.793e-05/0.238, allocations: 79.28 kB / 0.747 GB, free: 5.707 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2381, allocations: 0 / 0.747 GB, free: 5.707 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0003805/0.2384, allocations: 55.94 kB / 0.7471 GB, free: 5.652 MB / 0.5762 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (y_comp,der_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 (11): * Single equations (assignments): 11 * 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.002925/0.2414, allocations: 1.345 MB / 0.7484 GB, free: 4.281 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.001595/0.243, allocations: 431.5 kB / 0.7488 GB, free: 3.859 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.966e-06/0.243, allocations: 4 kB / 0.7488 GB, free: 3.855 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0007708/0.2438, allocations: 215.7 kB / 0.749 GB, free: 3.645 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004083/0.2442, allocations: 16 kB / 0.749 GB, free: 3.629 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009092/0.2533, allocations: 2.946 MB / 0.7519 GB, free: 0.6094 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.3669/0.6202, allocations: 0.6877 MB / 0.7526 GB, free: 18.8 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0006014/0.6209, allocations: 91.23 kB / 0.7526 GB, free: 18.8 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003159/0.6212, allocations: 65.84 kB / 0.7527 GB, free: 18.8 MB / 0.5762 GB Notification: Performance of SimCode: time 1.032e-06/0.6212, allocations: 0.5625 kB / 0.7527 GB, free: 18.8 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03796/0.6592, allocations: 4.554 MB / 0.7572 GB, free: 18.4 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.1/8.759, allocations: 18.31 kB / 0.7572 GB, free: 18.39 MB / 0.5762 GB " [Timeout remaining time 651] (rm -f IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.sim & python3 -m fmpy simulate --output-file IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check_res.csv --start-time -1.5 --stop-time 1.5 --timeout 50 --relative-tolerance 1e-08 --interface-type ModelExchange --solver CVode --output-interval 0.0012 IDEAS_dev_IDEAS_Utilities_Math_Functions_Examples_InverseXDerivative_2_Check.fmu > IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 12.72001365898177] Failed to read output from testmodel.py, exit status != 0: 8.828252034028992 8.840442098 8.637712703 Calling exit ...