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.002532/0.002532, allocations: 85.48 kB / 19.44 MB, free: 344 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.003189/0.003189, allocations: 173.2 kB / 22.76 MB, free: 1.664 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.593/1.593, 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.323/1.323, allocations: 154.6 MB / 414.2 MB, free: 0.625 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.423e-06/1.423e-06, allocations: 0 / 0.5197 GB, free: 2.488 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.467e-05/2.609e-05, allocations: 2.312 kB / 0.5197 GB, free: 2.484 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check): time 0.001978/0.002004, allocations: 0.7925 MB / 0.5205 GB, free: 1.715 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.002291/0.004295, allocations: 1.476 MB / 0.5219 GB, free: 228 kB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.052e-05/0.004326, allocations: 0 / 0.5219 GB, free: 228 kB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 2.93e-05/0.004355, allocations: 7.922 kB / 0.5219 GB, free: 220 kB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 4.931e-05/0.004404, allocations: 0.5312 kB / 0.5219 GB, free: 220 kB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000517/0.004921, allocations: 147.5 kB / 0.5221 GB, free: 76 kB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002243/0.005146, allocations: 55.88 kB / 0.5221 GB, free: 20 kB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.391e-05/0.00518, allocations: 4 kB / 0.5221 GB, free: 16 kB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001197/0.005299, allocations: 31.91 kB / 0.5221 GB, free: 15.98 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 6.42e-05/0.005363, allocations: 28.7 kB / 0.5222 GB, free: 15.96 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 2.226e-05/0.005386, allocations: 4 kB / 0.5222 GB, free: 15.95 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004385/0.005824, allocations: 252.7 kB / 0.5224 GB, free: 15.71 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 2.681e-05/0.005851, allocations: 11.97 kB / 0.5224 GB, free: 15.7 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 3.418e-05/0.005885, allocations: 19.92 kB / 0.5224 GB, free: 15.68 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.0004022/0.006287, allocations: 223.4 kB / 0.5227 GB, free: 15.46 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 2.314e-06/0.00629, allocations: 0.5 kB / 0.5227 GB, free: 15.46 MB / 0.4948 GB Notification: Performance of FrontEnd: time 7.12e-07/0.00629, allocations: 4.594 kB / 0.5227 GB, free: 15.45 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 3.857e-06/0.006294, allocations: 3.938 kB / 0.5227 GB, free: 15.45 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.0007266/0.007021, allocations: 424.7 kB / 0.5231 GB, free: 15 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.844e-05/0.007059, allocations: 13 kB / 0.5231 GB, free: 14.99 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004271/0.007486, allocations: 55.05 kB / 0.5231 GB, free: 14.94 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001295/0.007616, allocations: 112.6 kB / 0.5232 GB, free: 14.8 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.744e-05/0.007643, allocations: 9 kB / 0.5232 GB, free: 14.79 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.111e-05/0.007674, allocations: 9.406 kB / 0.5233 GB, free: 14.79 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003733/0.008048, allocations: 153.2 kB / 0.5234 GB, free: 14.62 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.251e-05/0.00806, allocations: 192 / 0.5234 GB, free: 14.62 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.35e-05/0.008074, allocations: 2.094 kB / 0.5234 GB, free: 14.62 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.118e-05/0.008085, allocations: 7.938 kB / 0.5234 GB, free: 14.61 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000373/0.008458, allocations: 81.55 kB / 0.5235 GB, free: 14.54 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006343/0.009092, allocations: 320.4 kB / 0.5238 GB, free: 14.19 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000521/0.009613, allocations: 130.2 kB / 0.5239 GB, free: 14.05 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001958/0.009809, allocations: 46.56 kB / 0.524 GB, free: 14 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 2.048e-05/0.009829, allocations: 4 kB / 0.524 GB, free: 14 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.11e-05/0.009871, allocations: 41.38 kB / 0.524 GB, free: 13.95 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=7): time 1.062e-06/0.009872, allocations: 0 / 0.524 GB, free: 13.95 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.01749/0.02736, allocations: 2.486 MB / 0.5264 GB, free: 11.45 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.637e-05/0.02741, allocations: 51.91 kB / 0.5265 GB, free: 11.39 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001352/0.02754, allocations: 166.5 kB / 0.5266 GB, free: 11.21 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 5.105e-05/0.0276, allocations: 29.7 kB / 0.5267 GB, free: 11.18 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 9.186e-05/0.02769, allocations: 141.8 kB / 0.5268 GB, free: 11.04 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 8.518e-05/0.02777, allocations: 39.69 kB / 0.5268 GB, free: 11 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001931/0.02797, allocations: 79.19 kB / 0.5269 GB, free: 10.91 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.00027/0.02824, allocations: 0.4922 MB / 0.5274 GB, free: 10.41 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006349/0.02887, allocations: 213.7 kB / 0.5276 GB, free: 10.2 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006153/0.02949, allocations: 218.1 kB / 0.5278 GB, free: 9.988 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001276/0.03076, allocations: 441.2 kB / 0.5282 GB, free: 9.559 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.082e-06/0.03076, allocations: 0 / 0.5282 GB, free: 9.559 MB / 0.4948 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.001535/0.0323, allocations: 0.5179 MB / 0.5287 GB, free: 9.043 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.667e-05/0.03232, allocations: 4 kB / 0.5287 GB, free: 9.039 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.189e-06/0.03232, allocations: 0 / 0.5287 GB, free: 9.039 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.689e-05/0.03234, allocations: 2.562 kB / 0.5287 GB, free: 9.039 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008098/0.03315, allocations: 95.8 kB / 0.5288 GB, free: 8.945 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.831e-06/0.03315, allocations: 3.938 kB / 0.5288 GB, free: 8.941 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005866/0.03374, allocations: 38.17 kB / 0.5289 GB, free: 8.906 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.601e-05/0.03381, allocations: 23.94 kB / 0.5289 GB, free: 8.883 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.0001962/0.034, allocations: 165.1 kB / 0.5291 GB, free: 8.711 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001179/0.03412, allocations: 11.95 kB / 0.5291 GB, free: 8.699 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.119e-05/0.03418, allocations: 13.61 kB / 0.5291 GB, free: 8.688 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.999e-06/0.03419, allocations: 4 kB / 0.5291 GB, free: 8.684 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.198e-06/0.03419, allocations: 0 / 0.5291 GB, free: 8.684 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.176e-06/0.03419, allocations: 0 / 0.5291 GB, free: 8.684 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002411/0.0366, allocations: 1.048 MB / 0.5301 GB, free: 7.543 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.884e-06/0.03661, allocations: 0 / 0.5301 GB, free: 7.543 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008007/0.03741, allocations: 94.5 kB / 0.5302 GB, free: 7.453 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.705e-06/0.03741, allocations: 3.938 kB / 0.5302 GB, free: 7.449 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.341e-05/0.03747, allocations: 23.94 kB / 0.5302 GB, free: 7.426 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.523e-06/0.03747, allocations: 0 / 0.5302 GB, free: 7.426 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.51e-07/0.03748, allocations: 2.344 kB / 0.5302 GB, free: 7.426 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002323/0.0398, allocations: 0.9117 MB / 0.5311 GB, free: 6.5 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001613/0.03996, allocations: 39.86 kB / 0.5312 GB, free: 6.461 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.596e-05/0.04003, allocations: 0 / 0.5312 GB, free: 6.461 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006313/0.04066, allocations: 29.8 kB / 0.5312 GB, free: 6.434 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001147/0.04077, allocations: 31.92 kB / 0.5312 GB, free: 6.402 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.446e-05/0.04084, allocations: 26 kB / 0.5312 GB, free: 6.379 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 7.476e-05/0.04091, allocations: 123.2 kB / 0.5314 GB, free: 6.258 MB / 0.4948 GB Notification: Performance of sort global known variables: time 7e-08/0.04091, allocations: 0 / 0.5314 GB, free: 6.258 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0003885/0.0413, allocations: 59.92 kB / 0.5314 GB, free: 6.199 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.0002293/0.04153, allocations: 107.8 kB / 0.5315 GB, free: 6.086 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.001407/0.04294, allocations: 484.5 kB / 0.532 GB, free: 5.613 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 2.354e-06/0.04294, allocations: 0 / 0.532 GB, free: 5.613 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0007089/0.04365, allocations: 252.7 kB / 0.5322 GB, free: 5.367 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003422/0.04399, allocations: 36.95 kB / 0.5323 GB, free: 5.332 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004023/0.04801, allocations: 0.6958 MB / 0.5329 GB, free: 4.641 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.955e-05/0.0481, allocations: 80.61 kB / 0.533 GB, free: 4.543 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.0005645/0.04867, allocations: 95.03 kB / 0.5331 GB, free: 4.469 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002777/0.04895, allocations: 52.38 kB / 0.5332 GB, free: 4.418 MB / 0.4948 GB Notification: Performance of SimCode: time 1.142e-06/0.04895, allocations: 0 / 0.5332 GB, free: 4.418 MB / 0.4948 GB Notification: Performance of Templates: time 0.008765/0.05771, allocations: 3.769 MB / 0.5368 GB, free: 0.6797 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=240 -lv LOG_STATS > IDEAS_IDEAS.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 6.228036490036175]