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.001395/0.001395, allocations: 92.2 kB / 20.19 MB, free: 4.363 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.001049/0.001049, allocations: 173 kB / 23.49 MB, free: 1.059 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.059/1.059, allocations: 177.1 MB / 203.8 MB, free: 5.648 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.778/0.778, allocations: 154.6 MB / 414.9 MB, free: 0.6875 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 2.465e-06/2.465e-06, allocations: 0 / 0.5204 GB, free: 2.469 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.785e-05/3.032e-05, allocations: 3.938 kB / 0.5204 GB, free: 2.465 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check): time 0.001552/0.001583, allocations: 0.7905 MB / 0.5212 GB, free: 1.695 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.001785/0.003368, allocations: 1.499 MB / 0.5226 GB, free: 184 kB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.421e-05/0.003412, allocations: 1.812 kB / 0.5226 GB, free: 184 kB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 3.548e-05/0.003447, allocations: 7.922 kB / 0.5227 GB, free: 176 kB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 5.126e-05/0.003499, allocations: 3.938 kB / 0.5227 GB, free: 172 kB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000595/0.004094, allocations: 142.5 kB / 0.5228 GB, free: 32 kB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001075/0.004201, allocations: 55.88 kB / 0.5228 GB, free: 15.98 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 4.724e-05/0.004248, allocations: 0 / 0.5228 GB, free: 15.98 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001072/0.004356, allocations: 36.41 kB / 0.5229 GB, free: 15.94 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 5.158e-05/0.004407, allocations: 24.7 kB / 0.5229 GB, free: 15.92 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 1.966e-05/0.004427, allocations: 4 kB / 0.5229 GB, free: 15.91 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000273/0.0047, allocations: 256.9 kB / 0.5232 GB, free: 15.66 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 2.274e-05/0.004723, allocations: 15.97 kB / 0.5232 GB, free: 15.65 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 2.875e-05/0.004751, allocations: 15.92 kB / 0.5232 GB, free: 15.63 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.0002638/0.005015, allocations: 219.4 kB / 0.5234 GB, free: 15.42 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 1.994e-06/0.005017, allocations: 1.344 kB / 0.5234 GB, free: 15.42 MB / 0.4948 GB Notification: Performance of FrontEnd: time 7.52e-07/0.005018, allocations: 3.938 kB / 0.5234 GB, free: 15.41 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 4.689e-06/0.005023, allocations: 0 / 0.5234 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: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0005168/0.005539, allocations: 431.5 kB / 0.5238 GB, free: 14.96 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.65e-05/0.005586, allocations: 8.031 kB / 0.5238 GB, free: 14.95 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002565/0.005842, allocations: 52.83 kB / 0.5239 GB, free: 14.9 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.96e-05/0.005942, allocations: 113.1 kB / 0.524 GB, free: 14.77 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.098e-05/0.005963, allocations: 8.938 kB / 0.524 GB, free: 14.76 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.695e-05/0.00599, allocations: 8.312 kB / 0.524 GB, free: 14.75 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002343/0.006224, allocations: 163.7 kB / 0.5241 GB, free: 14.57 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.2e-05/0.006236, allocations: 1.656 kB / 0.5241 GB, free: 14.57 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.366e-05/0.00625, allocations: 4.375 kB / 0.5242 GB, free: 14.57 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.212e-05/0.006262, allocations: 3.938 kB / 0.5242 GB, free: 14.56 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.023e-05/0.006332, allocations: 27.98 kB / 0.5242 GB, free: 14.54 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004334/0.006765, allocations: 324.5 kB / 0.5245 GB, free: 14.18 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001553/0.006921, allocations: 81.53 kB / 0.5246 GB, free: 14.09 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.728e-05/0.006958, allocations: 27.67 kB / 0.5246 GB, free: 14.06 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 1.447e-05/0.006972, allocations: 0 / 0.5246 GB, free: 14.06 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.722e-05/0.007, allocations: 37.39 kB / 0.5246 GB, free: 14.02 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=7): time 1.392e-06/0.007001, allocations: 0 / 0.5246 GB, free: 14.02 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.007/0.014, allocations: 1.991 MB / 0.5266 GB, free: 12 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.689e-05/0.01404, allocations: 55.94 kB / 0.5266 GB, free: 11.93 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.603e-05/0.01412, allocations: 161.9 kB / 0.5268 GB, free: 11.76 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 3.556e-05/0.01416, allocations: 31.2 kB / 0.5268 GB, free: 11.72 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 5.498e-05/0.01422, allocations: 138.8 kB / 0.5269 GB, free: 11.58 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 5.987e-05/0.01427, allocations: 43.58 kB / 0.527 GB, free: 11.54 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001064/0.01438, allocations: 75.23 kB / 0.5271 GB, free: 11.46 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001184/0.0145, allocations: 0.489 MB / 0.5275 GB, free: 10.96 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001837/0.01468, allocations: 144.5 kB / 0.5277 GB, free: 10.82 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001777/0.01486, allocations: 148 kB / 0.5278 GB, free: 10.68 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000374/0.01524, allocations: 283.7 kB / 0.5281 GB, free: 10.39 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.254e-06/0.01524, allocations: 5.219 kB / 0.5281 GB, free: 10.39 MB / 0.4948 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0005374/0.01577, allocations: 373.4 kB / 0.5284 GB, free: 10.02 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 2.032e-05/0.0158, allocations: 8.938 kB / 0.5285 GB, free: 10.01 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.562e-06/0.0158, allocations: 0 / 0.5285 GB, free: 10.01 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.829e-05/0.01582, allocations: 1.094 kB / 0.5285 GB, free: 10.01 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003795/0.0162, allocations: 102.2 kB / 0.5286 GB, free: 9.914 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.002e-05/0.01621, allocations: 4 kB / 0.5286 GB, free: 9.91 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002843/0.01649, allocations: 25.16 kB / 0.5286 GB, free: 9.887 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.656e-05/0.01655, allocations: 23.92 kB / 0.5286 GB, free: 9.863 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.0001657/0.01672, allocations: 166.3 kB / 0.5288 GB, free: 9.691 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001041/0.01682, allocations: 15.94 kB / 0.5288 GB, free: 9.676 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.73e-05/0.01688, allocations: 12.12 kB / 0.5288 GB, free: 9.664 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.336e-06/0.01688, allocations: 0 / 0.5288 GB, free: 9.664 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.783e-06/0.01689, allocations: 0 / 0.5288 GB, free: 9.664 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.16e-06/0.01689, allocations: 1.594 kB / 0.5288 GB, free: 9.664 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001384/0.01828, allocations: 0.8898 MB / 0.5297 GB, free: 8.68 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.045e-06/0.01828, allocations: 0 / 0.5297 GB, free: 8.68 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005244/0.0188, allocations: 93.22 kB / 0.5298 GB, free: 8.59 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.009e-06/0.01881, allocations: 0.875 kB / 0.5298 GB, free: 8.59 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.593e-05/0.01886, allocations: 27.94 kB / 0.5298 GB, free: 8.562 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.028e-06/0.01887, allocations: 1.375 kB / 0.5298 GB, free: 8.562 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.154e-06/0.01887, allocations: 0 / 0.5298 GB, free: 8.562 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001125/0.02, allocations: 0.6485 MB / 0.5304 GB, free: 7.895 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 9.379e-05/0.02009, allocations: 40.39 kB / 0.5305 GB, free: 7.855 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.682e-05/0.02014, allocations: 8.547 kB / 0.5305 GB, free: 7.848 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002659/0.0204, allocations: 31.16 kB / 0.5305 GB, free: 7.82 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.566e-05/0.02048, allocations: 23.92 kB / 0.5305 GB, free: 7.797 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.705e-05/0.02052, allocations: 31.86 kB / 0.5305 GB, free: 7.766 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 4.192e-05/0.02056, allocations: 127.2 kB / 0.5307 GB, free: 7.641 MB / 0.4948 GB Notification: Performance of sort global known variables: time 7e-08/0.02056, allocations: 0 / 0.5307 GB, free: 7.641 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0002562/0.02081, allocations: 47.94 kB / 0.5307 GB, free: 7.594 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.0001891/0.021, allocations: 124 kB / 0.5308 GB, free: 7.465 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0004823/0.02148, allocations: 327.8 kB / 0.5311 GB, free: 7.145 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 4.839e-06/0.02149, allocations: 4 kB / 0.5311 GB, free: 7.141 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0002153/0.0217, allocations: 185.7 kB / 0.5313 GB, free: 6.957 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002651/0.02197, allocations: 46.47 kB / 0.5314 GB, free: 6.914 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001707/0.02368, allocations: 0.6182 MB / 0.532 GB, free: 6.301 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.219e-05/0.02372, allocations: 67.28 kB / 0.532 GB, free: 6.215 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.0003262/0.02405, allocations: 93.31 kB / 0.5321 GB, free: 6.18 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001679/0.02421, allocations: 56.36 kB / 0.5322 GB, free: 6.125 MB / 0.4948 GB Notification: Performance of SimCode: time 1.212e-06/0.02421, allocations: 0 / 0.5322 GB, free: 6.125 MB / 0.4948 GB Notification: Performance of Templates: time 0.005277/0.02949, allocations: 3.76 MB / 0.5358 GB, free: 2.414 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.9892601140309125]