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.001236/0.001236, allocations: 72.45 kB / 19.17 MB, free: 0.7344 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.0008912/0.0008912, allocations: 173.9 kB / 22.46 MB, free: 2.09 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.9031/0.9031, allocations: 177.1 MB / 202.8 MB, free: 5.723 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.7434/0.7434, allocations: 154.6 MB / 413.8 MB, free: 0.7773 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 1.302e-06/1.302e-06, allocations: 0 / 0.6182 GB, free: 13.43 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.988e-05/2.118e-05, allocations: 5.234 kB / 0.6182 GB, free: 13.43 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.InverseXDerivativeCheck): time 0.001228/0.00125, allocations: 0.6155 MB / 0.6188 GB, free: 12.82 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.001385/0.002634, allocations: 1.431 MB / 0.6202 GB, free: 11.38 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.755e-05/0.002652, allocations: 0 / 0.6202 GB, free: 11.38 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 1.145e-05/0.002663, allocations: 0 / 0.6202 GB, free: 11.38 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 2.137e-05/0.002685, allocations: 4 kB / 0.6202 GB, free: 11.37 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003564/0.003041, allocations: 139.4 kB / 0.6203 GB, free: 11.23 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 5.502e-05/0.003096, allocations: 27.97 kB / 0.6203 GB, free: 11.21 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 3.367e-05/0.00313, allocations: 3.984 kB / 0.6203 GB, free: 11.2 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 5.07e-05/0.003181, allocations: 27.92 kB / 0.6204 GB, free: 11.18 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 6.083e-05/0.003241, allocations: 27.84 kB / 0.6204 GB, free: 11.15 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 1.471e-05/0.003256, allocations: 4 kB / 0.6204 GB, free: 11.14 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002315/0.003488, allocations: 243.5 kB / 0.6206 GB, free: 10.91 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 1.35e-05/0.003501, allocations: 7.922 kB / 0.6206 GB, free: 10.9 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 2.19e-05/0.003523, allocations: 15.97 kB / 0.6206 GB, free: 10.88 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.0001995/0.003723, allocations: 203.4 kB / 0.6208 GB, free: 10.68 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 2.264e-06/0.003725, allocations: 0 / 0.6208 GB, free: 10.68 MB / 0.5886 GB Notification: Performance of FrontEnd: time 7.91e-07/0.003726, allocations: 0 / 0.6208 GB, free: 10.68 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 3.987e-06/0.00373, allocations: 0 / 0.6208 GB, free: 10.68 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.0003808/0.00411, allocations: 294 kB / 0.6211 GB, free: 10.37 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 3.82e-05/0.004149, allocations: 8.031 kB / 0.6211 GB, free: 10.36 MB / 0.5886 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.804e-05/0.004177, allocations: 30.75 kB / 0.6212 GB, free: 10.32 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002393/0.004416, allocations: 68.84 kB / 0.6212 GB, free: 10.25 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.496e-05/0.004491, allocations: 113.8 kB / 0.6213 GB, free: 10.12 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.904e-05/0.00451, allocations: 384 / 0.6213 GB, free: 10.12 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.58e-05/0.004526, allocations: 384 / 0.6213 GB, free: 10.12 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001545/0.00468, allocations: 103.9 kB / 0.6214 GB, free: 10 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.432e-06/0.004687, allocations: 192 / 0.6214 GB, free: 10 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.064e-05/0.004697, allocations: 8.125 kB / 0.6214 GB, free: 9.996 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.376e-06/0.004701, allocations: 0 / 0.6214 GB, free: 9.996 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000141/0.004842, allocations: 67.86 kB / 0.6215 GB, free: 9.93 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001372/0.004979, allocations: 144.7 kB / 0.6216 GB, free: 9.746 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003161/0.005295, allocations: 118.6 kB / 0.6217 GB, free: 9.621 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.636e-05/0.005371, allocations: 40.92 kB / 0.6218 GB, free: 9.578 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000212/0.005583, allocations: 75.91 kB / 0.6219 GB, free: 9.504 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.115e-05/0.005604, allocations: 38.55 kB / 0.6219 GB, free: 9.457 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=4): time 9.82e-07/0.005605, allocations: 0 / 0.6219 GB, free: 9.457 MB / 0.5886 GB Notification: Performance of matching and sorting (n=5): time 0.0006582/0.006264, allocations: 340.9 kB / 0.6222 GB, free: 9.09 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.458e-05/0.006288, allocations: 51.41 kB / 0.6223 GB, free: 9.027 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.239e-05/0.006331, allocations: 93.86 kB / 0.6224 GB, free: 8.926 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 1.147e-05/0.006342, allocations: 25.7 kB / 0.6224 GB, free: 8.895 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 2.138e-05/0.006363, allocations: 80.14 kB / 0.6225 GB, free: 8.812 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 2.065e-05/0.006384, allocations: 16.03 kB / 0.6225 GB, free: 8.797 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.441e-05/0.006419, allocations: 25.7 kB / 0.6225 GB, free: 8.766 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 6.995e-05/0.006488, allocations: 310.8 kB / 0.6228 GB, free: 8.453 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.384e-05/0.006562, allocations: 35.97 kB / 0.6228 GB, free: 8.418 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.995e-05/0.006632, allocations: 39.95 kB / 0.6229 GB, free: 8.379 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001421/0.006774, allocations: 80.8 kB / 0.6229 GB, free: 8.297 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.61e-07/0.006775, allocations: 0 / 0.6229 GB, free: 8.297 MB / 0.5886 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001783/0.006953, allocations: 113.7 kB / 0.6231 GB, free: 8.18 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.149e-05/0.006965, allocations: 10.19 kB / 0.6231 GB, free: 8.172 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.019e-06/0.00697, allocations: 3.938 kB / 0.6231 GB, free: 8.168 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.143e-05/0.006981, allocations: 7.922 kB / 0.6231 GB, free: 8.16 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.577e-05/0.007047, allocations: 19.98 kB / 0.6231 GB, free: 8.141 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.701e-06/0.007053, allocations: 0 / 0.6231 GB, free: 8.141 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.919e-05/0.007092, allocations: 15.98 kB / 0.6231 GB, free: 8.125 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.863e-06/0.007099, allocations: 4 kB / 0.6231 GB, free: 8.121 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.889e-05/0.007158, allocations: 114.8 kB / 0.6232 GB, free: 8 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.654e-06/0.007165, allocations: 4 kB / 0.6232 GB, free: 7.996 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002346/0.0074, allocations: 137.3 kB / 0.6234 GB, free: 7.855 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.513e-06/0.007402, allocations: 0 / 0.6234 GB, free: 7.855 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.049e-06/0.007407, allocations: 3.984 kB / 0.6234 GB, free: 7.852 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.747e-06/0.00741, allocations: 8 kB / 0.6234 GB, free: 7.844 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.054e-05/0.007491, allocations: 128.8 kB / 0.6235 GB, free: 7.676 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.11e-07/0.007492, allocations: 0 / 0.6235 GB, free: 7.676 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.806e-05/0.00756, allocations: 27.91 kB / 0.6235 GB, free: 7.648 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.52e-07/0.007561, allocations: 0 / 0.6235 GB, free: 7.648 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.017e-06/0.00757, allocations: 7.938 kB / 0.6235 GB, free: 7.641 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.61e-07/0.00757, allocations: 0 / 0.6235 GB, free: 7.641 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.81e-07/0.007571, allocations: 0 / 0.6235 GB, free: 7.641 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002908/0.007862, allocations: 193 kB / 0.6237 GB, free: 7.434 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 3.457e-05/0.007896, allocations: 8.016 kB / 0.6237 GB, free: 7.426 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.29e-05/0.007909, allocations: 3.938 kB / 0.6237 GB, free: 7.422 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.598e-05/0.007955, allocations: 15.92 kB / 0.6237 GB, free: 7.406 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.924e-05/0.007974, allocations: 7.984 kB / 0.6237 GB, free: 7.398 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.31e-06/0.00798, allocations: 4.188 kB / 0.6238 GB, free: 7.395 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 2.445e-05/0.008004, allocations: 79.28 kB / 0.6238 GB, free: 7.316 MB / 0.5886 GB Notification: Performance of sort global known variables: time 5e-08/0.008004, allocations: 160 / 0.6238 GB, free: 7.316 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0001494/0.008154, allocations: 31.88 kB / 0.6239 GB, free: 7.285 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.0005619/0.008716, allocations: 0.7451 MB / 0.6246 GB, free: 6.512 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0001983/0.008914, allocations: 87.86 kB / 0.6247 GB, free: 6.426 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 1.733e-06/0.008916, allocations: 0 / 0.6247 GB, free: 6.426 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 7.384e-05/0.008989, allocations: 39.97 kB / 0.6247 GB, free: 6.387 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001143/0.009104, allocations: 8 kB / 0.6247 GB, free: 6.379 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001105/0.01021, allocations: 1.352 MB / 0.626 GB, free: 4.941 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.442e-05/0.01024, allocations: 63.67 kB / 0.6261 GB, free: 4.859 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 5.657e-05/0.0103, allocations: 23.94 kB / 0.6261 GB, free: 4.836 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.551e-05/0.01035, allocations: 16.48 kB / 0.6261 GB, free: 4.816 MB / 0.5886 GB Notification: Performance of SimCode: time 8.01e-07/0.01035, allocations: 0 / 0.6261 GB, free: 4.816 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01529/0.02563, allocations: 2.744 MB / 0.6288 GB, free: 2.219 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.773/6.799, allocations: 5.312 kB / 0.6288 GB, free: 2.219 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Utilities_Math_Functions_Examples_InverseXDerivativeCheck_fmu --startTime=-1 --stopTime=1 --stepSize=0.0008 --timeout=50 --tolerance=1e-08 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.500568319112062] Failed to read output from testmodel.py, exit status != 0: 6.881328246556222 6.890553276 6.885153464 Calling exit ...