Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.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 4.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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.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.InverseXDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.InverseXDerivativeCheck") translateModel(IBPSA.Utilities.Math.Functions.Examples.InverseXDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.InverseXDerivativeCheck") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008912/0.0008912, allocations: 181.4 kB / 8.009 MB, free: 1.066 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.4749/0.4749, allocations: 90.91 MB / 99.34 MB, free: 2.199 MB / 74.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.302/1.302, allocations: 221.5 MB / 343.2 MB, free: 1.605 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008737/0.0008737, allocations: 96.92 kB / 415.9 MB, free: 11.16 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 1.817e-05/1.82e-05, allocations: 8 kB / 494.5 MB, free: 52.39 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1129/0.1129, allocations: 72.33 MB / 0.5535 GB, free: 12.25 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3885/0.5015, allocations: 101.6 MB / 0.6527 GB, free: 8.691 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002296/0.5018, allocations: 78.33 kB / 0.6528 GB, free: 8.648 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01175/0.5136, allocations: 4.088 MB / 0.6568 GB, free: 5.199 MB / 458.7 MB Notification: Performance of FrontEnd: time 1.533e-06/0.5136, allocations: 0 / 0.6568 GB, free: 5.199 MB / 458.7 MB Notification: Performance of Transformations before backend: time 6.713e-06/0.5136, allocations: 0 / 0.6568 GB, free: 5.199 MB / 458.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0003759/0.514, allocations: 362.2 kB / 0.6571 GB, free: 4.805 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.068e-05/0.514, allocations: 12.03 kB / 0.6572 GB, free: 4.793 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003734/0.5144, allocations: 71.78 kB / 0.6572 GB, free: 4.723 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001284/0.5146, allocations: 166.5 kB / 0.6574 GB, free: 4.523 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.777e-05/0.5146, allocations: 4 kB / 0.6574 GB, free: 4.52 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.717e-05/0.5146, allocations: 7.984 kB / 0.6574 GB, free: 4.512 MB / 458.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.038e-05/0.5147, allocations: 15.44 kB / 0.6574 GB, free: 4.5 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001035/0.5148, allocations: 53.34 kB / 0.6575 GB, free: 4.445 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.784e-06/0.5148, allocations: 0 / 0.6575 GB, free: 4.445 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.249e-05/0.5149, allocations: 0 / 0.6575 GB, free: 4.445 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.77e-06/0.5149, allocations: 3.953 kB / 0.6575 GB, free: 4.441 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001638/0.515, allocations: 141 kB / 0.6576 GB, free: 4.27 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002219/0.5153, allocations: 55.55 kB / 0.6576 GB, free: 4.215 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.745e-05/0.5153, allocations: 23.78 kB / 0.6577 GB, free: 4.191 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.896e-05/0.5154, allocations: 4 kB / 0.6577 GB, free: 4.188 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.503e-05/0.5154, allocations: 35.09 kB / 0.6577 GB, free: 4.145 MB / 458.7 MB Notification: Performance of pre-optimization done (n=4): time 1.132e-06/0.5154, allocations: 0 / 0.6577 GB, free: 4.145 MB / 458.7 MB Notification: Performance of matching and sorting (n=5): time 0.001257/0.5167, allocations: 427.8 kB / 0.6581 GB, free: 3.695 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.661e-05/0.5167, allocations: 51.41 kB / 0.6582 GB, free: 3.633 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.524e-05/0.5168, allocations: 92.44 kB / 0.6583 GB, free: 3.539 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 2.016e-05/0.5168, allocations: 25.7 kB / 0.6583 GB, free: 3.508 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.673e-05/0.5169, allocations: 84.27 kB / 0.6584 GB, free: 3.422 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.956e-05/0.5169, allocations: 19.73 kB / 0.6584 GB, free: 3.402 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.204e-06/0.5169, allocations: 0 / 0.6584 GB, free: 3.402 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 8.837e-05/0.517, allocations: 317.4 kB / 0.6587 GB, free: 3.086 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.204e-05/0.517, allocations: 11.25 kB / 0.6587 GB, free: 3.078 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.55e-05/0.5171, allocations: 15.12 kB / 0.6587 GB, free: 3.066 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000263/0.5173, allocations: 67.73 kB / 0.6588 GB, free: 3.008 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.22e-07/0.5173, allocations: 0 / 0.6588 GB, free: 3.008 MB / 458.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0003342/0.5177, allocations: 115.9 kB / 0.6589 GB, free: 2.898 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.496e-05/0.5177, allocations: 15.94 kB / 0.6589 GB, free: 2.883 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.38e-06/0.5177, allocations: 0 / 0.6589 GB, free: 2.883 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.307e-05/0.5177, allocations: 256 / 0.6589 GB, free: 2.883 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000156/0.5179, allocations: 27.97 kB / 0.6589 GB, free: 2.855 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.402e-06/0.5179, allocations: 4 kB / 0.6589 GB, free: 2.852 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.882e-05/0.518, allocations: 15.98 kB / 0.6589 GB, free: 2.836 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.027e-05/0.518, allocations: 4 kB / 0.6589 GB, free: 2.832 MB / 458.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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (6): * Single equations (assignments): 6 * 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 7.043e-05/0.5181, allocations: 104.9 kB / 0.659 GB, free: 2.723 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.508e-05/0.5181, allocations: 4 kB / 0.659 GB, free: 2.719 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004135/0.5186, allocations: 135 kB / 0.6592 GB, free: 2.602 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.17e-06/0.5186, allocations: 0 / 0.6592 GB, free: 2.602 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.747e-06/0.5186, allocations: 3.938 kB / 0.6592 GB, free: 2.598 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.707e-06/0.5186, allocations: 4 kB / 0.6592 GB, free: 2.594 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001093/0.5187, allocations: 149.7 kB / 0.6593 GB, free: 2.414 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.393e-06/0.5187, allocations: 0 / 0.6593 GB, free: 2.414 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001498/0.5189, allocations: 23.97 kB / 0.6593 GB, free: 2.391 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.606e-06/0.5189, allocations: 4 kB / 0.6594 GB, free: 2.387 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.014e-05/0.5189, allocations: 3.938 kB / 0.6594 GB, free: 2.383 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.353e-06/0.5189, allocations: 0 / 0.6594 GB, free: 2.383 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.104e-06/0.5189, allocations: 0 / 0.6594 GB, free: 2.383 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004154/0.5193, allocations: 166 kB / 0.6595 GB, free: 2.223 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.51e-05/0.5194, allocations: 89.03 kB / 0.6596 GB, free: 2.117 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.107e-05/0.5195, allocations: 64 / 0.6596 GB, free: 2.117 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001241/0.5196, allocations: 15.98 kB / 0.6596 GB, free: 2.102 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.635e-05/0.5196, allocations: 12.11 kB / 0.6596 GB, free: 2.094 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.368e-06/0.5196, allocations: 4 kB / 0.6596 GB, free: 2.09 MB / 458.7 MB Notification: Performance of sorting global known variables: time 3.279e-05/0.5197, allocations: 79.22 kB / 0.6597 GB, free: 2.012 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.31e-07/0.5197, allocations: 0 / 0.6597 GB, free: 2.012 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0002361/0.5199, allocations: 43.92 kB / 0.6597 GB, free: 1.969 MB / 458.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (y_comp) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 6 * 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.0002238/0.5202, allocations: 143.2 kB / 0.6599 GB, free: 1.816 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.0001159/0.5203, allocations: 34.5 kB / 0.6599 GB, free: 1.793 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 2.375e-06/0.5203, allocations: 0 / 0.6599 GB, free: 1.793 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 4.164e-05/0.5203, allocations: 27.11 kB / 0.6599 GB, free: 1.77 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001172/0.5205, allocations: 3.938 kB / 0.6599 GB, free: 1.766 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004659/0.5209, allocations: 128.8 kB / 0.6601 GB, free: 1.625 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000273/0.5212, allocations: 0.6807 MB / 0.6607 GB, free: 0.918 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.0001171/0.5213, allocations: 15.98 kB / 0.6607 GB, free: 0.9023 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.58e-05/0.5214, allocations: 19.44 kB / 0.6608 GB, free: 0.8828 MB / 458.7 MB Notification: Performance of SimCode: time 7.11e-07/0.5214, allocations: 0 / 0.6608 GB, free: 0.8828 MB / 458.7 MB Notification: Performance of Templates: time 0.003095/0.5245, allocations: 1.046 MB / 0.6618 GB, free: 15.86 MB / 474.7 MB make -j1 -f IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.makefile (rm -f IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.sim & ./IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.InverseXDerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.pipe 2>&1)