Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.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.001079/0.001079, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 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.001675/0.001675, allocations: 165.9 kB / 22.46 MB, free: 2.105 MB / 18.57 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.8964/0.8964, allocations: 177.1 MB / 202.8 MB, free: 5.758 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-531:686:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-531:694:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/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 4.0.0/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 4.0.0/package.mo): time 0.7515/0.7515, allocations: 154.6 MB / 413.7 MB, free: 0.8086 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Utilities/Cryptographics/BaseClasses/sha.mo:2:1-19:8:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Utilities/File/sha2.mo:2:1-9:9:writable] Warning: External function annotation should occur on the external-clause, not on the function. " [Timeout remaining time 179] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/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: "" <> buildModelFMU(IDEAS.Utilities.Math.Functions.Examples.InverseXDerivativeCheck,fileNamePrefix="IDEAS_IDEAS_Utilities_Math_Functions_Examples_InverseXDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Math.Functions.Examples.InverseXDerivativeCheck,fileNamePrefix="IDEAS_IDEAS_Utilities_Math_Functions_Examples_InverseXDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.044e-06/2.044e-06, allocations: 0 / 0.6181 GB, free: 13.65 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.504e-05/2.708e-05, allocations: 3.75 kB / 0.6181 GB, free: 13.65 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.InverseXDerivativeCheck): time 0.001237/0.001264, allocations: 0.6114 MB / 0.6187 GB, free: 13.04 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.00139/0.002653, allocations: 1.435 MB / 0.6201 GB, free: 11.59 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.337e-05/0.002677, allocations: 0 / 0.6201 GB, free: 11.59 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 1.576e-05/0.002693, allocations: 0 / 0.6201 GB, free: 11.59 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 2.555e-05/0.002718, allocations: 0 / 0.6201 GB, free: 11.59 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004371/0.003155, allocations: 147.3 kB / 0.6203 GB, free: 11.45 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 7.057e-05/0.003226, allocations: 35.95 kB / 0.6203 GB, free: 11.41 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 3.846e-05/0.003264, allocations: 0 / 0.6203 GB, free: 11.41 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 5.304e-05/0.003317, allocations: 23.92 kB / 0.6203 GB, free: 11.39 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 6.759e-05/0.003385, allocations: 23.95 kB / 0.6204 GB, free: 11.36 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 1.685e-05/0.003402, allocations: 0 / 0.6204 GB, free: 11.36 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002676/0.003669, allocations: 247.5 kB / 0.6206 GB, free: 11.12 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 1.56e-05/0.003685, allocations: 7.984 kB / 0.6206 GB, free: 11.11 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 2.027e-05/0.003705, allocations: 15.98 kB / 0.6206 GB, free: 11.1 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.0002172/0.003922, allocations: 199.4 kB / 0.6208 GB, free: 10.9 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 2.234e-06/0.003924, allocations: 4 kB / 0.6208 GB, free: 10.9 MB / 0.5886 GB Notification: Performance of FrontEnd: time 7.61e-07/0.003925, allocations: 0 / 0.6208 GB, free: 10.9 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 3.607e-06/0.003929, allocations: 0 / 0.6208 GB, free: 10.9 MB / 0.5886 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.0003789/0.004308, allocations: 286 kB / 0.6211 GB, free: 10.59 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 3.815e-05/0.004346, allocations: 12.03 kB / 0.6211 GB, free: 10.58 MB / 0.5886 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.962e-05/0.004376, allocations: 30.75 kB / 0.6211 GB, free: 10.54 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00025/0.004626, allocations: 72.83 kB / 0.6212 GB, free: 10.47 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003595/0.004985, allocations: 109.8 kB / 0.6213 GB, free: 10.34 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.97e-05/0.005005, allocations: 4.375 kB / 0.6213 GB, free: 10.33 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.03e-05/0.005025, allocations: 8.312 kB / 0.6213 GB, free: 10.32 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001728/0.005198, allocations: 103.8 kB / 0.6214 GB, free: 10.21 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.652e-06/0.005205, allocations: 192 / 0.6214 GB, free: 10.21 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.134e-05/0.005216, allocations: 4.125 kB / 0.6214 GB, free: 10.21 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.228e-06/0.00522, allocations: 0 / 0.6214 GB, free: 10.21 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001496/0.00537, allocations: 63.94 kB / 0.6215 GB, free: 10.14 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001321/0.005502, allocations: 136.8 kB / 0.6216 GB, free: 9.969 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003339/0.005836, allocations: 126.5 kB / 0.6217 GB, free: 9.836 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.304e-05/0.005919, allocations: 40.92 kB / 0.6218 GB, free: 9.793 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002354/0.006154, allocations: 83.83 kB / 0.6219 GB, free: 9.711 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.975e-05/0.006174, allocations: 34.56 kB / 0.6219 GB, free: 9.668 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=4): time 9.72e-07/0.006175, allocations: 4 kB / 0.6219 GB, free: 9.664 MB / 0.5886 GB Notification: Performance of matching and sorting (n=5): time 0.0007325/0.006907, allocations: 333 kB / 0.6222 GB, free: 9.305 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.004e-05/0.006937, allocations: 51.41 kB / 0.6223 GB, free: 9.242 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.036e-05/0.006988, allocations: 93.86 kB / 0.6223 GB, free: 9.141 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 1.395e-05/0.007002, allocations: 29.7 kB / 0.6224 GB, free: 9.105 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 2.339e-05/0.007025, allocations: 80.14 kB / 0.6225 GB, free: 9.023 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 2.683e-05/0.007052, allocations: 15.89 kB / 0.6225 GB, free: 9.008 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.873e-05/0.007091, allocations: 17.72 kB / 0.6225 GB, free: 8.984 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 8.051e-05/0.007171, allocations: 318.8 kB / 0.6228 GB, free: 8.664 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.148e-05/0.007253, allocations: 36.08 kB / 0.6228 GB, free: 8.629 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.114e-05/0.007324, allocations: 31.97 kB / 0.6229 GB, free: 8.598 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001543/0.007478, allocations: 84.73 kB / 0.6229 GB, free: 8.512 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.11e-07/0.007479, allocations: 0 / 0.6229 GB, free: 8.512 MB / 0.5886 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.000234/0.007713, allocations: 121.8 kB / 0.6231 GB, free: 8.387 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.418e-05/0.007727, allocations: 4 kB / 0.6231 GB, free: 8.383 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.685e-06/0.007735, allocations: 7.938 kB / 0.6231 GB, free: 8.375 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.152e-05/0.007746, allocations: 0 / 0.6231 GB, free: 8.375 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.005e-05/0.007826, allocations: 23.98 kB / 0.6231 GB, free: 8.352 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.491e-06/0.007832, allocations: 0 / 0.6231 GB, free: 8.352 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.312e-05/0.007875, allocations: 11.98 kB / 0.6231 GB, free: 8.34 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.953e-06/0.007882, allocations: 3.984 kB / 0.6231 GB, free: 8.336 MB / 0.5886 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 5.979e-05/0.007942, allocations: 110.8 kB / 0.6232 GB, free: 8.219 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.198e-06/0.007951, allocations: 4 kB / 0.6232 GB, free: 8.215 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002553/0.008206, allocations: 141.3 kB / 0.6233 GB, free: 8.07 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.623e-06/0.008208, allocations: 7.938 kB / 0.6234 GB, free: 8.062 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.231e-06/0.008214, allocations: 0 / 0.6234 GB, free: 8.062 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.156e-06/0.008217, allocations: 336 / 0.6234 GB, free: 8.062 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.511e-05/0.008312, allocations: 132.7 kB / 0.6235 GB, free: 7.891 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.173e-06/0.008314, allocations: 0 / 0.6235 GB, free: 7.891 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.306e-05/0.008407, allocations: 31.98 kB / 0.6235 GB, free: 7.859 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.425e-06/0.008409, allocations: 0 / 0.6235 GB, free: 7.859 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.052e-05/0.00842, allocations: 7.922 kB / 0.6235 GB, free: 7.852 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.362e-06/0.008421, allocations: 0 / 0.6235 GB, free: 7.852 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.903e-06/0.008423, allocations: 3.984 kB / 0.6235 GB, free: 7.848 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000308/0.008731, allocations: 184.9 kB / 0.6237 GB, free: 7.648 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 4.005e-05/0.008771, allocations: 8.016 kB / 0.6237 GB, free: 7.641 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.333e-05/0.008784, allocations: 7.875 kB / 0.6237 GB, free: 7.633 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.08e-05/0.008835, allocations: 20.05 kB / 0.6237 GB, free: 7.613 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.07e-05/0.008856, allocations: 7.984 kB / 0.6237 GB, free: 7.605 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.861e-06/0.008862, allocations: 192 / 0.6237 GB, free: 7.605 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 2.64e-05/0.008888, allocations: 79.28 kB / 0.6238 GB, free: 7.527 MB / 0.5886 GB Notification: Performance of sort global known variables: time 7e-08/0.008888, allocations: 0 / 0.6238 GB, free: 7.527 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0001682/0.009056, allocations: 35.86 kB / 0.6238 GB, free: 7.492 MB / 0.5886 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.0005352/0.009591, allocations: 0.7452 MB / 0.6246 GB, free: 6.719 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0002092/0.009801, allocations: 87.86 kB / 0.6247 GB, free: 6.633 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 1.703e-06/0.009802, allocations: 0 / 0.6247 GB, free: 6.633 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 8.032e-05/0.009883, allocations: 51.89 kB / 0.6247 GB, free: 6.582 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001315/0.01001, allocations: 2.844 kB / 0.6247 GB, free: 6.582 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001226/0.01124, allocations: 1.352 MB / 0.626 GB, free: 5.145 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.557e-05/0.01128, allocations: 59.36 kB / 0.6261 GB, free: 5.066 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 5.898e-05/0.01134, allocations: 19.98 kB / 0.6261 GB, free: 5.047 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.566e-05/0.01138, allocations: 16.44 kB / 0.6261 GB, free: 5.027 MB / 0.5886 GB Notification: Performance of SimCode: time 5.71e-07/0.01138, allocations: 0 / 0.6261 GB, free: 5.027 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01637/0.02775, allocations: 2.753 MB / 0.6288 GB, free: 2.426 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.77/6.798, allocations: 7.266 kB / 0.6288 GB, free: 2.422 MB / 0.5886 GB " [Timeout remaining time 653] (rm -f IDEAS_IDEAS.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.pipe ; mkfifo IDEAS_IDEAS.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.pipe >> ../files/IDEAS_IDEAS.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.sim & python3 -m fmpy simulate --output-file IDEAS_IDEAS.Utilities.Math.Functions.Examples.InverseXDerivativeCheck_res.csv --start-time -1 --stop-time 1 --timeout 50 --relative-tolerance 1e-08 --interface-type ModelExchange --solver CVode --output-interval 0.0008 IDEAS_IDEAS_Utilities_Math_Functions_Examples_InverseXDerivativeCheck.fmu > IDEAS_IDEAS.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 9.731223782524467] Failed to read output from testmodel.py, exit status != 0: 6.87873759586364 6.887378667 6.881097038 Calling exit ...