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.001381/0.001381, allocations: 92.7 kB / 19.44 MB, free: 324 kB / 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.001602/0.001602, allocations: 161.7 kB / 22.75 MB, free: 1.656 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 1.533/1.533, allocations: 177.1 MB / 203.1 MB, free: 5.609 MB / 186.7 MB " [Timeout remaining time 178] 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-545:108: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-545:116: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 1.314/1.314, allocations: 154.6 MB / 414.2 MB, free: 0.6445 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 178] 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: translateModel(IDEAS.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check") translateModel(IDEAS.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.703e-06/1.703e-06, allocations: 0.6562 kB / 0.5197 GB, free: 2.496 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.17e-05/3.34e-05, allocations: 2.312 kB / 0.5197 GB, free: 2.492 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check): time 0.002256/0.002289, allocations: 0.7843 MB / 0.5204 GB, free: 1.73 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.002609/0.004899, allocations: 1.456 MB / 0.5219 GB, free: 264 kB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.983e-05/0.004938, allocations: 1.188 kB / 0.5219 GB, free: 264 kB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 3.982e-05/0.004978, allocations: 11.92 kB / 0.5219 GB, free: 252 kB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 5.309e-05/0.005031, allocations: 3.938 kB / 0.5219 GB, free: 248 kB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006492/0.00568, allocations: 142.1 kB / 0.522 GB, free: 108 kB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001192/0.0058, allocations: 48.52 kB / 0.5221 GB, free: 60 kB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.419e-05/0.005844, allocations: 8.844 kB / 0.5221 GB, free: 52 kB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000127/0.005971, allocations: 31.95 kB / 0.5221 GB, free: 20 kB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.663e-05/0.006068, allocations: 31.94 kB / 0.5221 GB, free: 15.98 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 2.276e-05/0.00609, allocations: 4.969 kB / 0.5221 GB, free: 15.98 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004957/0.006586, allocations: 251.3 kB / 0.5224 GB, free: 15.74 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 3.09e-05/0.006617, allocations: 17.73 kB / 0.5224 GB, free: 15.72 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 4.848e-05/0.006665, allocations: 19.91 kB / 0.5224 GB, free: 15.7 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.0004278/0.007093, allocations: 223.4 kB / 0.5226 GB, free: 15.48 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 4.619e-06/0.007098, allocations: 0 / 0.5226 GB, free: 15.48 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.353e-06/0.007099, allocations: 0 / 0.5226 GB, free: 15.48 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 4.869e-06/0.007104, allocations: 1.75 kB / 0.5226 GB, free: 15.48 MB / 0.4948 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.0007806/0.007885, allocations: 325.8 kB / 0.5229 GB, free: 15.14 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.506e-05/0.00793, allocations: 12.03 kB / 0.523 GB, free: 15.12 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005737/0.008503, allocations: 82.23 kB / 0.523 GB, free: 15.05 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001425/0.008646, allocations: 105.7 kB / 0.5231 GB, free: 14.92 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.934e-05/0.008675, allocations: 8.375 kB / 0.5231 GB, free: 14.91 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.07e-05/0.008716, allocations: 8.375 kB / 0.5232 GB, free: 14.91 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004758/0.009192, allocations: 167.5 kB / 0.5233 GB, free: 14.73 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.536e-05/0.009217, allocations: 0.75 kB / 0.5233 GB, free: 14.73 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.817e-05/0.009235, allocations: 384 / 0.5233 GB, free: 14.73 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.308e-06/0.009244, allocations: 4.938 kB / 0.5233 GB, free: 14.72 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000536/0.009781, allocations: 108.3 kB / 0.5234 GB, free: 14.62 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006756/0.01046, allocations: 264.4 kB / 0.5237 GB, free: 14.33 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007562/0.01121, allocations: 162 kB / 0.5238 GB, free: 14.17 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002632/0.01148, allocations: 48.81 kB / 0.5239 GB, free: 14.12 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 1.926e-05/0.01149, allocations: 3.031 kB / 0.5239 GB, free: 14.12 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.592e-05/0.01154, allocations: 42.55 kB / 0.5239 GB, free: 14.07 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=7): time 1.563e-06/0.01154, allocations: 3.938 kB / 0.5239 GB, free: 14.07 MB / 0.4948 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.02023/0.03177, allocations: 2.683 MB / 0.5265 GB, free: 11.41 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.067e-05/0.03184, allocations: 63.33 kB / 0.5266 GB, free: 11.34 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001262/0.03197, allocations: 93.86 kB / 0.5267 GB, free: 11.24 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 6.763e-05/0.03204, allocations: 29.7 kB / 0.5267 GB, free: 11.2 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 9.237e-05/0.03213, allocations: 92.95 kB / 0.5268 GB, free: 11.11 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 9.652e-05/0.03222, allocations: 43.78 kB / 0.5268 GB, free: 11.07 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002018/0.03243, allocations: 69.02 kB / 0.5269 GB, free: 11 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0002004/0.03263, allocations: 322.8 kB / 0.5272 GB, free: 10.67 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007551/0.03338, allocations: 188 kB / 0.5274 GB, free: 10.49 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007411/0.03412, allocations: 198.4 kB / 0.5276 GB, free: 10.3 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001504/0.03563, allocations: 386.4 kB / 0.528 GB, free: 9.934 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-06/0.03563, allocations: 0 / 0.528 GB, free: 9.934 MB / 0.4948 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.001816/0.03744, allocations: 495.1 kB / 0.5284 GB, free: 9.453 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 2.335e-05/0.03747, allocations: 4.938 kB / 0.5284 GB, free: 9.449 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.024e-05/0.03748, allocations: 0 / 0.5284 GB, free: 9.449 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.145e-05/0.03751, allocations: 6.016 kB / 0.5284 GB, free: 9.445 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009094/0.03842, allocations: 104.9 kB / 0.5285 GB, free: 9.344 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.005e-05/0.03843, allocations: 0.7188 kB / 0.5285 GB, free: 9.344 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006685/0.0391, allocations: 47.34 kB / 0.5286 GB, free: 9.301 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.842e-05/0.03916, allocations: 19.94 kB / 0.5286 GB, free: 9.281 MB / 0.4948 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.0002203/0.03939, allocations: 121.8 kB / 0.5287 GB, free: 9.152 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001298/0.03951, allocations: 9.297 kB / 0.5287 GB, free: 9.145 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.382e-05/0.03959, allocations: 24.05 kB / 0.5288 GB, free: 9.121 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.108e-06/0.03959, allocations: 3.938 kB / 0.5288 GB, free: 9.117 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.704e-06/0.0396, allocations: 0 / 0.5288 GB, free: 9.117 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.136e-06/0.0396, allocations: 3.438 kB / 0.5288 GB, free: 9.117 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00265/0.04225, allocations: 0.9516 MB / 0.5297 GB, free: 8.082 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.677e-06/0.04226, allocations: 0 / 0.5297 GB, free: 8.082 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009005/0.04316, allocations: 103 kB / 0.5298 GB, free: 7.984 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.364e-06/0.04317, allocations: 7.938 kB / 0.5298 GB, free: 7.977 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.318e-05/0.04323, allocations: 28.92 kB / 0.5298 GB, free: 7.949 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.886e-06/0.04323, allocations: 0 / 0.5298 GB, free: 7.949 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.513e-06/0.04323, allocations: 0 / 0.5298 GB, free: 7.949 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002789/0.04602, allocations: 0.798 MB / 0.5306 GB, free: 7.148 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001661/0.04619, allocations: 39.89 kB / 0.5306 GB, free: 7.109 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.208e-05/0.04626, allocations: 7.984 kB / 0.5306 GB, free: 7.102 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007466/0.04701, allocations: 39.94 kB / 0.5307 GB, free: 7.062 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001246/0.04713, allocations: 31.92 kB / 0.5307 GB, free: 7.031 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.66e-05/0.0472, allocations: 27.94 kB / 0.5307 GB, free: 7.004 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 7.082e-05/0.04727, allocations: 87.44 kB / 0.5308 GB, free: 6.918 MB / 0.4948 GB Notification: Performance of sort global known variables: time 7e-08/0.04727, allocations: 0 / 0.5308 GB, free: 6.918 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0004324/0.0477, allocations: 52 kB / 0.5309 GB, free: 6.867 MB / 0.4948 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.0002721/0.04797, allocations: 115.1 kB / 0.531 GB, free: 6.746 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.001657/0.04963, allocations: 422.6 kB / 0.5314 GB, free: 6.336 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 3.497e-06/0.04963, allocations: 0 / 0.5314 GB, free: 6.336 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.001089/0.05072, allocations: 227.7 kB / 0.5316 GB, free: 6.113 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004543/0.05118, allocations: 31.94 kB / 0.5316 GB, free: 6.082 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00464/0.05582, allocations: 0.7421 MB / 0.5324 GB, free: 5.312 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001077/0.05592, allocations: 83.27 kB / 0.5324 GB, free: 5.211 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.0006156/0.05654, allocations: 92.72 kB / 0.5325 GB, free: 5.121 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003157/0.05686, allocations: 52.38 kB / 0.5326 GB, free: 5.07 MB / 0.4948 GB Notification: Performance of SimCode: time 1.332e-06/0.05686, allocations: 0 / 0.5326 GB, free: 5.07 MB / 0.4948 GB Notification: Performance of Templates: time 0.009343/0.0662, allocations: 3.715 MB / 0.5362 GB, free: 1.391 MB / 0.4948 GB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.makefile [Timeout 660] (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 & ./IDEAS_IDEAS.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.276117224013433]