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/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.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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001583/0.001583, allocations: 103 kB / 16.94 MB, free: 6.191 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.001365/0.001365, allocations: 189.3 kB / 17.86 MB, free: 5.293 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.417/1.417, allocations: 222.9 MB / 241.6 MB, free: 15.27 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.8005/0.8005, allocations: 125.4 MB / 417.1 MB, free: 13.6 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001934/0.001934, allocations: 67.89 kB / 0.4948 GB, free: 4.402 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.355/0.3569, allocations: 78.56 MB / 0.5715 GB, free: 31.38 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Functions.Examples.InverseXDerivativeCheck): time 0.001953/0.3589, allocations: 0.5885 MB / 0.5721 GB, free: 31.02 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001846/0.3608, allocations: 1.445 MB / 0.5735 GB, free: 29.97 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.836e-05/0.3608, allocations: 0.5625 kB / 0.5735 GB, free: 29.97 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 1.223e-05/0.3609, allocations: 0 / 0.5735 GB, free: 29.97 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 2.942e-05/0.3609, allocations: 0.7188 kB / 0.5735 GB, free: 29.97 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005324/0.3614, allocations: 141.2 kB / 0.5737 GB, free: 29.91 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 6.221e-05/0.3615, allocations: 30.88 kB / 0.5737 GB, free: 29.9 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.249e-05/0.3616, allocations: 1.797 kB / 0.5737 GB, free: 29.9 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.288e-05/0.3616, allocations: 25.41 kB / 0.5737 GB, free: 29.89 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.067e-05/0.3617, allocations: 25.81 kB / 0.5737 GB, free: 29.89 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.851e-05/0.3617, allocations: 2.219 kB / 0.5737 GB, free: 29.89 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005181/0.3622, allocations: 315.1 kB / 0.574 GB, free: 29.8 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 1.978e-05/0.3623, allocations: 8.75 kB / 0.574 GB, free: 29.8 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 2.663e-05/0.3623, allocations: 13.72 kB / 0.5741 GB, free: 29.79 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003133/0.3626, allocations: 187.2 kB / 0.5742 GB, free: 29.74 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.539e-06/0.3626, allocations: 1.281 kB / 0.5742 GB, free: 29.74 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.423e-06/0.3626, allocations: 1.75 kB / 0.5742 GB, free: 29.74 MB / 446.1 MB Notification: Performance of Transformations before backend: time 4.378e-06/0.3627, allocations: 0 / 0.5742 GB, free: 29.74 MB / 446.1 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.0004628/0.3631, allocations: 365.8 kB / 0.5746 GB, free: 29.37 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.342e-05/0.3632, allocations: 9.844 kB / 0.5746 GB, free: 29.37 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004754/0.3636, allocations: 66.16 kB / 0.5747 GB, free: 29.37 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.61e-05/0.3637, allocations: 163.9 kB / 0.5748 GB, free: 29.17 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.375e-05/0.3638, allocations: 6.609 kB / 0.5748 GB, free: 29.17 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.405e-05/0.3638, allocations: 5.469 kB / 0.5748 GB, free: 29.16 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000259/0.3641, allocations: 87.3 kB / 0.5749 GB, free: 29.12 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.307e-06/0.3641, allocations: 4 kB / 0.5749 GB, free: 29.11 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.476e-05/0.3641, allocations: 1.062 kB / 0.5749 GB, free: 29.11 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.428e-06/0.3641, allocations: 2.078 kB / 0.5749 GB, free: 29.11 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003076/0.3644, allocations: 63.61 kB / 0.575 GB, free: 29.11 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001409/0.3646, allocations: 164.9 kB / 0.5751 GB, free: 28.91 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006074/0.3652, allocations: 124.7 kB / 0.5753 GB, free: 28.88 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001675/0.3654, allocations: 43.94 kB / 0.5753 GB, free: 28.87 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000447/0.3658, allocations: 156.3 kB / 0.5754 GB, free: 28.77 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.612e-05/0.3658, allocations: 37.42 kB / 0.5755 GB, free: 28.73 MB / 446.1 MB Notification: Performance of pre-optimization done (n=4): time 1.332e-06/0.3658, allocations: 0 / 0.5755 GB, free: 28.73 MB / 446.1 MB Notification: Performance of matching and sorting (n=5): time 0.001114/0.367, allocations: 403.7 kB / 0.5759 GB, free: 28.45 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.564e-05/0.367, allocations: 52.28 kB / 0.5759 GB, free: 28.39 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.008e-05/0.3671, allocations: 102.8 kB / 0.576 GB, free: 28.29 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.255e-05/0.3671, allocations: 27.02 kB / 0.576 GB, free: 28.25 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.403e-05/0.3671, allocations: 81.3 kB / 0.5761 GB, free: 28.17 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.887e-05/0.3671, allocations: 21.23 kB / 0.5761 GB, free: 28.16 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.478e-05/0.3672, allocations: 21.88 kB / 0.5762 GB, free: 28.14 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.208e-05/0.3672, allocations: 313.2 kB / 0.5765 GB, free: 27.82 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001679/0.3674, allocations: 35.91 kB / 0.5765 GB, free: 27.82 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001537/0.3676, allocations: 37.05 kB / 0.5765 GB, free: 27.82 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003054/0.3679, allocations: 76.03 kB / 0.5766 GB, free: 27.8 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.41e-07/0.3679, allocations: 0 / 0.5766 GB, free: 27.8 MB / 446.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0003594/0.3682, allocations: 117.7 kB / 0.5767 GB, free: 27.75 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.449e-05/0.3683, allocations: 5.688 kB / 0.5767 GB, free: 27.75 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.348e-06/0.3683, allocations: 2.406 kB / 0.5767 GB, free: 27.75 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.662e-05/0.3683, allocations: 0 / 0.5767 GB, free: 27.75 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001519/0.3685, allocations: 24.02 kB / 0.5767 GB, free: 27.75 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.741e-06/0.3685, allocations: 1.125 kB / 0.5767 GB, free: 27.75 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000102/0.3686, allocations: 14.41 kB / 0.5768 GB, free: 27.75 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.061e-05/0.3686, allocations: 3.75 kB / 0.5768 GB, free: 27.75 MB / 446.1 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 (6): * Single equations (assignments): 6 * 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 5.339e-05/0.3687, allocations: 112.1 kB / 0.5769 GB, free: 27.63 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.838e-05/0.3687, allocations: 5.188 kB / 0.5769 GB, free: 27.63 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004639/0.3691, allocations: 140 kB / 0.577 GB, free: 27.57 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.425e-06/0.3692, allocations: 1.625 kB / 0.577 GB, free: 27.57 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.609e-06/0.3692, allocations: 1.406 kB / 0.577 GB, free: 27.57 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.938e-06/0.3692, allocations: 4.688 kB / 0.577 GB, free: 27.56 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000105/0.3693, allocations: 170.1 kB / 0.5772 GB, free: 27.36 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.804e-06/0.3693, allocations: 2.156 kB / 0.5772 GB, free: 27.36 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001544/0.3695, allocations: 26.75 kB / 0.5772 GB, free: 27.36 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.186e-06/0.3695, allocations: 1.688 kB / 0.5772 GB, free: 27.36 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.177e-05/0.3695, allocations: 2.469 kB / 0.5772 GB, free: 27.36 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.523e-06/0.3695, allocations: 0.6875 kB / 0.5772 GB, free: 27.36 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.402e-06/0.3695, allocations: 1.797 kB / 0.5772 GB, free: 27.36 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005733/0.3701, allocations: 194.3 kB / 0.5774 GB, free: 27.26 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.429e-05/0.3701, allocations: 89.44 kB / 0.5775 GB, free: 27.16 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.991e-05/0.3702, allocations: 1.25 kB / 0.5775 GB, free: 27.16 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001208/0.3703, allocations: 21.3 kB / 0.5775 GB, free: 27.16 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.5e-05/0.3703, allocations: 4.766 kB / 0.5775 GB, free: 27.16 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.018e-05/0.3703, allocations: 8.781 kB / 0.5775 GB, free: 27.15 MB / 446.1 MB Notification: Performance of sorting global known variables: time 1.98e-05/0.3704, allocations: 77.31 kB / 0.5776 GB, free: 27.08 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3704, allocations: 1.281 kB / 0.5776 GB, free: 27.08 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002525/0.3706, allocations: 35.39 kB / 0.5776 GB, free: 27.07 MB / 446.1 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 () * Number of clocked 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 (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.0002025/0.3708, allocations: 124.8 kB / 0.5777 GB, free: 26.97 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0004318/0.3713, allocations: 84.56 kB / 0.5778 GB, free: 26.96 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.394e-06/0.3713, allocations: 1.031 kB / 0.5778 GB, free: 26.96 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000186/0.3715, allocations: 44.81 kB / 0.5779 GB, free: 26.95 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001684/0.3717, allocations: 6.188 kB / 0.5779 GB, free: 26.95 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006619/0.3723, allocations: 216.6 kB / 0.5781 GB, free: 26.79 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001283/0.3725, allocations: 0.6822 MB / 0.5787 GB, free: 26.09 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.271e-05/0.3725, allocations: 13.59 kB / 0.5788 GB, free: 26.09 MB / 446.1 MB Notification: Performance of SimCode: time 2.3e-07/0.3725, allocations: 3.938 kB / 0.5788 GB, free: 26.09 MB / 446.1 MB Notification: Performance of Templates: time 0.003076/0.3756, allocations: 1.132 MB / 0.5799 GB, free: 25.8 MB / 446.1 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)