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/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 3.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 IBPSA with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 3.0.0-master/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) 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/Complex 4.0.0+maint.om/package.mo): time 0.001397/0.001397, allocations: 173.1 kB / 16.76 MB, free: 4.941 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 3.0.0-master/package.mo): time 0.4893/0.4893, allocations: 86.28 MB / 103.8 MB, free: 14.55 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.437/1.437, allocations: 223.3 MB / 348.4 MB, free: 4.887 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008343/0.0008344, allocations: 104.3 kB / 420.2 MB, free: 9.613 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006346/0.0006348, allocations: 16 kB / 0.4901 GB, free: 7.945 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3648/0.3655, allocations: 71.01 MB / 0.5595 GB, free: 43.69 MB / 410.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.128/0.4935, allocations: 101.7 MB / 0.6587 GB, free: 7.801 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002896/0.4938, allocations: 83.94 kB / 0.6588 GB, free: 7.719 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01704/0.5109, allocations: 5.537 MB / 0.6642 GB, free: 2.184 MB / 474.7 MB Notification: Performance of FrontEnd: time 4.228e-06/0.511, allocations: 0 / 0.6642 GB, free: 2.184 MB / 474.7 MB Notification: Performance of Transformations before backend: time 1.037e-05/0.511, allocations: 3.938 kB / 0.6642 GB, free: 2.18 MB / 474.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.0005504/0.5115, allocations: 399.2 kB / 0.6646 GB, free: 1.738 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.508e-05/0.5116, allocations: 12.03 kB / 0.6646 GB, free: 1.727 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003673/0.512, allocations: 68.78 kB / 0.6647 GB, free: 1.66 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001184/0.5121, allocations: 164.4 kB / 0.6649 GB, free: 1.461 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.577e-05/0.5121, allocations: 12.38 kB / 0.6649 GB, free: 1.449 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.37e-05/0.5122, allocations: 8.375 kB / 0.6649 GB, free: 1.441 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000354/0.5125, allocations: 118.2 kB / 0.665 GB, free: 1.32 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.354e-05/0.5126, allocations: 192 / 0.665 GB, free: 1.32 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.682e-05/0.5126, allocations: 3.938 kB / 0.665 GB, free: 1.316 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.871e-06/0.5126, allocations: 0 / 0.665 GB, free: 1.316 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004423/0.5131, allocations: 131.8 kB / 0.6651 GB, free: 1.188 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005855/0.5137, allocations: 344.6 kB / 0.6654 GB, free: 0.8008 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005939/0.5143, allocations: 186.3 kB / 0.6656 GB, free: 0.6094 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002175/0.5145, allocations: 68.81 kB / 0.6657 GB, free: 0.5391 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.002e-05/0.5145, allocations: 3.984 kB / 0.6657 GB, free: 0.5352 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.771e-05/0.5146, allocations: 38.55 kB / 0.6657 GB, free: 500 kB / 474.7 MB Notification: Performance of pre-optimization done (n=7): time 1.473e-06/0.5146, allocations: 3.938 kB / 0.6657 GB, free: 496 kB / 474.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.017/0.5316, allocations: 3.174 MB / 0.6688 GB, free: 13.21 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.206e-05/0.5317, allocations: 51.41 kB / 0.6689 GB, free: 13.15 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.878e-05/0.5318, allocations: 101.8 kB / 0.669 GB, free: 13.04 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 5.171e-05/0.5318, allocations: 33.7 kB / 0.669 GB, free: 13 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.813e-05/0.5319, allocations: 80.14 kB / 0.6691 GB, free: 12.92 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.441e-05/0.5319, allocations: 47.44 kB / 0.6691 GB, free: 12.88 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.229e-05/0.532, allocations: 4 kB / 0.6691 GB, free: 12.87 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001001/0.5321, allocations: 314.8 kB / 0.6694 GB, free: 12.55 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006633/0.5327, allocations: 219.7 kB / 0.6696 GB, free: 12.34 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006173/0.5334, allocations: 211.8 kB / 0.6698 GB, free: 12.13 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001256/0.5346, allocations: 450.8 kB / 0.6703 GB, free: 11.69 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.422e-06/0.5347, allocations: 4 kB / 0.6703 GB, free: 11.69 MB / 490.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.001441/0.5361, allocations: 0.5168 MB / 0.6708 GB, free: 11.16 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.113e-05/0.5362, allocations: 8 kB / 0.6708 GB, free: 11.16 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.174e-05/0.5362, allocations: 4 kB / 0.6708 GB, free: 11.15 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.916e-05/0.5362, allocations: 0 / 0.6708 GB, free: 11.15 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008152/0.537, allocations: 123.7 kB / 0.6709 GB, free: 11.03 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.696e-06/0.537, allocations: 0 / 0.6709 GB, free: 11.03 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005617/0.5376, allocations: 67.88 kB / 0.671 GB, free: 10.96 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.195e-05/0.5377, allocations: 19.94 kB / 0.671 GB, free: 10.95 MB / 490.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001566/0.5378, allocations: 113.8 kB / 0.6711 GB, free: 10.82 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.426e-05/0.5379, allocations: 11.91 kB / 0.6711 GB, free: 10.81 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.977e-05/0.538, allocations: 15.95 kB / 0.6711 GB, free: 10.79 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.276e-06/0.538, allocations: 0 / 0.6711 GB, free: 10.79 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.308e-06/0.538, allocations: 4 kB / 0.6711 GB, free: 10.79 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.079e-06/0.538, allocations: 3.938 kB / 0.6711 GB, free: 10.78 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002127/0.5402, allocations: 1.098 MB / 0.6722 GB, free: 9.574 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.805e-06/0.5402, allocations: 0 / 0.6722 GB, free: 9.574 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007854/0.541, allocations: 119.8 kB / 0.6723 GB, free: 9.457 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.699e-06/0.541, allocations: 0 / 0.6723 GB, free: 9.457 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.44e-05/0.541, allocations: 27.88 kB / 0.6724 GB, free: 9.43 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.384e-06/0.5411, allocations: 0 / 0.6724 GB, free: 9.43 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.245e-06/0.5411, allocations: 96 / 0.6724 GB, free: 9.43 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002226/0.5433, allocations: 0.8698 MB / 0.6732 GB, free: 8.543 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001455/0.5435, allocations: 121 kB / 0.6733 GB, free: 8.406 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.021e-05/0.5435, allocations: 3.938 kB / 0.6733 GB, free: 8.402 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006248/0.5442, allocations: 64 kB / 0.6734 GB, free: 8.34 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.821e-05/0.5443, allocations: 27.92 kB / 0.6734 GB, free: 8.312 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.95e-05/0.5443, allocations: 27.92 kB / 0.6734 GB, free: 8.285 MB / 490.7 MB Notification: Performance of sorting global known variables: time 4.642e-05/0.5444, allocations: 79.28 kB / 0.6735 GB, free: 8.207 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.5444, allocations: 0 / 0.6735 GB, free: 8.207 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0003977/0.5448, allocations: 63.94 kB / 0.6736 GB, free: 8.145 MB / 490.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002327/0.545, allocations: 116 kB / 0.6737 GB, free: 8.023 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.001379/0.5464, allocations: 477.3 kB / 0.6741 GB, free: 7.559 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 3.176e-06/0.5464, allocations: 0 / 0.6741 GB, free: 7.559 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006779/0.5471, allocations: 251.7 kB / 0.6744 GB, free: 7.312 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003453/0.5475, allocations: 9.891 kB / 0.6744 GB, free: 7.305 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003981/0.5515, allocations: 0.8659 MB / 0.6752 GB, free: 6.406 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002546/0.5517, allocations: 0.697 MB / 0.6759 GB, free: 5.684 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.0006879/0.5524, allocations: 100.6 kB / 0.676 GB, free: 5.586 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002506/0.5527, allocations: 51.31 kB / 0.6761 GB, free: 5.535 MB / 490.7 MB Notification: Performance of SimCode: time 7.22e-07/0.5527, allocations: 0 / 0.6761 GB, free: 5.535 MB / 490.7 MB Notification: Performance of Templates: time 0.006776/0.5595, allocations: 3.258 MB / 0.6792 GB, free: 2.27 MB / 490.7 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)