Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.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.0007628/0.0007628, 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.0007644/0.0007644, allocations: 169.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.9413/0.9413, allocations: 177.1 MB / 202.8 MB, free: 5.75 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.7133/0.7133, allocations: 154.6 MB / 413.8 MB, free: 0.8125 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.InverseXDerivative_2_Check,fileNamePrefix="IDEAS_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_IDEAS_Utilities_Math_Functions_Examples_InverseXDerivative_2_Check",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.234e-06/2.234e-06, allocations: 0 / 0.6182 GB, free: 13.63 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.793e-05/2.017e-05, allocations: 6.75 kB / 0.6182 GB, free: 13.62 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check): time 0.001314/0.001334, allocations: 0.7883 MB / 0.6189 GB, free: 12.84 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.001471/0.002805, allocations: 1.458 MB / 0.6204 GB, free: 11.36 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.859e-05/0.002843, allocations: 0 / 0.6204 GB, free: 11.36 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 3.36e-05/0.002877, allocations: 3.938 kB / 0.6204 GB, free: 11.36 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 4.925e-05/0.002926, allocations: 7.938 kB / 0.6204 GB, free: 11.35 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004161/0.003342, allocations: 143.3 kB / 0.6205 GB, free: 11.21 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 8.46e-05/0.003427, allocations: 55.88 kB / 0.6206 GB, free: 11.16 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 3.973e-05/0.003466, allocations: 4 kB / 0.6206 GB, free: 11.15 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 9.434e-05/0.003561, allocations: 35.91 kB / 0.6206 GB, free: 11.12 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 4.688e-05/0.003608, allocations: 27.95 kB / 0.6206 GB, free: 11.09 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 1.596e-05/0.003624, allocations: 4 kB / 0.6206 GB, free: 11.09 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002418/0.003865, allocations: 255.4 kB / 0.6209 GB, free: 10.84 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 2.268e-05/0.003888, allocations: 19.91 kB / 0.6209 GB, free: 10.82 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 3.28e-05/0.003921, allocations: 15.98 kB / 0.6209 GB, free: 10.8 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.0002392/0.00416, allocations: 223.4 kB / 0.6211 GB, free: 10.58 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 2.335e-06/0.004162, allocations: 0 / 0.6211 GB, free: 10.58 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.383e-06/0.004164, allocations: 0 / 0.6211 GB, free: 10.58 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 3.968e-06/0.004168, allocations: 0 / 0.6211 GB, free: 10.58 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: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0004679/0.004636, allocations: 325.8 kB / 0.6214 GB, free: 10.23 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 3.672e-05/0.004672, allocations: 15.97 kB / 0.6214 GB, free: 10.22 MB / 0.5886 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.298e-05/0.004705, allocations: 38.73 kB / 0.6215 GB, free: 10.17 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002252/0.004931, allocations: 68.81 kB / 0.6215 GB, free: 10.11 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.729e-05/0.005008, allocations: 109.8 kB / 0.6217 GB, free: 9.973 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.961e-05/0.005037, allocations: 12.38 kB / 0.6217 GB, free: 9.961 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.557e-05/0.005063, allocations: 8.375 kB / 0.6217 GB, free: 9.953 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002468/0.00531, allocations: 160.6 kB / 0.6218 GB, free: 9.781 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.136e-05/0.005321, allocations: 192 / 0.6218 GB, free: 9.781 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.434e-05/0.005336, allocations: 12.11 kB / 0.6218 GB, free: 9.77 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.4e-06/0.005341, allocations: 0 / 0.6218 GB, free: 9.77 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002597/0.005601, allocations: 107.8 kB / 0.6219 GB, free: 9.664 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004227/0.006023, allocations: 291.8 kB / 0.6222 GB, free: 9.336 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003264/0.00635, allocations: 154.4 kB / 0.6224 GB, free: 9.176 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001103/0.00646, allocations: 60.75 kB / 0.6224 GB, free: 9.113 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 1.373e-05/0.006474, allocations: 0 / 0.6224 GB, free: 9.113 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.23e-05/0.006496, allocations: 38.56 kB / 0.6225 GB, free: 9.066 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=7): time 9.41e-07/0.006497, allocations: 0 / 0.6225 GB, free: 9.066 MB / 0.5886 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.008811/0.01531, allocations: 2.683 MB / 0.6251 GB, free: 6.324 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.725e-05/0.01535, allocations: 51.41 kB / 0.6251 GB, free: 6.262 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.33e-05/0.01541, allocations: 105.8 kB / 0.6252 GB, free: 6.148 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 3.545e-05/0.01544, allocations: 29.7 kB / 0.6253 GB, free: 6.113 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 4.265e-05/0.01549, allocations: 88.09 kB / 0.6253 GB, free: 6.023 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 5.135e-05/0.01554, allocations: 39.67 kB / 0.6254 GB, free: 5.984 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001029/0.01564, allocations: 73.53 kB / 0.6254 GB, free: 5.906 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 9.176e-05/0.01573, allocations: 326.8 kB / 0.6258 GB, free: 5.578 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003591/0.01609, allocations: 187.8 kB / 0.6259 GB, free: 5.395 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003618/0.01645, allocations: 195.7 kB / 0.6261 GB, free: 5.203 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000735/0.01719, allocations: 396.7 kB / 0.6265 GB, free: 4.812 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.01719, allocations: 0 / 0.6265 GB, free: 4.812 MB / 0.5886 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0008637/0.01805, allocations: 476.5 kB / 0.627 GB, free: 4.344 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.949e-05/0.01807, allocations: 7.938 kB / 0.627 GB, free: 4.336 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.821e-06/0.01808, allocations: 0 / 0.627 GB, free: 4.336 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.461e-05/0.01809, allocations: 0 / 0.627 GB, free: 4.336 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003813/0.01848, allocations: 115.7 kB / 0.6271 GB, free: 4.223 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.875e-06/0.01848, allocations: 0 / 0.6271 GB, free: 4.223 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002519/0.01874, allocations: 43.88 kB / 0.6271 GB, free: 4.18 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.576e-05/0.01877, allocations: 27.94 kB / 0.6271 GB, free: 4.152 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 (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.000111/0.01888, allocations: 118.8 kB / 0.6273 GB, free: 4.027 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.064e-05/0.01893, allocations: 7.953 kB / 0.6273 GB, free: 4.02 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.116e-05/0.01897, allocations: 12.11 kB / 0.6273 GB, free: 4.008 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.994e-06/0.01898, allocations: 0 / 0.6273 GB, free: 4.008 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.36e-06/0.01898, allocations: 0 / 0.6273 GB, free: 4.008 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.629e-06/0.01899, allocations: 4 kB / 0.6273 GB, free: 4.004 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001275/0.02026, allocations: 0.9955 MB / 0.6283 GB, free: 2.902 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.853e-06/0.02026, allocations: 0 / 0.6283 GB, free: 2.902 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003476/0.02061, allocations: 99.8 kB / 0.6283 GB, free: 2.805 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.397e-06/0.02061, allocations: 7.984 kB / 0.6284 GB, free: 2.797 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.909e-05/0.02064, allocations: 23.94 kB / 0.6284 GB, free: 2.773 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.974e-06/0.02064, allocations: 3.938 kB / 0.6284 GB, free: 2.77 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/0.02065, allocations: 0 / 0.6284 GB, free: 2.77 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001269/0.02191, allocations: 0.7914 MB / 0.6292 GB, free: 1.965 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 9.017e-05/0.022, allocations: 47.81 kB / 0.6292 GB, free: 1.918 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.193e-05/0.02204, allocations: 4.062 kB / 0.6292 GB, free: 1.914 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002823/0.02232, allocations: 47.88 kB / 0.6293 GB, free: 1.867 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.817e-05/0.02238, allocations: 28.11 kB / 0.6293 GB, free: 1.84 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.23e-05/0.02241, allocations: 27.92 kB / 0.6293 GB, free: 1.812 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 2.424e-05/0.02243, allocations: 91.2 kB / 0.6294 GB, free: 1.723 MB / 0.5886 GB Notification: Performance of sort global known variables: time 6.1e-08/0.02243, allocations: 0 / 0.6294 GB, free: 1.723 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0002358/0.02267, allocations: 55.94 kB / 0.6294 GB, free: 1.668 MB / 0.5886 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.001653/0.02432, allocations: 1.337 MB / 0.6308 GB, free: 312 kB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.000794/0.02512, allocations: 415.5 kB / 0.6311 GB, free: 15.9 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.895e-06/0.02512, allocations: 0 / 0.6311 GB, free: 15.9 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.000368/0.02549, allocations: 227.7 kB / 0.6314 GB, free: 15.68 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002804/0.02577, allocations: 17.81 kB / 0.6314 GB, free: 15.66 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004381/0.03015, allocations: 2.93 MB / 0.6342 GB, free: 12.65 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.856e-05/0.0302, allocations: 75.33 kB / 0.6343 GB, free: 12.55 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.0002816/0.03048, allocations: 85.75 kB / 0.6344 GB, free: 12.47 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001905/0.03067, allocations: 68.36 kB / 0.6345 GB, free: 12.4 MB / 0.6042 GB Notification: Performance of SimCode: time 6.41e-07/0.03067, allocations: 0 / 0.6345 GB, free: 12.4 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0237/0.05437, allocations: 5.474 MB / 0.6398 GB, free: 7.109 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.902/6.957, allocations: 8.062 kB / 0.6398 GB, free: 7.102 MB / 0.6042 GB " [Timeout remaining time 653] (rm -f IDEAS_IDEAS.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.pipe ; mkfifo IDEAS_IDEAS.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.pipe >> ../files/IDEAS_IDEAS.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.sim & python3 -m fmpy simulate --output-file IDEAS_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_IDEAS_Utilities_Math_Functions_Examples_InverseXDerivative_2_Check.fmu > IDEAS_IDEAS.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 9.779612871818244] Failed to read output from testmodel.py, exit status != 0: 7.0365385403856635 7.044837226 7.038956309 Calling exit ...