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.001159/0.001159, allocations: 77.09 kB / 20.66 MB, free: 3.844 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.00132/0.00132, allocations: 169 kB / 24.06 MB, free: 456 kB / 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.996/0.996, allocations: 177.1 MB / 204.5 MB, free: 5.504 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.771/0.771, allocations: 154.6 MB / 415.6 MB, free: 0.5391 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.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.092e-06/1.092e-06, allocations: 0.7656 kB / 0.5216 GB, free: 1.879 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.552e-05/1.661e-05, allocations: 2.312 kB / 0.5216 GB, free: 1.875 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check): time 0.005755/0.005771, allocations: 0.7928 MB / 0.5224 GB, free: 1.102 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.001731/0.007502, allocations: 1.487 MB / 0.5238 GB, free: 15.6 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.658e-05/0.007539, allocations: 0 / 0.5238 GB, free: 15.6 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 2.769e-05/0.007566, allocations: 3.938 kB / 0.5238 GB, free: 15.59 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 4.402e-05/0.00761, allocations: 0.5625 kB / 0.5238 GB, free: 15.59 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004817/0.008092, allocations: 150.1 kB / 0.524 GB, free: 15.45 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 8.725e-05/0.008179, allocations: 54.86 kB / 0.524 GB, free: 15.4 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 3.384e-05/0.008213, allocations: 4 kB / 0.524 GB, free: 15.39 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 9.206e-05/0.008305, allocations: 35.89 kB / 0.5241 GB, free: 15.36 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006093/0.0144, allocations: 27.95 kB / 0.5241 GB, free: 15.33 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 1.844e-05/0.01442, allocations: 4 kB / 0.5241 GB, free: 15.33 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003744/0.01479, allocations: 255.4 kB / 0.5243 GB, free: 15.08 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 2.1e-05/0.01481, allocations: 7.938 kB / 0.5243 GB, free: 15.07 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 2.758e-05/0.01484, allocations: 23.91 kB / 0.5244 GB, free: 15.05 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.0003065/0.01515, allocations: 224.4 kB / 0.5246 GB, free: 14.83 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 2.525e-06/0.01515, allocations: 0 / 0.5246 GB, free: 14.83 MB / 0.4948 GB Notification: Performance of FrontEnd: time 7.91e-07/0.01515, allocations: 0.5625 kB / 0.5246 GB, free: 14.83 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 3.085e-06/0.01515, allocations: 0 / 0.5246 GB, free: 14.83 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.0004394/0.01559, allocations: 421.6 kB / 0.525 GB, free: 14.38 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 2.927e-05/0.01562, allocations: 8.031 kB / 0.525 GB, free: 14.38 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002408/0.01586, allocations: 59.3 kB / 0.5251 GB, free: 14.32 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.665e-05/0.01594, allocations: 114.6 kB / 0.5252 GB, free: 14.18 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.734e-05/0.01596, allocations: 8.375 kB / 0.5252 GB, free: 14.18 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.153e-05/0.01598, allocations: 12.36 kB / 0.5252 GB, free: 14.16 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002032/0.01618, allocations: 155.1 kB / 0.5253 GB, free: 13.99 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.098e-06/0.01619, allocations: 4.125 kB / 0.5253 GB, free: 13.99 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.047e-06/0.0162, allocations: 1.188 kB / 0.5253 GB, free: 13.99 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.712e-06/0.01621, allocations: 7.938 kB / 0.5253 GB, free: 13.98 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.928e-05/0.01626, allocations: 28.06 kB / 0.5254 GB, free: 13.96 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003398/0.0166, allocations: 296.3 kB / 0.5257 GB, free: 13.64 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001379/0.01674, allocations: 76.39 kB / 0.5257 GB, free: 13.55 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.103e-05/0.01677, allocations: 31.55 kB / 0.5258 GB, free: 13.52 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 1.157e-05/0.01678, allocations: 4.781 kB / 0.5258 GB, free: 13.52 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.993e-05/0.0168, allocations: 33.39 kB / 0.5258 GB, free: 13.47 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=7): time 8.62e-07/0.01681, allocations: 1.281 kB / 0.5258 GB, free: 13.47 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.01805/0.03486, allocations: 1.878 MB / 0.5276 GB, free: 11.57 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.418e-05/0.03489, allocations: 55.41 kB / 0.5277 GB, free: 11.5 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.329e-05/0.03497, allocations: 163.2 kB / 0.5278 GB, free: 11.33 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 4.301e-05/0.03502, allocations: 29.7 kB / 0.5279 GB, free: 11.29 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 5.675e-05/0.03507, allocations: 138.8 kB / 0.528 GB, free: 11.15 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 6.542e-05/0.03514, allocations: 40.36 kB / 0.528 GB, free: 11.11 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001773/0.03532, allocations: 75.23 kB / 0.5281 GB, free: 11.03 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001936/0.03551, allocations: 0.4895 MB / 0.5286 GB, free: 10.53 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002204/0.03573, allocations: 123.9 kB / 0.5287 GB, free: 10.41 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002135/0.03594, allocations: 120.9 kB / 0.5288 GB, free: 10.29 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004711/0.03641, allocations: 260.8 kB / 0.5291 GB, free: 10.04 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.322e-06/0.03642, allocations: 0 / 0.5291 GB, free: 10.04 MB / 0.4948 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0006859/0.0371, allocations: 329.9 kB / 0.5294 GB, free: 9.707 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.751e-05/0.03712, allocations: 4.688 kB / 0.5294 GB, free: 9.703 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.639e-06/0.03713, allocations: 4 kB / 0.5294 GB, free: 9.699 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.047e-05/0.03714, allocations: 1.25 kB / 0.5294 GB, free: 9.699 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005299/0.03767, allocations: 92.38 kB / 0.5295 GB, free: 9.609 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.337e-06/0.03767, allocations: 0.5938 kB / 0.5295 GB, free: 9.609 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003549/0.03803, allocations: 33.94 kB / 0.5295 GB, free: 9.578 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.609e-05/0.03808, allocations: 23.92 kB / 0.5295 GB, free: 9.555 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.0001512/0.03823, allocations: 167.1 kB / 0.5297 GB, free: 9.383 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001053/0.03834, allocations: 7.953 kB / 0.5297 GB, free: 9.375 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.334e-05/0.03838, allocations: 12.12 kB / 0.5297 GB, free: 9.363 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.495e-06/0.03839, allocations: 0 / 0.5297 GB, free: 9.363 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.054e-06/0.03839, allocations: 4 kB / 0.5297 GB, free: 9.359 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.907e-06/0.03839, allocations: 0 / 0.5297 GB, free: 9.359 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001357/0.03975, allocations: 0.83 MB / 0.5305 GB, free: 8.445 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.444e-06/0.03975, allocations: 0 / 0.5305 GB, free: 8.445 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005316/0.04028, allocations: 84.33 kB / 0.5306 GB, free: 8.363 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.719e-06/0.04029, allocations: 1.031 kB / 0.5306 GB, free: 8.363 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.116e-05/0.04034, allocations: 27.92 kB / 0.5306 GB, free: 8.336 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.258e-06/0.04034, allocations: 4 kB / 0.5306 GB, free: 8.332 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.563e-06/0.04034, allocations: 1.156 kB / 0.5306 GB, free: 8.332 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009664/0.04131, allocations: 0.5883 MB / 0.5312 GB, free: 7.727 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000123/0.04143, allocations: 40.42 kB / 0.5313 GB, free: 7.688 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.8e-05/0.04149, allocations: 7.984 kB / 0.5313 GB, free: 7.68 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003913/0.04188, allocations: 31.2 kB / 0.5313 GB, free: 7.652 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.863e-05/0.04197, allocations: 31.92 kB / 0.5313 GB, free: 7.621 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.669e-05/0.04203, allocations: 19.94 kB / 0.5313 GB, free: 7.602 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 3.871e-05/0.04207, allocations: 127.2 kB / 0.5315 GB, free: 7.477 MB / 0.4948 GB Notification: Performance of sort global known variables: time 8e-08/0.04207, allocations: 0 / 0.5315 GB, free: 7.477 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0003867/0.04245, allocations: 55.94 kB / 0.5315 GB, free: 7.422 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.0001948/0.04265, allocations: 108.2 kB / 0.5316 GB, free: 7.309 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0005137/0.04316, allocations: 293.6 kB / 0.5319 GB, free: 7.02 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 2.535e-06/0.04316, allocations: 0 / 0.5319 GB, free: 7.02 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0002583/0.04342, allocations: 163.4 kB / 0.5321 GB, free: 6.855 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003176/0.04374, allocations: 40.7 kB / 0.5321 GB, free: 6.816 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002422/0.04616, allocations: 0.5983 MB / 0.5327 GB, free: 6.227 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.552e-05/0.04621, allocations: 71.28 kB / 0.5327 GB, free: 6.137 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.0004897/0.0467, allocations: 89.69 kB / 0.5328 GB, free: 6.105 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003599/0.04706, allocations: 126.1 kB / 0.5329 GB, free: 5.98 MB / 0.4948 GB Notification: Performance of SimCode: time 6.71e-07/0.04706, allocations: 0 / 0.5329 GB, free: 5.98 MB / 0.4948 GB Notification: Performance of Templates: time 0.006971/0.05403, allocations: 3.945 MB / 0.5368 GB, free: 2.078 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: 3.94172245496884]