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.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.0009866/0.0009866, allocations: 73.97 kB / 20.65 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.001116/0.001116, allocations: 173.4 kB / 24.05 MB, free: 452 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 1.031/1.031, allocations: 177.1 MB / 204.5 MB, free: 5.488 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo): time 0.6664/0.6664, allocations: 115 MB / 376 MB, free: 7.484 MB / 346.7 MB " [Timeout remaining time 179] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 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(IBPSA.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2500,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=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.433e-06/1.433e-06, allocations: 0 / 482 MB, free: 11.71 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.191e-05/2.334e-05, allocations: 8.891 kB / 482 MB, free: 11.7 MB / 410.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check): time 0.00157/0.001593, allocations: 0.7904 MB / 482.8 MB, free: 11.25 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001611/0.003204, allocations: 1.494 MB / 484.3 MB, free: 10.21 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.242e-05/0.003247, allocations: 3.781 kB / 484.3 MB, free: 10.21 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 2.902e-05/0.003276, allocations: 3.938 kB / 484.3 MB, free: 10.2 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 5.113e-05/0.003327, allocations: 5.062 kB / 484.3 MB, free: 10.2 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005228/0.00385, allocations: 145 kB / 484.5 MB, free: 10.13 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 7.94e-05/0.003929, allocations: 50.59 kB / 484.5 MB, free: 10.12 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.844e-05/0.003967, allocations: 1.875 kB / 484.5 MB, free: 10.12 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.882e-05/0.004066, allocations: 38.48 kB / 484.6 MB, free: 10.11 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.822e-05/0.004115, allocations: 27.27 kB / 484.6 MB, free: 10.1 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.835e-05/0.004133, allocations: 3.812 kB / 484.6 MB, free: 10.1 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003047/0.004438, allocations: 257.3 kB / 484.8 MB, free: 10.03 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 2.189e-05/0.004459, allocations: 10.33 kB / 484.9 MB, free: 10.03 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 2.768e-05/0.004487, allocations: 23.02 kB / 484.9 MB, free: 10.02 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003603/0.004847, allocations: 220.3 kB / 485.1 MB, free: 9.949 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.809e-06/0.004852, allocations: 0 / 485.1 MB, free: 9.949 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.884e-06/0.004854, allocations: 1.469 kB / 485.1 MB, free: 9.949 MB / 410.7 MB Notification: Performance of Transformations before backend: time 7.173e-06/0.004861, allocations: 1.094 kB / 485.1 MB, free: 9.949 MB / 410.7 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.0004583/0.00532, allocations: 421 kB / 485.5 MB, free: 9.543 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.441e-05/0.005364, allocations: 14.53 kB / 485.5 MB, free: 9.543 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002365/0.005601, allocations: 53.78 kB / 485.6 MB, free: 9.539 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.454e-05/0.005665, allocations: 123 kB / 485.7 MB, free: 9.398 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.036e-05/0.005685, allocations: 7.844 kB / 485.7 MB, free: 9.395 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.365e-05/0.005719, allocations: 11.88 kB / 485.7 MB, free: 9.391 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002079/0.005927, allocations: 147.8 kB / 485.9 MB, free: 9.273 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.368e-06/0.005936, allocations: 1.188 kB / 485.9 MB, free: 9.273 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.204e-05/0.005948, allocations: 2.375 kB / 485.9 MB, free: 9.273 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.102e-06/0.005955, allocations: 5.031 kB / 485.9 MB, free: 9.27 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.088e-05/0.006005, allocations: 31.08 kB / 485.9 MB, free: 9.266 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003581/0.006363, allocations: 304.2 kB / 486.2 MB, free: 9 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000132/0.006496, allocations: 74.94 kB / 486.3 MB, free: 8.957 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.075e-05/0.006526, allocations: 25.12 kB / 486.3 MB, free: 8.941 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.565e-05/0.006542, allocations: 1.375 kB / 486.3 MB, free: 8.941 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.013e-05/0.006562, allocations: 37.14 kB / 486.3 MB, free: 8.898 MB / 410.7 MB Notification: Performance of pre-optimization done (n=7): time 2.364e-06/0.006564, allocations: 0 / 486.3 MB, free: 8.898 MB / 410.7 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.006769/0.01333, allocations: 1.884 MB / 488.2 MB, free: 8.492 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.189e-05/0.01336, allocations: 53.44 kB / 488.3 MB, free: 8.43 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002556/0.01361, allocations: 161.5 kB / 488.4 MB, free: 24.26 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 3.367e-05/0.01364, allocations: 28.11 kB / 488.4 MB, free: 24.23 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.855e-05/0.01369, allocations: 136.3 kB / 488.6 MB, free: 24.09 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.896e-05/0.01374, allocations: 43.41 kB / 488.6 MB, free: 24.06 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001125/0.01385, allocations: 79.38 kB / 488.7 MB, free: 24.03 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.000125/0.01398, allocations: 0.4904 MB / 489.2 MB, free: 23.53 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001623/0.01414, allocations: 120.1 kB / 489.3 MB, free: 23.52 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001599/0.0143, allocations: 118.4 kB / 489.4 MB, free: 23.52 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003594/0.01466, allocations: 250.7 kB / 489.7 MB, free: 23.48 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.724e-06/0.01466, allocations: 1.438 kB / 489.7 MB, free: 23.48 MB / 426.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0005033/0.01517, allocations: 337.3 kB / 490 MB, free: 23.43 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.024e-05/0.01519, allocations: 5.625 kB / 490 MB, free: 23.43 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.654e-06/0.01519, allocations: 2.312 kB / 490 MB, free: 23.43 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.51e-05/0.01521, allocations: 0 / 490 MB, free: 23.43 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003694/0.01558, allocations: 97.58 kB / 490.1 MB, free: 23.42 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.43e-06/0.01558, allocations: 1.844 kB / 490.1 MB, free: 23.42 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002183/0.0158, allocations: 30.59 kB / 490.1 MB, free: 23.42 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.295e-05/0.01584, allocations: 20.73 kB / 490.2 MB, free: 23.42 MB / 426.7 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.0001402/0.01598, allocations: 167 kB / 490.3 MB, free: 23.25 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.844e-05/0.01605, allocations: 8.297 kB / 490.3 MB, free: 23.25 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.91e-05/0.0161, allocations: 13.09 kB / 490.3 MB, free: 23.24 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.086e-06/0.01611, allocations: 1.594 kB / 490.3 MB, free: 23.24 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.168e-06/0.01611, allocations: 1.094 kB / 490.3 MB, free: 23.24 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.017e-06/0.01611, allocations: 0.9062 kB / 490.3 MB, free: 23.24 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008853/0.017, allocations: 0.8277 MB / 491.2 MB, free: 22.66 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.445e-06/0.017, allocations: 0.7188 kB / 491.2 MB, free: 22.66 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000332/0.01733, allocations: 97.41 kB / 491.3 MB, free: 22.65 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.378e-06/0.01734, allocations: 3.469 kB / 491.3 MB, free: 22.65 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.273e-05/0.01737, allocations: 25.2 kB / 491.3 MB, free: 22.65 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.246e-06/0.01737, allocations: 1 kB / 491.3 MB, free: 22.65 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.463e-06/0.01738, allocations: 3.938 kB / 491.3 MB, free: 22.64 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007496/0.01813, allocations: 0.5851 MB / 491.9 MB, free: 22.42 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.303e-05/0.01822, allocations: 39.14 kB / 491.9 MB, free: 22.41 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.598e-05/0.01825, allocations: 1.188 kB / 491.9 MB, free: 22.41 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002536/0.01851, allocations: 32.36 kB / 492 MB, free: 22.41 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.146e-05/0.01857, allocations: 29.08 kB / 492 MB, free: 22.41 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.66e-05/0.01861, allocations: 22.78 kB / 492 MB, free: 22.41 MB / 426.7 MB Notification: Performance of sorting global known variables: time 4.981e-05/0.01866, allocations: 121.9 kB / 492.1 MB, free: 22.29 MB / 426.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01866, allocations: 0 / 492.1 MB, free: 22.29 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0002907/0.01895, allocations: 52.56 kB / 492.2 MB, free: 22.29 MB / 426.7 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.000167/0.01911, allocations: 112.3 kB / 492.3 MB, free: 22.19 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0004009/0.01951, allocations: 296.8 kB / 492.6 MB, free: 22.16 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.454e-06/0.01952, allocations: 1.219 kB / 492.6 MB, free: 22.16 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002205/0.01974, allocations: 159.5 kB / 492.7 MB, free: 22.15 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002254/0.01996, allocations: 36.52 kB / 492.8 MB, free: 22.14 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00166/0.02162, allocations: 0.6013 MB / 493.4 MB, free: 21.98 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.087e-05/0.02165, allocations: 62.89 kB / 493.4 MB, free: 21.91 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0002977/0.02195, allocations: 90.22 kB / 493.5 MB, free: 21.88 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002839/0.02224, allocations: 129.1 kB / 493.6 MB, free: 21.81 MB / 426.7 MB Notification: Performance of SimCode: time 8.82e-07/0.02224, allocations: 0 / 493.6 MB, free: 21.81 MB / 426.7 MB Notification: Performance of Templates: time 0.008032/0.03027, allocations: 3.854 MB / 497.5 MB, free: 21.48 MB / 426.7 MB " [Timeout remaining time 660] make -j1 -f IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.makefile [Timeout 660] (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=240 -lv LOG_STATS > IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.570538398809731]