Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(IBPSA.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check") translateModel(IBPSA.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001129/0.001129, allocations: 106 kB / 16.4 MB, free: 6.504 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001155/0.001155, allocations: 193.2 kB / 17.34 MB, free: 5.742 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.413/1.413, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7489/0.7489, allocations: 115.3 MB / 406.5 MB, free: 6.16 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001184/0.001184, allocations: 65.67 kB / 0.5577 GB, free: 32.2 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1798/0.181, allocations: 76.18 MB / 0.6321 GB, free: 4.359 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check): time 0.00304/0.1841, allocations: 0.7651 MB / 0.6329 GB, free: 3.594 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.002936/0.187, allocations: 1.485 MB / 0.6343 GB, free: 2.09 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.716e-05/0.1871, allocations: 0 / 0.6343 GB, free: 2.09 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 4.17e-05/0.1872, allocations: 7.922 kB / 0.6343 GB, free: 2.082 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 5.248e-05/0.1873, allocations: 3.938 kB / 0.6343 GB, free: 2.078 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007705/0.1881, allocations: 139.5 kB / 0.6345 GB, free: 1.941 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001393/0.1882, allocations: 51.94 kB / 0.6345 GB, free: 1.891 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.538e-05/0.1883, allocations: 7.984 kB / 0.6345 GB, free: 1.883 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001075/0.1884, allocations: 23.92 kB / 0.6346 GB, free: 1.859 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.858e-05/0.1885, allocations: 39.81 kB / 0.6346 GB, free: 1.82 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 2.173e-05/0.1886, allocations: 4 kB / 0.6346 GB, free: 1.816 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007127/0.1893, allocations: 315.4 kB / 0.6349 GB, free: 1.508 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 3.167e-05/0.1893, allocations: 15.97 kB / 0.6349 GB, free: 1.492 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 5.338e-05/0.1894, allocations: 23.86 kB / 0.6349 GB, free: 1.469 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000474/0.1899, allocations: 219.4 kB / 0.6351 GB, free: 1.254 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.057e-06/0.1899, allocations: 0 / 0.6351 GB, free: 1.254 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.172e-06/0.1899, allocations: 0 / 0.6351 GB, free: 1.254 MB / 478.1 MB Notification: Performance of Transformations before backend: time 6.482e-06/0.1899, allocations: 0 / 0.6351 GB, free: 1.254 MB / 478.1 MB 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.0008823/0.1908, allocations: 399.4 kB / 0.6355 GB, free: 0.8164 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.309e-05/0.1909, allocations: 8.031 kB / 0.6355 GB, free: 0.8086 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006327/0.1915, allocations: 76.77 kB / 0.6356 GB, free: 0.7344 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001867/0.1917, allocations: 172.4 kB / 0.6358 GB, free: 0.5273 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.622e-05/0.1918, allocations: 4.375 kB / 0.6358 GB, free: 0.5234 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.793e-05/0.1918, allocations: 8.375 kB / 0.6358 GB, free: 0.5156 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000563/0.1924, allocations: 116.2 kB / 0.6359 GB, free: 408 kB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.716e-05/0.1924, allocations: 0 / 0.6359 GB, free: 408 kB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.54e-05/0.1925, allocations: 8 kB / 0.6359 GB, free: 400 kB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.007e-05/0.1925, allocations: 4 kB / 0.6359 GB, free: 396 kB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006795/0.1932, allocations: 103.9 kB / 0.636 GB, free: 292 kB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008734/0.1941, allocations: 340.5 kB / 0.6363 GB, free: 15.9 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009179/0.195, allocations: 158.4 kB / 0.6365 GB, free: 15.74 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000337/0.1953, allocations: 56.81 kB / 0.6365 GB, free: 15.68 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.14e-05/0.1954, allocations: 0 / 0.6365 GB, free: 15.68 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.13e-05/0.1954, allocations: 34.55 kB / 0.6366 GB, free: 15.64 MB / 494.1 MB Notification: Performance of pre-optimization done (n=7): time 1.483e-06/0.1954, allocations: 4 kB / 0.6366 GB, free: 15.63 MB / 494.1 MB 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.02716/0.2226, allocations: 2.838 MB / 0.6393 GB, free: 12.7 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.176e-05/0.2227, allocations: 59.28 kB / 0.6394 GB, free: 12.63 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001356/0.2229, allocations: 93.86 kB / 0.6395 GB, free: 12.53 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 8.417e-05/0.223, allocations: 29.7 kB / 0.6395 GB, free: 12.49 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.382e-05/0.2231, allocations: 92.03 kB / 0.6396 GB, free: 12.4 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001213/0.2232, allocations: 43.45 kB / 0.6396 GB, free: 12.36 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002562/0.2235, allocations: 73.52 kB / 0.6397 GB, free: 12.28 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001632/0.2236, allocations: 310.8 kB / 0.64 GB, free: 11.96 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001066/0.2247, allocations: 195.8 kB / 0.6402 GB, free: 11.77 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001036/0.2258, allocations: 187.8 kB / 0.6404 GB, free: 11.59 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002128/0.2279, allocations: 391.3 kB / 0.6408 GB, free: 11.21 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.739e-06/0.2279, allocations: 3.984 kB / 0.6408 GB, free: 11.2 MB / 494.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.002472/0.2304, allocations: 481.3 kB / 0.6412 GB, free: 10.73 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.637e-05/0.2305, allocations: 8 kB / 0.6412 GB, free: 10.72 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.764e-06/0.2305, allocations: 0 / 0.6412 GB, free: 10.72 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.427e-05/0.2305, allocations: 0 / 0.6412 GB, free: 10.72 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001246/0.2318, allocations: 103.8 kB / 0.6413 GB, free: 10.62 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.475e-05/0.2318, allocations: 11.94 kB / 0.6413 GB, free: 10.61 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009565/0.2328, allocations: 39.94 kB / 0.6414 GB, free: 10.57 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001059/0.2329, allocations: 23.94 kB / 0.6414 GB, free: 10.54 MB / 494.1 MB 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.0002622/0.2332, allocations: 117.8 kB / 0.6415 GB, free: 10.42 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001492/0.2333, allocations: 7.906 kB / 0.6415 GB, free: 10.41 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.498e-05/0.2334, allocations: 11.97 kB / 0.6415 GB, free: 10.39 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.188e-06/0.2334, allocations: 4 kB / 0.6415 GB, free: 10.39 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.018e-05/0.2335, allocations: 3.938 kB / 0.6415 GB, free: 10.39 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.228e-06/0.2335, allocations: 3.938 kB / 0.6415 GB, free: 10.38 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003412/0.2369, allocations: 1.047 MB / 0.6426 GB, free: 9.223 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.657e-06/0.2369, allocations: 3.938 kB / 0.6426 GB, free: 9.219 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001273/0.2382, allocations: 103.8 kB / 0.6427 GB, free: 9.117 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.747e-06/0.2382, allocations: 7.938 kB / 0.6427 GB, free: 9.109 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.453e-05/0.2383, allocations: 23.94 kB / 0.6427 GB, free: 9.086 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.216e-06/0.2383, allocations: 3.938 kB / 0.6427 GB, free: 9.082 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.65e-06/0.2384, allocations: 4 kB / 0.6427 GB, free: 9.078 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00389/0.2423, allocations: 0.7916 MB / 0.6435 GB, free: 8.27 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002401/0.2425, allocations: 120.9 kB / 0.6436 GB, free: 8.133 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001088/0.2426, allocations: 4 kB / 0.6436 GB, free: 8.129 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001087/0.2437, allocations: 55.98 kB / 0.6436 GB, free: 8.074 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001543/0.2439, allocations: 19.94 kB / 0.6437 GB, free: 8.055 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001146/0.244, allocations: 31.92 kB / 0.6437 GB, free: 8.023 MB / 494.1 MB Notification: Performance of sorting global known variables: time 5.539e-05/0.2441, allocations: 79.47 kB / 0.6438 GB, free: 7.945 MB / 494.1 MB Notification: Performance of sort global known variables: time 2e-07/0.2441, allocations: 0 / 0.6438 GB, free: 7.945 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0007149/0.2448, allocations: 52 kB / 0.6438 GB, free: 7.895 MB / 494.1 MB 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.0003398/0.2452, allocations: 115.3 kB / 0.6439 GB, free: 7.773 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.002394/0.2476, allocations: 423.5 kB / 0.6443 GB, free: 7.359 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 4.619e-06/0.2476, allocations: 0 / 0.6443 GB, free: 7.359 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001146/0.2488, allocations: 219.7 kB / 0.6445 GB, free: 7.145 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003615/0.2492, allocations: 19.58 kB / 0.6446 GB, free: 7.129 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004367/0.2535, allocations: 0.7602 MB / 0.6453 GB, free: 6.344 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003027/0.2538, allocations: 0.6885 MB / 0.646 GB, free: 5.629 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0005403/0.2544, allocations: 88.66 kB / 0.6461 GB, free: 5.543 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002737/0.2547, allocations: 59.3 kB / 0.6461 GB, free: 5.484 MB / 494.1 MB Notification: Performance of SimCode: time 3.5e-07/0.2547, allocations: 0 / 0.6461 GB, free: 5.484 MB / 494.1 MB Notification: Performance of Templates: time 0.007057/0.2617, allocations: 3.479 MB / 0.6495 GB, free: 1.996 MB / 494.1 MB make -j1 -f IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.makefile (rm -f IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.sim & ./IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.pipe 2>&1)