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.001023/0.001022, allocations: 107.6 kB / 17.02 MB, free: 5.66 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.0009678/0.0009678, allocations: 192.1 kB / 17.97 MB, free: 5.062 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.257/1.257, allocations: 222.9 MB / 241.7 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.676/0.676, allocations: 115.1 MB / 406.9 MB, free: 6.352 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001158/0.001158, allocations: 63.91 kB / 494.8 MB, free: 15.84 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3346/0.3358, allocations: 76.15 MB / 0.5576 GB, free: 36.68 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check): time 0.002072/0.3379, allocations: 0.7709 MB / 0.5583 GB, free: 36.21 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001657/0.3396, allocations: 1.468 MB / 0.5598 GB, free: 35.14 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.942e-05/0.3396, allocations: 0.6875 kB / 0.5598 GB, free: 35.14 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 2.877e-05/0.3397, allocations: 6.984 kB / 0.5598 GB, free: 35.14 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 4.205e-05/0.3397, allocations: 5.219 kB / 0.5598 GB, free: 35.14 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005365/0.3403, allocations: 142.1 kB / 0.5599 GB, free: 35.07 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001149/0.3404, allocations: 58.45 kB / 0.56 GB, free: 35.05 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.617e-05/0.3405, allocations: 3.422 kB / 0.56 GB, free: 35.05 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.127e-05/0.3406, allocations: 24.72 kB / 0.56 GB, free: 35.04 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.681e-05/0.3406, allocations: 34.33 kB / 0.56 GB, free: 35.03 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.977e-05/0.3407, allocations: 4.938 kB / 0.56 GB, free: 35.03 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005334/0.3412, allocations: 317.7 kB / 0.5603 GB, free: 34.94 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 2.723e-05/0.3412, allocations: 19.23 kB / 0.5604 GB, free: 34.93 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 4.351e-05/0.3413, allocations: 26 kB / 0.5604 GB, free: 34.91 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003777/0.3417, allocations: 210.5 kB / 0.5606 GB, free: 34.86 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.271e-06/0.3417, allocations: 0.9688 kB / 0.5606 GB, free: 34.86 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.783e-06/0.3417, allocations: 0 / 0.5606 GB, free: 34.86 MB / 446.1 MB Notification: Performance of Transformations before backend: time 6.622e-06/0.3417, allocations: 0 / 0.5606 GB, free: 34.86 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: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0007165/0.3424, allocations: 401.7 kB / 0.561 GB, free: 34.47 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.343e-05/0.3425, allocations: 9.672 kB / 0.561 GB, free: 34.47 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004724/0.343, allocations: 71.86 kB / 0.561 GB, free: 34.46 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001061/0.3431, allocations: 178 kB / 0.5612 GB, free: 34.26 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.011e-05/0.3431, allocations: 8.297 kB / 0.5612 GB, free: 34.25 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.747e-05/0.3432, allocations: 5.625 kB / 0.5612 GB, free: 34.25 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003682/0.3435, allocations: 115 kB / 0.5613 GB, free: 34.2 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.238e-05/0.3435, allocations: 0.75 kB / 0.5613 GB, free: 34.2 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.535e-05/0.3436, allocations: 0.875 kB / 0.5613 GB, free: 34.2 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.771e-06/0.3436, allocations: 3 kB / 0.5613 GB, free: 34.2 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004438/0.344, allocations: 100.8 kB / 0.5614 GB, free: 34.19 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005431/0.3446, allocations: 333 kB / 0.5618 GB, free: 33.89 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005702/0.3452, allocations: 154.2 kB / 0.5619 GB, free: 33.86 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002052/0.3454, allocations: 53.45 kB / 0.5619 GB, free: 33.84 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.814e-05/0.3454, allocations: 1.844 kB / 0.562 GB, free: 33.84 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.833e-05/0.3454, allocations: 39.75 kB / 0.562 GB, free: 33.8 MB / 446.1 MB Notification: Performance of pre-optimization done (n=7): time 1.173e-06/0.3454, allocations: 2.375 kB / 0.562 GB, free: 33.8 MB / 446.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.01725/0.3627, allocations: 2.836 MB / 0.5648 GB, free: 33.04 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.189e-05/0.3628, allocations: 56.72 kB / 0.5648 GB, free: 32.98 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.695e-05/0.3628, allocations: 101.5 kB / 0.5649 GB, free: 32.88 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 4.203e-05/0.3629, allocations: 33.7 kB / 0.5649 GB, free: 32.84 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.62e-05/0.3629, allocations: 84.64 kB / 0.565 GB, free: 32.75 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.379e-05/0.363, allocations: 42.55 kB / 0.5651 GB, free: 32.72 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001681/0.3631, allocations: 69.88 kB / 0.5651 GB, free: 32.7 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.369e-05/0.3632, allocations: 321.8 kB / 0.5654 GB, free: 32.38 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006117/0.3638, allocations: 188.8 kB / 0.5656 GB, free: 32.34 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006189/0.3644, allocations: 200.8 kB / 0.5658 GB, free: 32.29 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001244/0.3657, allocations: 395.5 kB / 0.5662 GB, free: 32.18 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.192e-06/0.3657, allocations: 0 / 0.5662 GB, free: 32.18 MB / 446.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.001509/0.3672, allocations: 474.1 kB / 0.5666 GB, free: 32.05 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.896e-05/0.3672, allocations: 4.969 kB / 0.5666 GB, free: 32.05 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.07e-06/0.3673, allocations: 3.938 kB / 0.5666 GB, free: 32.04 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.822e-05/0.3673, allocations: 1.953 kB / 0.5666 GB, free: 32.04 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008156/0.3681, allocations: 106.7 kB / 0.5668 GB, free: 32.04 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.214e-06/0.3681, allocations: 3.938 kB / 0.5668 GB, free: 32.04 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005757/0.3687, allocations: 50.56 kB / 0.5668 GB, free: 32.03 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.503e-05/0.3688, allocations: 23.73 kB / 0.5668 GB, free: 32.03 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 (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.0001285/0.3689, allocations: 119 kB / 0.5669 GB, free: 31.91 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.529e-05/0.369, allocations: 6.969 kB / 0.5669 GB, free: 31.9 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.101e-05/0.369, allocations: 13.77 kB / 0.567 GB, free: 31.89 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.727e-06/0.369, allocations: 1.031 kB / 0.567 GB, free: 31.89 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.205e-06/0.3691, allocations: 5.594 kB / 0.567 GB, free: 31.89 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.418e-06/0.3691, allocations: 0.6562 kB / 0.567 GB, free: 31.89 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002056/0.3711, allocations: 1.057 MB / 0.568 GB, free: 31.19 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.365e-06/0.3711, allocations: 0 / 0.568 GB, free: 31.19 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007749/0.3719, allocations: 106.7 kB / 0.5681 GB, free: 31.18 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.53e-06/0.3719, allocations: 9.547 kB / 0.5681 GB, free: 31.18 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.346e-05/0.372, allocations: 22.03 kB / 0.5681 GB, free: 31.18 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.717e-06/0.372, allocations: 1.188 kB / 0.5681 GB, free: 31.18 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.222e-06/0.372, allocations: 0 / 0.5681 GB, free: 31.18 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002224/0.3743, allocations: 0.792 MB / 0.5689 GB, free: 30.87 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001699/0.3744, allocations: 120.6 kB / 0.569 GB, free: 30.77 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.335e-05/0.3745, allocations: 1.922 kB / 0.569 GB, free: 30.77 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006569/0.3752, allocations: 51.81 kB / 0.5691 GB, free: 30.76 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001044/0.3753, allocations: 29.27 kB / 0.5691 GB, free: 30.76 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.424e-05/0.3754, allocations: 23.97 kB / 0.5691 GB, free: 30.76 MB / 446.1 MB Notification: Performance of sorting global known variables: time 3.085e-05/0.3754, allocations: 83.89 kB / 0.5692 GB, free: 30.68 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3754, allocations: 5.062 kB / 0.5692 GB, free: 30.68 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0004161/0.3758, allocations: 54.8 kB / 0.5693 GB, free: 30.67 MB / 446.1 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.0002244/0.376, allocations: 113.6 kB / 0.5694 GB, free: 30.57 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001481/0.3775, allocations: 420.3 kB / 0.5698 GB, free: 30.49 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 4.509e-06/0.3776, allocations: 0 / 0.5698 GB, free: 30.49 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007014/0.3783, allocations: 227.2 kB / 0.57 GB, free: 30.44 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003746/0.3786, allocations: 14.75 kB / 0.57 GB, free: 30.43 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004109/0.3828, allocations: 0.7569 MB / 0.5707 GB, free: 30.2 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001565/0.3829, allocations: 0.6905 MB / 0.5714 GB, free: 29.51 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0005003/0.3834, allocations: 93.77 kB / 0.5715 GB, free: 29.45 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002686/0.3837, allocations: 53.78 kB / 0.5716 GB, free: 29.44 MB / 446.1 MB Notification: Performance of SimCode: time 4.81e-07/0.3837, allocations: 0 / 0.5716 GB, free: 29.44 MB / 446.1 MB Notification: Performance of Templates: time 0.006298/0.39, allocations: 3.47 MB / 0.5749 GB, free: 28.38 MB / 446.1 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 -s cvode -lv LOG_STATS > IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.pipe 2>&1)