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.0007979/0.0007979, 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.000852/0.000852, 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.8688/0.8688, allocations: 177.1 MB / 202.8 MB, free: 5.742 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.718/0.718, allocations: 154.6 MB / 413.8 MB, free: 0.7812 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 1.783e-06/1.783e-06, allocations: 0 / 0.6182 GB, free: 13.61 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.873e-05/2.051e-05, allocations: 2.281 kB / 0.6182 GB, free: 13.6 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check): time 0.001353/0.001373, allocations: 0.7901 MB / 0.6189 GB, free: 12.81 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.001731/0.003104, allocations: 1.458 MB / 0.6204 GB, free: 11.34 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.623e-05/0.00314, allocations: 4 kB / 0.6204 GB, free: 11.33 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 2.876e-05/0.003169, allocations: 3.938 kB / 0.6204 GB, free: 11.33 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 4.003e-05/0.003209, allocations: 3.938 kB / 0.6204 GB, free: 11.32 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004189/0.003628, allocations: 151.3 kB / 0.6205 GB, free: 11.18 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 7.194e-05/0.0037, allocations: 47.89 kB / 0.6206 GB, free: 11.13 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 3.78e-05/0.003737, allocations: 7.984 kB / 0.6206 GB, free: 11.12 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 8.02e-05/0.003818, allocations: 35.97 kB / 0.6206 GB, free: 11.09 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 4.603e-05/0.003864, allocations: 27.89 kB / 0.6206 GB, free: 11.06 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 1.504e-05/0.003879, allocations: 4 kB / 0.6206 GB, free: 11.05 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002397/0.004118, allocations: 255.4 kB / 0.6209 GB, free: 10.8 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 1.612e-05/0.004135, allocations: 15.97 kB / 0.6209 GB, free: 10.79 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 2.273e-05/0.004157, allocations: 15.92 kB / 0.6209 GB, free: 10.77 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.0002203/0.004378, allocations: 219.5 kB / 0.6211 GB, free: 10.56 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 1.654e-06/0.004379, allocations: 0 / 0.6211 GB, free: 10.56 MB / 0.5886 GB Notification: Performance of FrontEnd: time 8.31e-07/0.00438, allocations: 4 kB / 0.6211 GB, free: 10.55 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 3.666e-06/0.004384, allocations: 0 / 0.6211 GB, free: 10.55 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.0004307/0.004814, allocations: 333.8 kB / 0.6214 GB, free: 10.2 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 3.397e-05/0.004848, allocations: 12.03 kB / 0.6214 GB, free: 10.19 MB / 0.5886 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.128e-05/0.00488, allocations: 34.75 kB / 0.6215 GB, free: 10.14 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002245/0.005104, allocations: 80.73 kB / 0.6216 GB, free: 10.07 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.029e-05/0.005174, allocations: 105.8 kB / 0.6217 GB, free: 9.938 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.342e-05/0.005198, allocations: 8.375 kB / 0.6217 GB, free: 9.93 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.001e-05/0.005218, allocations: 4.375 kB / 0.6217 GB, free: 9.926 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002258/0.005444, allocations: 157.6 kB / 0.6218 GB, free: 9.754 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.337e-06/0.005453, allocations: 192 / 0.6218 GB, free: 9.754 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.499e-05/0.005468, allocations: 12.12 kB / 0.6218 GB, free: 9.742 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.919e-06/0.005473, allocations: 0 / 0.6218 GB, free: 9.742 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002673/0.00574, allocations: 107.8 kB / 0.6219 GB, free: 9.637 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003968/0.006137, allocations: 291.8 kB / 0.6222 GB, free: 9.309 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003268/0.006464, allocations: 154.4 kB / 0.6224 GB, free: 9.148 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001108/0.006575, allocations: 60.8 kB / 0.6224 GB, free: 9.086 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 1.355e-05/0.006588, allocations: 0 / 0.6224 GB, free: 9.086 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.003e-05/0.006608, allocations: 42.5 kB / 0.6225 GB, free: 9.035 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=7): time 7.22e-07/0.006609, allocations: 0 / 0.6225 GB, free: 9.035 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.008723/0.01533, allocations: 2.683 MB / 0.6251 GB, free: 6.293 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.769e-05/0.01536, allocations: 55.41 kB / 0.6251 GB, free: 6.227 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.48e-05/0.01541, allocations: 97.84 kB / 0.6252 GB, free: 6.121 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 3.517e-05/0.01545, allocations: 33.7 kB / 0.6253 GB, free: 6.082 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 3.484e-05/0.01548, allocations: 84.09 kB / 0.6253 GB, free: 5.996 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 4.537e-05/0.01553, allocations: 43.67 kB / 0.6254 GB, free: 5.953 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001057/0.01564, allocations: 73.53 kB / 0.6254 GB, free: 5.875 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 0.0002892/0.01592, allocations: 322.8 kB / 0.6258 GB, free: 5.551 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003675/0.01629, allocations: 187.8 kB / 0.6259 GB, free: 5.367 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003448/0.01664, allocations: 195.8 kB / 0.6261 GB, free: 5.176 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007352/0.01737, allocations: 399.5 kB / 0.6265 GB, free: 4.785 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.11e-07/0.01737, allocations: 0 / 0.6265 GB, free: 4.785 MB / 0.5886 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0008314/0.0182, allocations: 473.2 kB / 0.627 GB, free: 4.316 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.445e-05/0.01822, allocations: 4 kB / 0.627 GB, free: 4.312 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.268e-06/0.01822, allocations: 0 / 0.627 GB, free: 4.312 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.241e-05/0.01824, allocations: 0 / 0.627 GB, free: 4.312 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003961/0.01863, allocations: 115.7 kB / 0.6271 GB, free: 4.199 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.46e-06/0.01864, allocations: 0 / 0.6271 GB, free: 4.199 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002567/0.01889, allocations: 51.81 kB / 0.6271 GB, free: 4.148 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.648e-05/0.01893, allocations: 27.92 kB / 0.6271 GB, free: 4.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 (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.0001104/0.01904, allocations: 114.8 kB / 0.6273 GB, free: 4 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.723e-05/0.01909, allocations: 7.953 kB / 0.6273 GB, free: 3.992 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.659e-05/0.01912, allocations: 12.12 kB / 0.6273 GB, free: 3.98 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.543e-06/0.01913, allocations: 0 / 0.6273 GB, free: 3.98 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.398e-06/0.01913, allocations: 4 kB / 0.6273 GB, free: 3.977 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.087e-06/0.01913, allocations: 3.984 kB / 0.6273 GB, free: 3.973 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001302/0.02044, allocations: 0.9943 MB / 0.6283 GB, free: 2.875 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.502e-06/0.02044, allocations: 0 / 0.6283 GB, free: 2.875 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003516/0.02079, allocations: 103.8 kB / 0.6283 GB, free: 2.773 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.555e-06/0.02079, allocations: 4 kB / 0.6284 GB, free: 2.77 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.236e-05/0.02082, allocations: 31.86 kB / 0.6284 GB, free: 2.738 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.843e-06/0.02083, allocations: 3.938 kB / 0.6284 GB, free: 2.734 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.02083, allocations: 0 / 0.6284 GB, free: 2.734 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001303/0.02213, allocations: 0.7839 MB / 0.6292 GB, free: 1.934 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 9.444e-05/0.02222, allocations: 47.94 kB / 0.6292 GB, free: 1.887 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.477e-05/0.02226, allocations: 4.094 kB / 0.6292 GB, free: 1.883 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002896/0.02255, allocations: 51.81 kB / 0.6293 GB, free: 1.832 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.085e-05/0.02261, allocations: 23.92 kB / 0.6293 GB, free: 1.809 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.363e-05/0.02264, allocations: 31.94 kB / 0.6293 GB, free: 1.777 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 2.769e-05/0.02267, allocations: 83.27 kB / 0.6294 GB, free: 1.695 MB / 0.5886 GB Notification: Performance of sort global known variables: time 5e-08/0.02267, allocations: 0 / 0.6294 GB, free: 1.695 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0002479/0.02292, allocations: 55.94 kB / 0.6294 GB, free: 1.641 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.001598/0.02452, allocations: 1.341 MB / 0.6307 GB, free: 280 kB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0007793/0.0253, allocations: 411.6 kB / 0.6311 GB, free: 15.87 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 1.883e-06/0.0253, allocations: 7.938 kB / 0.6311 GB, free: 15.86 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.000372/0.02567, allocations: 219.7 kB / 0.6314 GB, free: 15.65 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002549/0.02592, allocations: 22.12 kB / 0.6314 GB, free: 15.63 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004744/0.03067, allocations: 2.94 MB / 0.6342 GB, free: 12.61 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.326e-05/0.03072, allocations: 79.08 kB / 0.6343 GB, free: 12.52 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.0002925/0.03101, allocations: 85.75 kB / 0.6344 GB, free: 12.43 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001891/0.0312, allocations: 64.36 kB / 0.6345 GB, free: 12.37 MB / 0.6042 GB Notification: Performance of SimCode: time 5.11e-07/0.0312, allocations: 4 kB / 0.6345 GB, free: 12.36 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01984/0.05104, allocations: 5.475 MB / 0.6398 GB, free: 7.066 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.804/6.855, allocations: 4.062 kB / 0.6398 GB, free: 7.062 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Utilities_Math_Functions_Examples_InverseXDerivative_2_Check_fmu --startTime=-1.5 --stopTime=1.5 --stepSize=0.0012 --timeout=50 --tolerance=1e-08 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.502243622206151] Failed to read output from testmodel.py, exit status != 0: 6.939695098437369 6.953408642 6.947135459 Calling exit ...