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.0009581/0.0009581, allocations: 93.06 kB / 19.65 MB, free: 284 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.001118/0.001118, allocations: 165 kB / 23.02 MB, free: 1.555 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.002/1.002, allocations: 177.1 MB / 203.4 MB, free: 5.645 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-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 0.8605/0.8605, allocations: 154.6 MB / 414.5 MB, free: 0.6914 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: translateModel(IDEAS.Utilities.Math.Functions.Examples.InverseXDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Math.Functions.Examples.InverseXDerivativeCheck") translateModel(IDEAS.Utilities.Math.Functions.Examples.InverseXDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Math.Functions.Examples.InverseXDerivativeCheck") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.284e-06/2.284e-06, allocations: 0 / 0.5204 GB, free: 2.184 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.1e-05/3.328e-05, allocations: 2.312 kB / 0.5204 GB, free: 2.18 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.InverseXDerivativeCheck): time 0.002135/0.002168, allocations: 0.621 MB / 0.521 GB, free: 1.578 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.002263/0.004432, allocations: 1.475 MB / 0.5224 GB, free: 92 kB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.562e-05/0.004467, allocations: 1.344 kB / 0.5224 GB, free: 92 kB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 2.612e-05/0.004493, allocations: 0 / 0.5224 GB, free: 92 kB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 4.018e-05/0.004533, allocations: 0 / 0.5224 GB, free: 92 kB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006838/0.005217, allocations: 147.3 kB / 0.5226 GB, free: 15.95 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 8.267e-05/0.0053, allocations: 27.97 kB / 0.5226 GB, free: 15.92 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 5.404e-05/0.005354, allocations: 0 / 0.5226 GB, free: 15.92 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 8.008e-05/0.005434, allocations: 23.97 kB / 0.5226 GB, free: 15.9 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 9.043e-05/0.005524, allocations: 20.53 kB / 0.5226 GB, free: 15.88 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 2.398e-05/0.005548, allocations: 4 kB / 0.5226 GB, free: 15.88 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004284/0.005977, allocations: 248.4 kB / 0.5229 GB, free: 15.63 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 2.387e-05/0.006001, allocations: 7.984 kB / 0.5229 GB, free: 15.62 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 3.104e-05/0.006032, allocations: 13.48 kB / 0.5229 GB, free: 15.61 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.0003646/0.006396, allocations: 203.5 kB / 0.5231 GB, free: 15.41 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 3.647e-06/0.0064, allocations: 0 / 0.5231 GB, free: 15.41 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.052e-06/0.006401, allocations: 0 / 0.5231 GB, free: 15.41 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 6.121e-06/0.006407, allocations: 4 kB / 0.5231 GB, free: 15.41 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0005882/0.006995, allocations: 392.8 kB / 0.5235 GB, free: 14.99 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 5.477e-05/0.00705, allocations: 9.438 kB / 0.5235 GB, free: 14.98 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003913/0.007441, allocations: 55.02 kB / 0.5235 GB, free: 14.93 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001159/0.007557, allocations: 109.8 kB / 0.5236 GB, free: 14.8 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.538e-05/0.007583, allocations: 8.375 kB / 0.5236 GB, free: 14.79 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.625e-05/0.007619, allocations: 384 / 0.5236 GB, free: 14.79 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000255/0.007874, allocations: 101.7 kB / 0.5237 GB, free: 14.68 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.323e-05/0.007887, allocations: 0.6875 kB / 0.5237 GB, free: 14.68 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.988e-05/0.007907, allocations: 4.375 kB / 0.5237 GB, free: 14.68 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.151e-05/0.007919, allocations: 7.188 kB / 0.5238 GB, free: 14.67 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.583e-05/0.007994, allocations: 15.98 kB / 0.5238 GB, free: 14.66 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001936/0.008188, allocations: 120.7 kB / 0.5239 GB, free: 14.5 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003112/0.008499, allocations: 59.05 kB / 0.5239 GB, free: 14.43 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.711e-05/0.008556, allocations: 23.77 kB / 0.524 GB, free: 14.41 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002704/0.008827, allocations: 46.8 kB / 0.524 GB, free: 14.36 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.902e-05/0.008866, allocations: 37.39 kB / 0.524 GB, free: 14.32 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=4): time 1.693e-06/0.008867, allocations: 0 / 0.524 GB, free: 14.32 MB / 0.4948 GB Notification: Performance of matching and sorting (n=5): time 0.0006784/0.009546, allocations: 219.2 kB / 0.5243 GB, free: 14.07 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.546e-05/0.009581, allocations: 59.34 kB / 0.5243 GB, free: 14 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002513/0.009833, allocations: 159.5 kB / 0.5245 GB, free: 13.82 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 1.863e-05/0.009851, allocations: 29.7 kB / 0.5245 GB, free: 13.79 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 3.978e-05/0.009891, allocations: 130.8 kB / 0.5246 GB, free: 13.66 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 3.826e-05/0.009929, allocations: 20.92 kB / 0.5246 GB, free: 13.64 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.426e-05/0.009984, allocations: 27.36 kB / 0.5247 GB, free: 13.6 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001703/0.01015, allocations: 496.1 kB / 0.5251 GB, free: 13.11 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.559e-05/0.0102, allocations: 8.5 kB / 0.5251 GB, free: 13.1 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.033e-05/0.01024, allocations: 18.23 kB / 0.5252 GB, free: 13.08 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.599e-05/0.01033, allocations: 31.62 kB / 0.5252 GB, free: 13.05 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.242e-06/0.01033, allocations: 0 / 0.5252 GB, free: 13.05 MB / 0.4948 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001599/0.01049, allocations: 65.69 kB / 0.5253 GB, free: 12.98 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.749e-05/0.0105, allocations: 4 kB / 0.5253 GB, free: 12.97 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.082e-06/0.01051, allocations: 2.438 kB / 0.5253 GB, free: 12.97 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.844e-05/0.01053, allocations: 0 / 0.5253 GB, free: 12.97 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001251/0.01065, allocations: 27.91 kB / 0.5253 GB, free: 12.95 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.666e-06/0.01066, allocations: 3.984 kB / 0.5253 GB, free: 12.94 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.278e-05/0.01072, allocations: 6.062 kB / 0.5253 GB, free: 12.94 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.584e-05/0.01073, allocations: 4 kB / 0.5253 GB, free: 12.93 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 (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 9.145e-05/0.01082, allocations: 168.5 kB / 0.5255 GB, free: 12.76 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.099e-05/0.01084, allocations: 4 kB / 0.5255 GB, free: 12.75 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002228/0.01107, allocations: 81 kB / 0.5255 GB, free: 12.68 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.595e-06/0.01107, allocations: 0 / 0.5255 GB, free: 12.68 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.143e-06/0.01108, allocations: 3.938 kB / 0.5255 GB, free: 12.67 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.446e-06/0.01108, allocations: 1.281 kB / 0.5255 GB, free: 12.67 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001227/0.0112, allocations: 124.6 kB / 0.5257 GB, free: 12.52 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.374e-06/0.0112, allocations: 0 / 0.5257 GB, free: 12.52 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001264/0.01133, allocations: 20.58 kB / 0.5257 GB, free: 12.5 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.389e-06/0.01134, allocations: 0.8438 kB / 0.5257 GB, free: 12.5 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.193e-05/0.01135, allocations: 256 / 0.5257 GB, free: 12.5 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.119e-06/0.01135, allocations: 13.31 kB / 0.5257 GB, free: 12.48 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.403e-06/0.01135, allocations: 0 / 0.5257 GB, free: 12.48 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000247/0.0116, allocations: 120.3 kB / 0.5258 GB, free: 12.34 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 5.053e-05/0.01165, allocations: 9.078 kB / 0.5258 GB, free: 12.34 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.372e-05/0.01168, allocations: 4 kB / 0.5258 GB, free: 12.33 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.302e-05/0.01175, allocations: 8.703 kB / 0.5258 GB, free: 12.32 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.348e-05/0.01178, allocations: 7.938 kB / 0.5258 GB, free: 12.32 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.12e-05/0.01179, allocations: 8.516 kB / 0.5258 GB, free: 12.31 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 4.966e-05/0.01184, allocations: 124.2 kB / 0.526 GB, free: 12.19 MB / 0.4948 GB Notification: Performance of sort global known variables: time 1e-07/0.01184, allocations: 0 / 0.526 GB, free: 12.19 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0002781/0.01212, allocations: 31.88 kB / 0.526 GB, free: 12.16 MB / 0.4948 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.00023/0.01235, allocations: 132 kB / 0.5261 GB, free: 12.02 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0001671/0.01252, allocations: 44.56 kB / 0.5262 GB, free: 11.97 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 2.344e-06/0.01252, allocations: 0 / 0.5262 GB, free: 11.97 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 5.149e-05/0.01257, allocations: 28.48 kB / 0.5262 GB, free: 11.94 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001911/0.01276, allocations: 6.438 kB / 0.5262 GB, free: 11.94 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005272/0.01329, allocations: 160.4 kB / 0.5264 GB, free: 11.75 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.428e-05/0.01334, allocations: 55.36 kB / 0.5264 GB, free: 11.68 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 9.569e-05/0.01344, allocations: 24.64 kB / 0.5264 GB, free: 11.66 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.538e-05/0.0135, allocations: 13.38 kB / 0.5264 GB, free: 11.65 MB / 0.4948 GB Notification: Performance of SimCode: time 9.22e-07/0.0135, allocations: 0 / 0.5264 GB, free: 11.65 MB / 0.4948 GB Notification: Performance of Templates: time 0.003933/0.01743, allocations: 1.214 MB / 0.5276 GB, free: 10.5 MB / 0.4948 GB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.makefile [Timeout 660] (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 & ./IDEAS_IDEAS.Utilities.Math.Functions.Examples.InverseXDerivativeCheck -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_IDEAS.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.04846074571833]