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.0007365/0.0007365, allocations: 85.05 kB / 9.985 MB, free: 0.7031 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009439/0.00168, allocations: 452 kB / 10.43 MB, free: 268 kB / 10.45 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.0007023/0.0007023, allocations: 161.1 kB / 11.33 MB, free: 2.84 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009187/0.001621, allocations: 483.5 kB / 11.8 MB, free: 2.363 MB / 13.93 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.9943/0.9943, allocations: 177.2 MB / 189.7 MB, free: 5.254 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1147/1.109, allocations: 53.67 MB / 243.4 MB, free: 15.5 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7416/0.7416, allocations: 120.1 MB / 364.2 MB, free: 2.547 MB / 346.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.07183/0.8134, allocations: 38.17 MB / 402.4 MB, free: 12.25 MB / 394.7 MB " [Timeout remaining time 179] 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.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.513e-06/1.513e-06, allocations: 0 / 403.8 MB, free: 10.87 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.798e-05/1.95e-05, allocations: 2.312 kB / 403.8 MB, free: 10.86 MB / 394.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check): time 0.001284/0.001303, allocations: 0.8425 MB / 404.6 MB, free: 10.02 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.001293/0.002596, allocations: 1.501 MB / 406.1 MB, free: 8.5 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.512e-05/0.002621, allocations: 0 / 406.1 MB, free: 8.5 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 2.147e-05/0.002643, allocations: 3.938 kB / 406.1 MB, free: 8.496 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 2.131e-05/0.002664, allocations: 3.938 kB / 406.1 MB, free: 8.492 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002966/0.002961, allocations: 143.4 kB / 406.3 MB, free: 8.352 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 7.611e-05/0.003037, allocations: 51.84 kB / 406.3 MB, free: 8.301 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.859e-05/0.003075, allocations: 11.97 kB / 406.3 MB, free: 8.289 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001041/0.003179, allocations: 39.95 kB / 406.4 MB, free: 8.25 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.748e-05/0.003227, allocations: 19.91 kB / 406.4 MB, free: 8.23 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 1.687e-05/0.003244, allocations: 12 kB / 406.4 MB, free: 8.219 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002749/0.003519, allocations: 259.5 kB / 406.7 MB, free: 7.965 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 1.807e-05/0.003537, allocations: 8 kB / 406.7 MB, free: 7.957 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 1.995e-05/0.003557, allocations: 15.94 kB / 406.7 MB, free: 7.941 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004642/0.004021, allocations: 183.5 kB / 406.9 MB, free: 7.762 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.06e-05/0.004032, allocations: 0 / 406.9 MB, free: 7.762 MB / 394.7 MB Notification: Performance of FrontEnd: time 5.61e-07/0.004032, allocations: 4 kB / 406.9 MB, free: 7.758 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.009e-05/0.004042, allocations: 0 / 406.9 MB, free: 7.758 MB / 394.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.0004108/0.004453, allocations: 312.1 kB / 407.2 MB, free: 7.43 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.936e-05/0.004482, allocations: 8.031 kB / 407.2 MB, free: 7.422 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002319/0.004714, allocations: 141.9 kB / 407.3 MB, free: 7.266 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.366e-05/0.004788, allocations: 113.7 kB / 407.4 MB, free: 7.129 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.594e-05/0.004804, allocations: 384 / 407.4 MB, free: 7.129 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.358e-05/0.004827, allocations: 20.31 kB / 407.5 MB, free: 7.109 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001674/0.004995, allocations: 146.3 kB / 407.6 MB, free: 6.945 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.428e-06/0.005004, allocations: 192 / 407.6 MB, free: 6.945 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.112e-05/0.005015, allocations: 8.359 kB / 407.6 MB, free: 6.938 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.514e-06/0.005023, allocations: 7.938 kB / 407.6 MB, free: 6.93 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.997e-05/0.005063, allocations: 19.94 kB / 407.6 MB, free: 6.91 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002801/0.005343, allocations: 200.2 kB / 407.8 MB, free: 6.699 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001078/0.005451, allocations: 66.53 kB / 407.9 MB, free: 6.625 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.002e-05/0.005471, allocations: 24.73 kB / 407.9 MB, free: 6.598 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.168e-05/0.005482, allocations: 3.938 kB / 407.9 MB, free: 6.594 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.018e-05/0.005503, allocations: 38.56 kB / 408 MB, free: 6.547 MB / 394.7 MB Notification: Performance of pre-optimization done (n=7): time 9.52e-07/0.005504, allocations: 0 / 408 MB, free: 6.547 MB / 394.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.007294/0.0128, allocations: 2.176 MB / 410.1 MB, free: 4.312 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.543e-05/0.01282, allocations: 51.41 kB / 410.2 MB, free: 4.25 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.038e-05/0.01287, allocations: 106.7 kB / 410.3 MB, free: 4.133 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 3.576e-05/0.01291, allocations: 33.7 kB / 410.3 MB, free: 4.094 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.559e-05/0.01293, allocations: 80.14 kB / 410.4 MB, free: 4.012 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.969e-05/0.01298, allocations: 43.62 kB / 410.4 MB, free: 3.969 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.569e-05/0.01307, allocations: 57.58 kB / 410.5 MB, free: 3.906 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 6.699e-05/0.01314, allocations: 322.8 kB / 410.8 MB, free: 3.582 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001075/0.01324, allocations: 95.92 kB / 410.9 MB, free: 3.488 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001047/0.01335, allocations: 95.94 kB / 411 MB, free: 3.395 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002349/0.01358, allocations: 228.8 kB / 411.2 MB, free: 3.168 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.092e-06/0.01359, allocations: 3.938 kB / 411.2 MB, free: 3.164 MB / 394.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.000285/0.01387, allocations: 253.7 kB / 411.5 MB, free: 2.91 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.208e-05/0.01388, allocations: 4 kB / 411.5 MB, free: 2.906 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.891e-06/0.01389, allocations: 7.984 kB / 411.5 MB, free: 2.898 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.154e-05/0.0139, allocations: 0 / 411.5 MB, free: 2.898 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003586/0.01426, allocations: 123.7 kB / 411.6 MB, free: 2.777 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.388e-06/0.01426, allocations: 4 kB / 411.6 MB, free: 2.773 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001902/0.01445, allocations: 35.95 kB / 411.7 MB, free: 2.738 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.831e-05/0.01448, allocations: 15.94 kB / 411.7 MB, free: 2.723 MB / 394.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 9.392e-05/0.01458, allocations: 121.7 kB / 411.8 MB, free: 2.594 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.628e-05/0.01462, allocations: 4 kB / 411.8 MB, free: 2.59 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.167e-05/0.01465, allocations: 16.11 kB / 411.8 MB, free: 2.574 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.517e-06/0.01466, allocations: 4 kB / 411.8 MB, free: 2.57 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.52e-07/0.01466, allocations: 0 / 411.8 MB, free: 2.57 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.545e-06/0.01466, allocations: 0 / 411.8 MB, free: 2.57 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005285/0.01519, allocations: 466.5 kB / 412.3 MB, free: 2.09 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.924e-06/0.01519, allocations: 4 kB / 412.3 MB, free: 2.086 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003376/0.01553, allocations: 123.7 kB / 412.4 MB, free: 1.965 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.456e-05/0.01559, allocations: 27.89 kB / 412.4 MB, free: 1.938 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.813e-06/0.01559, allocations: 3.938 kB / 412.4 MB, free: 1.934 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.645e-05/0.01562, allocations: 19.92 kB / 412.4 MB, free: 1.914 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.014e-06/0.01562, allocations: 0 / 412.4 MB, free: 1.914 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.01562, allocations: 4 kB / 412.4 MB, free: 1.91 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004524/0.01608, allocations: 447.2 kB / 412.9 MB, free: 1.457 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.232e-05/0.01611, allocations: 7.938 kB / 412.9 MB, free: 1.449 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000218/0.01633, allocations: 31.95 kB / 412.9 MB, free: 1.418 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.567e-05/0.01638, allocations: 19.92 kB / 412.9 MB, free: 1.398 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.005e-05/0.01641, allocations: 23.94 kB / 413 MB, free: 1.375 MB / 394.7 MB Notification: Performance of sorting global known variables: time 1.142e-05/0.01642, allocations: 12.84 kB / 413 MB, free: 1.359 MB / 394.7 MB Notification: Performance of sort global known variables: time 8.1e-08/0.01642, allocations: 4.031 kB / 413 MB, free: 1.355 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0002013/0.01663, allocations: 51.94 kB / 413 MB, free: 1.305 MB / 394.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.0001437/0.01677, allocations: 92.34 kB / 413.1 MB, free: 1.203 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0002774/0.01705, allocations: 236.6 kB / 413.4 MB, free: 0.9688 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 9.067e-06/0.01706, allocations: 4 kB / 413.4 MB, free: 0.9648 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001483/0.0172, allocations: 144.6 kB / 413.5 MB, free: 0.8203 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001913/0.0174, allocations: 111.2 kB / 413.6 MB, free: 0.6992 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001735/0.01913, allocations: 0.5704 MB / 414.2 MB, free: 104 kB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.751e-05/0.01917, allocations: 63.34 kB / 414.2 MB, free: 20 kB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.000419/0.01959, allocations: 89.94 kB / 414.3 MB, free: 15.93 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003298/0.01992, allocations: 99.22 kB / 414.4 MB, free: 15.83 MB / 410.7 MB Notification: Performance of SimCode: time 1.002e-06/0.01992, allocations: 4 kB / 414.4 MB, free: 15.83 MB / 410.7 MB Notification: Performance of Templates: time 0.005727/0.02564, allocations: 3.89 MB / 418.3 MB, free: 11.91 MB / 410.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.4943191623315215]