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.001159/0.001159, allocations: 108 kB / 16.41 MB, free: 6.039 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.001247/0.001247, allocations: 191.9 kB / 17.34 MB, free: 5.629 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.399/1.399, 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.801/0.801, allocations: 122.9 MB / 414.1 MB, free: 15.76 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001179/0.001179, allocations: 67.38 kB / 0.5685 GB, free: 28.68 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1669/0.1681, allocations: 77.93 MB / 0.6446 GB, free: 8.949 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check): time 0.001785/0.17, allocations: 0.7652 MB / 0.6454 GB, free: 8.188 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.00182/0.1718, allocations: 1.479 MB / 0.6468 GB, free: 6.691 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.948e-05/0.1718, allocations: 0 / 0.6468 GB, free: 6.691 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 3.621e-05/0.1719, allocations: 3.938 kB / 0.6468 GB, free: 6.688 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 4.841e-05/0.1719, allocations: 3.938 kB / 0.6468 GB, free: 6.684 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005333/0.1725, allocations: 147.4 kB / 0.647 GB, free: 6.539 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 9.888e-05/0.1726, allocations: 47.95 kB / 0.647 GB, free: 6.492 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.671e-05/0.1726, allocations: 3.984 kB / 0.647 GB, free: 6.488 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.817e-05/0.1727, allocations: 27.92 kB / 0.647 GB, free: 6.461 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.167e-05/0.1728, allocations: 35.84 kB / 0.6471 GB, free: 6.426 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 2.167e-05/0.1728, allocations: 7.938 kB / 0.6471 GB, free: 6.418 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004473/0.1733, allocations: 323.3 kB / 0.6474 GB, free: 6.102 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 2.356e-05/0.1733, allocations: 7.984 kB / 0.6474 GB, free: 6.094 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 3.949e-05/0.1734, allocations: 31.84 kB / 0.6474 GB, free: 6.062 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003297/0.1737, allocations: 207.4 kB / 0.6476 GB, free: 5.859 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.524e-06/0.1737, allocations: 4 kB / 0.6476 GB, free: 5.855 MB / 494.1 MB Notification: Performance of FrontEnd: time 2.064e-06/0.1737, allocations: 0 / 0.6476 GB, free: 5.855 MB / 494.1 MB Notification: Performance of Transformations before backend: time 6.121e-06/0.1737, allocations: 0 / 0.6476 GB, free: 5.855 MB / 494.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.0006918/0.1744, allocations: 404.8 kB / 0.648 GB, free: 5.414 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.112e-05/0.1745, allocations: 12.61 kB / 0.648 GB, free: 5.402 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004428/0.1749, allocations: 68.81 kB / 0.6481 GB, free: 5.336 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001172/0.1751, allocations: 176.3 kB / 0.6483 GB, free: 5.125 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.182e-05/0.1751, allocations: 12.38 kB / 0.6483 GB, free: 5.113 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.467e-05/0.1751, allocations: 8.312 kB / 0.6483 GB, free: 5.105 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003695/0.1755, allocations: 113.9 kB / 0.6484 GB, free: 4.988 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.272e-05/0.1755, allocations: 0 / 0.6484 GB, free: 4.988 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.505e-05/0.1755, allocations: 3.938 kB / 0.6484 GB, free: 4.984 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.763e-06/0.1756, allocations: 4 kB / 0.6484 GB, free: 4.98 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004685/0.176, allocations: 99.89 kB / 0.6485 GB, free: 4.883 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005605/0.1766, allocations: 340.7 kB / 0.6488 GB, free: 4.5 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006416/0.1773, allocations: 154.4 kB / 0.649 GB, free: 4.34 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002277/0.1775, allocations: 48.81 kB / 0.649 GB, free: 4.289 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.127e-05/0.1775, allocations: 15.98 kB / 0.649 GB, free: 4.273 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.448e-05/0.1776, allocations: 30.56 kB / 0.649 GB, free: 4.234 MB / 494.1 MB Notification: Performance of pre-optimization done (n=7): time 1.242e-06/0.1776, allocations: 0 / 0.649 GB, free: 4.234 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.01764/0.1952, allocations: 2.83 MB / 0.6518 GB, free: 1.309 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.639e-05/0.1953, allocations: 67.27 kB / 0.6519 GB, free: 1.23 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.91e-05/0.1954, allocations: 101.9 kB / 0.652 GB, free: 1.121 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 4.325e-05/0.1954, allocations: 29.7 kB / 0.652 GB, free: 1.086 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.89e-05/0.1955, allocations: 96.05 kB / 0.6521 GB, free: 0.9883 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.344e-05/0.1956, allocations: 35.66 kB / 0.6521 GB, free: 0.9531 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001711/0.1957, allocations: 69.58 kB / 0.6522 GB, free: 0.8789 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 9.946e-05/0.1958, allocations: 318.8 kB / 0.6525 GB, free: 0.5586 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006564/0.1965, allocations: 191.8 kB / 0.6527 GB, free: 380 kB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006457/0.1972, allocations: 198.8 kB / 0.6529 GB, free: 184 kB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001359/0.1985, allocations: 384.5 kB / 0.6532 GB, free: 15.8 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.122e-06/0.1985, allocations: 0 / 0.6532 GB, free: 15.8 MB / 0.4981 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.001534/0.2001, allocations: 485.2 kB / 0.6537 GB, free: 15.32 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.116e-05/0.2001, allocations: 7.984 kB / 0.6537 GB, free: 15.31 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.635e-06/0.2001, allocations: 4 kB / 0.6537 GB, free: 15.31 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.642e-05/0.2002, allocations: 0 / 0.6537 GB, free: 15.31 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007896/0.2009, allocations: 103.8 kB / 0.6538 GB, free: 15.21 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.949e-06/0.201, allocations: 4.406 kB / 0.6538 GB, free: 15.2 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005672/0.2015, allocations: 51.94 kB / 0.6539 GB, free: 15.15 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.648e-05/0.2016, allocations: 19.94 kB / 0.6539 GB, free: 15.13 MB / 0.4981 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.0001472/0.2018, allocations: 118.7 kB / 0.654 GB, free: 15.01 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.768e-05/0.2018, allocations: 7.984 kB / 0.654 GB, free: 15 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.322e-05/0.2019, allocations: 11.97 kB / 0.654 GB, free: 14.98 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.549e-06/0.2019, allocations: 4 kB / 0.654 GB, free: 14.98 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.183e-06/0.2019, allocations: 3.938 kB / 0.654 GB, free: 14.97 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.108e-06/0.2019, allocations: 0 / 0.654 GB, free: 14.97 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002142/0.2041, allocations: 1.051 MB / 0.655 GB, free: 13.82 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.178e-06/0.2041, allocations: 3.984 kB / 0.6551 GB, free: 13.81 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007617/0.2049, allocations: 111.7 kB / 0.6552 GB, free: 13.7 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.29e-06/0.2049, allocations: 3.938 kB / 0.6552 GB, free: 13.7 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.233e-05/0.2049, allocations: 19.94 kB / 0.6552 GB, free: 13.68 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.864e-06/0.205, allocations: 0 / 0.6552 GB, free: 13.68 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.413e-06/0.205, allocations: 0 / 0.6552 GB, free: 13.68 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002277/0.2072, allocations: 0.7995 MB / 0.656 GB, free: 12.86 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001344/0.2074, allocations: 117 kB / 0.6561 GB, free: 12.73 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.467e-05/0.2075, allocations: 4 kB / 0.6561 GB, free: 12.73 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006274/0.2081, allocations: 48 kB / 0.6561 GB, free: 12.68 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.082e-05/0.2082, allocations: 23.92 kB / 0.6561 GB, free: 12.66 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.746e-05/0.2083, allocations: 28.02 kB / 0.6562 GB, free: 12.63 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 5.136e-05/0.2083, allocations: 87.22 kB / 0.6563 GB, free: 12.54 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.703e-06/0.2083, allocations: 0 / 0.6563 GB, free: 12.54 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0004016/0.2087, allocations: 59.88 kB / 0.6563 GB, free: 12.48 MB / 0.4981 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.0002476/0.209, allocations: 111.2 kB / 0.6564 GB, free: 12.37 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.00146/0.2105, allocations: 418 kB / 0.6568 GB, free: 11.96 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 4.258e-06/0.2105, allocations: 0 / 0.6568 GB, free: 11.96 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0006991/0.2112, allocations: 231.6 kB / 0.657 GB, free: 11.73 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004393/0.2116, allocations: 16.25 kB / 0.6571 GB, free: 11.72 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003964/0.2156, allocations: 0.7515 MB / 0.6578 GB, free: 10.94 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000219/0.2158, allocations: 0.6924 MB / 0.6585 GB, free: 10.22 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0005253/0.2164, allocations: 96.64 kB / 0.6586 GB, free: 10.13 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002514/0.2166, allocations: 51.31 kB / 0.6586 GB, free: 10.08 MB / 0.4981 GB Notification: Performance of SimCode: time 6.41e-07/0.2166, allocations: 0 / 0.6586 GB, free: 10.08 MB / 0.4981 GB Notification: Performance of Templates: time 0.005871/0.2225, allocations: 3.482 MB / 0.662 GB, free: 6.594 MB / 0.4981 GB 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)