Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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.001016/0.001016, allocations: 81.17 kB / 19.87 MB, free: 4.621 MB / 18.57 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.001034/0.001034, allocations: 169 kB / 23.27 MB, free: 1.219 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.015/1.015, allocations: 177.1 MB / 203.7 MB, free: 5.516 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-535:34:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-535:42:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo): time 0.8098/0.8098, allocations: 154.9 MB / 415.1 MB, free: 256 kB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/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 master/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 master/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_dev_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_dev_IDEAS.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.262e-06/1.262e-06, allocations: 0 / 0.5212 GB, free: 1.477 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.146e-05/2.272e-05, allocations: 4.969 kB / 0.5212 GB, free: 1.473 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check): time 0.001533/0.001556, allocations: 0.7913 MB / 0.522 GB, free: 0.7031 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.001825/0.003381, allocations: 1.475 MB / 0.5234 GB, free: 15.21 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.72e-05/0.003448, allocations: 0 / 0.5234 GB, free: 15.21 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 4.375e-05/0.003492, allocations: 12.42 kB / 0.5234 GB, free: 15.2 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 5.975e-05/0.003552, allocations: 3.938 kB / 0.5234 GB, free: 15.2 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005429/0.004094, allocations: 150.7 kB / 0.5236 GB, free: 15.05 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 0.0001073/0.004202, allocations: 51.89 kB / 0.5236 GB, free: 15 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 5.009e-05/0.004252, allocations: 9.359 kB / 0.5236 GB, free: 14.99 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001176/0.004369, allocations: 31.95 kB / 0.5237 GB, free: 14.96 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 6.104e-05/0.004431, allocations: 31.89 kB / 0.5237 GB, free: 14.93 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 1.922e-05/0.00445, allocations: 4.562 kB / 0.5237 GB, free: 14.93 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003125/0.004762, allocations: 255.4 kB / 0.5239 GB, free: 14.68 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 2.458e-05/0.004787, allocations: 8.703 kB / 0.5239 GB, free: 14.67 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 3.482e-05/0.004822, allocations: 23.91 kB / 0.524 GB, free: 14.64 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.0003159/0.005138, allocations: 216.6 kB / 0.5242 GB, free: 14.43 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 4.158e-06/0.005142, allocations: 4 kB / 0.5242 GB, free: 14.43 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.774e-06/0.005144, allocations: 0 / 0.5242 GB, free: 14.43 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 6.241e-06/0.00515, allocations: 0.9375 kB / 0.5242 GB, free: 14.43 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.0005753/0.005725, allocations: 421.2 kB / 0.5246 GB, free: 13.98 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 5.354e-05/0.005779, allocations: 8.031 kB / 0.5246 GB, free: 13.98 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002515/0.00603, allocations: 62.98 kB / 0.5246 GB, free: 13.92 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.867e-05/0.006129, allocations: 117.4 kB / 0.5248 GB, free: 13.78 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.02e-05/0.006149, allocations: 4.375 kB / 0.5248 GB, free: 13.77 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.251e-05/0.006171, allocations: 11.12 kB / 0.5248 GB, free: 13.77 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002348/0.006406, allocations: 157.4 kB / 0.5249 GB, free: 13.59 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.295e-05/0.006419, allocations: 8.109 kB / 0.5249 GB, free: 13.59 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.127e-05/0.00643, allocations: 4.375 kB / 0.5249 GB, free: 13.58 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.554e-06/0.006438, allocations: 3.938 kB / 0.5249 GB, free: 13.58 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.487e-05/0.006483, allocations: 21.23 kB / 0.525 GB, free: 13.56 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003559/0.006839, allocations: 300.2 kB / 0.5252 GB, free: 13.24 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001311/0.00697, allocations: 72.11 kB / 0.5253 GB, free: 13.16 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.285e-05/0.007003, allocations: 28.59 kB / 0.5253 GB, free: 13.12 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 2.063e-05/0.007023, allocations: 0 / 0.5253 GB, free: 13.12 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.668e-05/0.00705, allocations: 38.69 kB / 0.5254 GB, free: 13.08 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=7): time 1.062e-06/0.007051, allocations: 7.938 kB / 0.5254 GB, free: 13.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.00616/0.01321, allocations: 1.877 MB / 0.5272 GB, free: 11.17 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.056e-05/0.01324, allocations: 56.09 kB / 0.5273 GB, free: 11.1 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.029e-05/0.01332, allocations: 157.9 kB / 0.5274 GB, free: 10.93 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 3.295e-05/0.01335, allocations: 35.23 kB / 0.5275 GB, free: 10.89 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 5.155e-05/0.01341, allocations: 138.8 kB / 0.5276 GB, free: 10.75 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 4.943e-05/0.01346, allocations: 35.69 kB / 0.5276 GB, free: 10.71 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001024/0.01356, allocations: 75.22 kB / 0.5277 GB, free: 10.63 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.000132/0.01369, allocations: 0.4944 MB / 0.5282 GB, free: 10.13 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001376/0.01383, allocations: 115.9 kB / 0.5283 GB, free: 10.02 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001428/0.01397, allocations: 119.9 kB / 0.5284 GB, free: 9.898 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002999/0.01427, allocations: 258.5 kB / 0.5286 GB, free: 9.645 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.82e-07/0.01427, allocations: 1.062 kB / 0.5286 GB, free: 9.645 MB / 0.4948 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004617/0.01473, allocations: 335.1 kB / 0.529 GB, free: 9.312 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.835e-05/0.01475, allocations: 8 kB / 0.529 GB, free: 9.305 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.33e-05/0.01477, allocations: 5 kB / 0.529 GB, free: 9.301 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.562e-05/0.01478, allocations: 0 / 0.529 GB, free: 9.301 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003275/0.01511, allocations: 85.45 kB / 0.5291 GB, free: 9.219 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.098e-06/0.01511, allocations: 4 kB / 0.5291 GB, free: 9.215 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000203/0.01532, allocations: 34.27 kB / 0.5291 GB, free: 9.184 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.072e-05/0.01535, allocations: 19.94 kB / 0.5291 GB, free: 9.164 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.0001204/0.01547, allocations: 165 kB / 0.5293 GB, free: 8.992 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.548e-05/0.01553, allocations: 7.953 kB / 0.5293 GB, free: 8.984 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.834e-05/0.01557, allocations: 18.14 kB / 0.5293 GB, free: 8.973 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.356e-06/0.01557, allocations: 4 kB / 0.5293 GB, free: 8.969 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.495e-06/0.01558, allocations: 3.938 kB / 0.5293 GB, free: 8.965 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.836e-06/0.01558, allocations: 0 / 0.5293 GB, free: 8.965 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008386/0.01642, allocations: 0.8214 MB / 0.5301 GB, free: 8.055 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.094e-06/0.01642, allocations: 0 / 0.5301 GB, free: 8.055 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003049/0.01672, allocations: 89.75 kB / 0.5302 GB, free: 7.969 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.615e-06/0.01673, allocations: 0 / 0.5302 GB, free: 7.969 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.807e-05/0.01676, allocations: 34.44 kB / 0.5302 GB, free: 7.938 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.363e-06/0.01676, allocations: 0 / 0.5302 GB, free: 7.938 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.01676, allocations: 0 / 0.5302 GB, free: 7.938 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006381/0.0174, allocations: 0.5775 MB / 0.5308 GB, free: 7.34 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 8.34e-05/0.01748, allocations: 43.84 kB / 0.5308 GB, free: 7.297 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.357e-05/0.01751, allocations: 5.625 kB / 0.5308 GB, free: 7.293 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002263/0.01774, allocations: 26.09 kB / 0.5309 GB, free: 7.27 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.136e-05/0.01779, allocations: 35.89 kB / 0.5309 GB, free: 7.234 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.072e-05/0.01782, allocations: 23.94 kB / 0.5309 GB, free: 7.211 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 3.572e-05/0.01786, allocations: 127.2 kB / 0.531 GB, free: 7.086 MB / 0.4948 GB Notification: Performance of sort global known variables: time 6e-08/0.01786, allocations: 0 / 0.531 GB, free: 7.086 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0002384/0.0181, allocations: 56.81 kB / 0.5311 GB, free: 7.031 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.0001692/0.01826, allocations: 114 kB / 0.5312 GB, free: 6.914 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0003445/0.01861, allocations: 287.3 kB / 0.5315 GB, free: 6.629 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.402e-06/0.01861, allocations: 0 / 0.5315 GB, free: 6.629 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0001673/0.01878, allocations: 163.5 kB / 0.5316 GB, free: 6.465 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002211/0.019, allocations: 38.77 kB / 0.5317 GB, free: 6.43 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001562/0.02056, allocations: 0.5934 MB / 0.5322 GB, free: 5.84 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.626e-05/0.0206, allocations: 63.34 kB / 0.5323 GB, free: 5.758 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.0003059/0.0209, allocations: 93.94 kB / 0.5324 GB, free: 5.719 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002722/0.02117, allocations: 130.6 kB / 0.5325 GB, free: 5.59 MB / 0.4948 GB Notification: Performance of SimCode: time 1.202e-06/0.02118, allocations: 1.094 kB / 0.5325 GB, free: 5.59 MB / 0.4948 GB Notification: Performance of Templates: time 0.005884/0.02706, allocations: 3.844 MB / 0.5363 GB, free: 1.777 MB / 0.4948 GB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.sim & ./IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.7795159542001784]