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 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.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.001033/0.001033, allocations: 185.1 kB / 16.63 MB, free: 5.117 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.4975/0.4975, allocations: 87.49 MB / 104.9 MB, free: 13.02 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.396/1.396, allocations: 222.9 MB / 349.1 MB, free: 2.738 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.0009451/0.0009454, allocations: 99.08 kB / 420 MB, free: 8.48 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001192/0.001192, allocations: 51.92 kB / 0.4891 GB, free: 7.664 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3427/0.344, allocations: 70.05 MB / 0.5575 GB, free: 44.76 MB / 410.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check): time 0.002092/0.3461, allocations: 0.8387 MB / 0.5583 GB, free: 44.14 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001695/0.3478, allocations: 1.49 MB / 0.5598 GB, free: 42.84 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.089e-05/0.3479, allocations: 4 kB / 0.5598 GB, free: 42.84 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 3.103e-05/0.3479, allocations: 0 / 0.5598 GB, free: 42.84 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 4.996e-05/0.348, allocations: 7.922 kB / 0.5598 GB, free: 42.83 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004606/0.3484, allocations: 112.1 kB / 0.5599 GB, free: 42.73 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 8.866e-05/0.3485, allocations: 43.97 kB / 0.5599 GB, free: 42.68 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.422e-05/0.3486, allocations: 8 kB / 0.5599 GB, free: 42.68 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.161e-05/0.3487, allocations: 27.91 kB / 0.56 GB, free: 42.65 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.586e-05/0.3487, allocations: 35.83 kB / 0.56 GB, free: 42.61 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.673e-05/0.3487, allocations: 4 kB / 0.56 GB, free: 42.61 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003621/0.3491, allocations: 311.4 kB / 0.5603 GB, free: 42.3 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 1.81e-05/0.3491, allocations: 11.98 kB / 0.5603 GB, free: 42.29 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 3.352e-05/0.3492, allocations: 23.86 kB / 0.5603 GB, free: 42.27 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003035/0.3495, allocations: 215.5 kB / 0.5605 GB, free: 42.06 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.989e-06/0.3495, allocations: 0 / 0.5605 GB, free: 42.06 MB / 410.7 MB Notification: Performance of FrontEnd: time 9.52e-07/0.3495, allocations: 0 / 0.5605 GB, free: 42.06 MB / 410.7 MB Notification: Performance of Transformations before backend: time 3.547e-06/0.3495, allocations: 0 / 0.5605 GB, free: 42.06 MB / 410.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.0005511/0.3501, allocations: 409.4 kB / 0.5609 GB, free: 41.61 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.492e-05/0.3501, allocations: 11.97 kB / 0.5609 GB, free: 41.6 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004187/0.3505, allocations: 68.84 kB / 0.561 GB, free: 41.54 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.163e-05/0.3506, allocations: 172.2 kB / 0.5612 GB, free: 41.33 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.907e-05/0.3507, allocations: 4.375 kB / 0.5612 GB, free: 41.32 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.409e-05/0.3507, allocations: 8.375 kB / 0.5612 GB, free: 41.32 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003216/0.351, allocations: 117.9 kB / 0.5613 GB, free: 41.2 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.305e-05/0.351, allocations: 0 / 0.5613 GB, free: 41.2 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.347e-05/0.3511, allocations: 0 / 0.5613 GB, free: 41.2 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.628e-06/0.3511, allocations: 0 / 0.5613 GB, free: 41.2 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004381/0.3515, allocations: 103.8 kB / 0.5614 GB, free: 41.09 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000469/0.352, allocations: 344.6 kB / 0.5617 GB, free: 40.71 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005885/0.3526, allocations: 154.4 kB / 0.5619 GB, free: 40.55 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002153/0.3528, allocations: 56.8 kB / 0.5619 GB, free: 40.49 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.794e-05/0.3528, allocations: 11.92 kB / 0.5619 GB, free: 40.48 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.628e-05/0.3529, allocations: 34.56 kB / 0.562 GB, free: 40.43 MB / 410.7 MB Notification: Performance of pre-optimization done (n=7): time 1.333e-06/0.3529, allocations: 0 / 0.562 GB, free: 40.43 MB / 410.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.01663/0.3695, allocations: 2.821 MB / 0.5647 GB, free: 37.52 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.223e-05/0.3696, allocations: 63.34 kB / 0.5648 GB, free: 37.45 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.821e-05/0.3697, allocations: 101.8 kB / 0.5649 GB, free: 37.34 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 4.051e-05/0.3697, allocations: 25.7 kB / 0.5649 GB, free: 37.3 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.196e-05/0.3697, allocations: 92.05 kB / 0.565 GB, free: 37.21 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.765e-05/0.3698, allocations: 39.39 kB / 0.565 GB, free: 37.17 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000163/0.37, allocations: 69.58 kB / 0.5651 GB, free: 37.1 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 5.23e-05/0.37, allocations: 318.8 kB / 0.5654 GB, free: 36.78 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006071/0.3707, allocations: 195.7 kB / 0.5656 GB, free: 36.59 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005892/0.3713, allocations: 196.5 kB / 0.5658 GB, free: 36.39 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001189/0.3724, allocations: 389.4 kB / 0.5662 GB, free: 36.01 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.363e-06/0.3725, allocations: 4 kB / 0.5662 GB, free: 36.01 MB / 410.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.001414/0.3739, allocations: 483.5 kB / 0.5666 GB, free: 35.53 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.754e-05/0.3739, allocations: 4 kB / 0.5666 GB, free: 35.53 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.771e-06/0.3739, allocations: 0 / 0.5666 GB, free: 35.53 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.913e-05/0.3739, allocations: 4 kB / 0.5666 GB, free: 35.52 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007541/0.3747, allocations: 107.7 kB / 0.5667 GB, free: 35.42 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.196e-06/0.3747, allocations: 3.938 kB / 0.5667 GB, free: 35.41 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005761/0.3753, allocations: 51.94 kB / 0.5668 GB, free: 35.36 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.413e-05/0.3754, allocations: 23.92 kB / 0.5668 GB, free: 35.34 MB / 410.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 0.0001353/0.3755, allocations: 113.8 kB / 0.5669 GB, free: 35.22 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.85e-05/0.3756, allocations: 4 kB / 0.5669 GB, free: 35.21 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.648e-05/0.3757, allocations: 11.97 kB / 0.5669 GB, free: 35.2 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.258e-06/0.3757, allocations: 4 kB / 0.5669 GB, free: 35.2 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.823e-06/0.3757, allocations: 7.938 kB / 0.5669 GB, free: 35.19 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.478e-06/0.3757, allocations: 3.984 kB / 0.5669 GB, free: 35.19 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001921/0.3776, allocations: 1.047 MB / 0.568 GB, free: 34.03 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.655e-06/0.3776, allocations: 0 / 0.568 GB, free: 34.03 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007452/0.3784, allocations: 107.8 kB / 0.5681 GB, free: 33.93 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.598e-06/0.3784, allocations: 3.938 kB / 0.5681 GB, free: 33.92 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.124e-05/0.3785, allocations: 23.92 kB / 0.5681 GB, free: 33.9 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.475e-06/0.3785, allocations: 0 / 0.5681 GB, free: 33.9 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.322e-06/0.3785, allocations: 320 / 0.5681 GB, free: 33.9 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0221/0.4006, allocations: 3.694 MB / 0.5717 GB, free: 30.06 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001426/0.4008, allocations: 121 kB / 0.5718 GB, free: 29.93 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.364e-05/0.4008, allocations: 12 kB / 0.5718 GB, free: 29.91 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007021/0.4015, allocations: 52 kB / 0.5719 GB, free: 29.86 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.96e-05/0.4017, allocations: 27.86 kB / 0.5719 GB, free: 29.84 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.875e-05/0.4017, allocations: 27.92 kB / 0.5719 GB, free: 29.81 MB / 410.7 MB Notification: Performance of sorting global known variables: time 2.834e-05/0.4018, allocations: 87.28 kB / 0.572 GB, free: 29.72 MB / 410.7 MB Notification: Performance of sort global known variables: time 9e-08/0.4018, allocations: 0 / 0.572 GB, free: 29.72 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0004432/0.4022, allocations: 52 kB / 0.5721 GB, free: 29.67 MB / 410.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.0001849/0.4024, allocations: 115.2 kB / 0.5722 GB, free: 29.55 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.001397/0.4038, allocations: 419.5 kB / 0.5726 GB, free: 29.14 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.286e-06/0.4038, allocations: 4 kB / 0.5726 GB, free: 29.14 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006646/0.4045, allocations: 224 kB / 0.5728 GB, free: 28.92 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003436/0.4049, allocations: 12 kB / 0.5728 GB, free: 28.91 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004026/0.4089, allocations: 0.9204 MB / 0.5737 GB, free: 27.94 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001172/0.409, allocations: 0.697 MB / 0.5744 GB, free: 27.22 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0006831/0.4097, allocations: 88.66 kB / 0.5745 GB, free: 27.13 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000248/0.41, allocations: 59.3 kB / 0.5745 GB, free: 27.07 MB / 410.7 MB Notification: Performance of SimCode: time 3.91e-07/0.41, allocations: 0 / 0.5745 GB, free: 27.07 MB / 410.7 MB Notification: Performance of Templates: time 0.005196/0.4152, allocations: 3.466 MB / 0.5779 GB, free: 23.61 MB / 410.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)