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.001093/0.001093, allocations: 94.31 kB / 16.26 MB, free: 5.934 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.001118/0.001118, allocations: 190.5 kB / 17.2 MB, free: 5.574 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.331/1.331, allocations: 222.9 MB / 240.9 MB, free: 15.23 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7708/0.7708, allocations: 122.9 MB / 413.9 MB, free: 15.89 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00144/0.00144, allocations: 63.91 kB / 0.4911 GB, free: 7.398 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4003/0.4018, allocations: 77.92 MB / 0.5672 GB, free: 32.81 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check): time 0.002034/0.4039, allocations: 0.7782 MB / 0.568 GB, free: 32.32 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.00189/0.4058, allocations: 1.471 MB / 0.5694 GB, free: 31.25 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.234e-05/0.4058, allocations: 2.594 kB / 0.5694 GB, free: 31.25 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 3.991e-05/0.4059, allocations: 4.688 kB / 0.5694 GB, free: 31.24 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 4.997e-05/0.4059, allocations: 5.125 kB / 0.5694 GB, free: 31.24 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005748/0.4065, allocations: 139.1 kB / 0.5695 GB, free: 31.18 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.000103/0.4066, allocations: 52.36 kB / 0.5696 GB, free: 31.16 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.873e-05/0.4067, allocations: 9 kB / 0.5696 GB, free: 31.16 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.456e-05/0.4068, allocations: 28.12 kB / 0.5696 GB, free: 31.14 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.202e-05/0.4069, allocations: 34.98 kB / 0.5697 GB, free: 31.13 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 2.123e-05/0.4069, allocations: 5.281 kB / 0.5697 GB, free: 31.13 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005092/0.4074, allocations: 317.6 kB / 0.57 GB, free: 31.04 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 2.583e-05/0.4074, allocations: 18.3 kB / 0.57 GB, free: 31.03 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 4.105e-05/0.4075, allocations: 25.91 kB / 0.57 GB, free: 31.02 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003596/0.4079, allocations: 205.6 kB / 0.5702 GB, free: 30.96 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.96e-06/0.4079, allocations: 3.406 kB / 0.5702 GB, free: 30.96 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.344e-06/0.4079, allocations: 0 / 0.5702 GB, free: 30.96 MB / 446.1 MB Notification: Performance of Transformations before backend: time 6.633e-06/0.4079, allocations: 5.188 kB / 0.5702 GB, free: 30.96 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.0005917/0.4085, allocations: 400.7 kB / 0.5706 GB, free: 30.57 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.872e-05/0.4085, allocations: 10.09 kB / 0.5706 GB, free: 30.57 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004858/0.409, allocations: 72.86 kB / 0.5707 GB, free: 30.56 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.047e-05/0.4091, allocations: 167.8 kB / 0.5708 GB, free: 30.36 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.598e-05/0.4091, allocations: 4.469 kB / 0.5708 GB, free: 30.36 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.744e-05/0.4092, allocations: 13.66 kB / 0.5708 GB, free: 30.36 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000379/0.4096, allocations: 109.7 kB / 0.571 GB, free: 30.31 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.283e-05/0.4096, allocations: 5 kB / 0.571 GB, free: 30.3 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.814e-05/0.4096, allocations: 5.938 kB / 0.571 GB, free: 30.3 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.44e-06/0.4096, allocations: 1.906 kB / 0.571 GB, free: 30.3 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005267/0.4102, allocations: 97.92 kB / 0.5711 GB, free: 30.29 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005355/0.4107, allocations: 337.7 kB / 0.5714 GB, free: 29.99 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006675/0.4114, allocations: 156.8 kB / 0.5715 GB, free: 29.95 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002487/0.4116, allocations: 56.59 kB / 0.5716 GB, free: 29.93 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.784e-05/0.4117, allocations: 2 kB / 0.5716 GB, free: 29.93 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.396e-05/0.4117, allocations: 33.8 kB / 0.5716 GB, free: 29.89 MB / 446.1 MB Notification: Performance of pre-optimization done (n=7): time 1.573e-06/0.4117, allocations: 3.938 kB / 0.5716 GB, free: 29.89 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.01948/0.4312, allocations: 2.838 MB / 0.5744 GB, free: 29.11 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.894e-05/0.4313, allocations: 58.41 kB / 0.5745 GB, free: 29.05 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.924e-05/0.4313, allocations: 101.2 kB / 0.5745 GB, free: 28.95 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 4.523e-05/0.4314, allocations: 26.8 kB / 0.5746 GB, free: 28.91 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.765e-05/0.4314, allocations: 96.97 kB / 0.5747 GB, free: 28.82 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.909e-05/0.4315, allocations: 42.73 kB / 0.5747 GB, free: 28.79 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000193/0.4317, allocations: 73.88 kB / 0.5748 GB, free: 28.76 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 6.327e-05/0.4318, allocations: 313.7 kB / 0.5751 GB, free: 28.45 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007088/0.4325, allocations: 192.8 kB / 0.5753 GB, free: 28.4 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006795/0.4332, allocations: 197.4 kB / 0.5754 GB, free: 28.36 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001365/0.4346, allocations: 393.6 kB / 0.5758 GB, free: 28.22 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.733e-06/0.4346, allocations: 1.406 kB / 0.5758 GB, free: 28.22 MB / 446.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.001509/0.4361, allocations: 484.3 kB / 0.5763 GB, free: 27.96 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.832e-05/0.4361, allocations: 4.438 kB / 0.5763 GB, free: 27.96 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.693e-06/0.4361, allocations: 0 / 0.5763 GB, free: 27.96 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.886e-05/0.4361, allocations: 1.188 kB / 0.5763 GB, free: 27.96 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007986/0.4369, allocations: 106.4 kB / 0.5764 GB, free: 27.9 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.606e-06/0.437, allocations: 3.938 kB / 0.5764 GB, free: 27.9 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005921/0.4376, allocations: 49.62 kB / 0.5764 GB, free: 27.88 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.236e-05/0.4376, allocations: 27.84 kB / 0.5765 GB, free: 27.86 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.0001406/0.4378, allocations: 123.7 kB / 0.5766 GB, free: 27.73 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.395e-05/0.4379, allocations: 3.656 kB / 0.5766 GB, free: 27.73 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.269e-05/0.4379, allocations: 9.875 kB / 0.5766 GB, free: 27.72 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.805e-06/0.4379, allocations: 0 / 0.5766 GB, free: 27.72 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.223e-06/0.4379, allocations: 5.438 kB / 0.5766 GB, free: 27.71 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.517e-06/0.438, allocations: 0 / 0.5766 GB, free: 27.71 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002092/0.44, allocations: 1.05 MB / 0.5776 GB, free: 26.82 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.094e-06/0.4401, allocations: 0 / 0.5776 GB, free: 26.82 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000812/0.4409, allocations: 113.2 kB / 0.5777 GB, free: 26.75 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.332e-06/0.4409, allocations: 9.25 kB / 0.5777 GB, free: 26.75 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.865e-05/0.441, allocations: 20.06 kB / 0.5778 GB, free: 26.73 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.084e-06/0.441, allocations: 1.375 kB / 0.5778 GB, free: 26.73 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-06/0.441, allocations: 0 / 0.5778 GB, free: 26.73 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002279/0.4432, allocations: 0.7912 MB / 0.5785 GB, free: 26.25 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001232/0.4434, allocations: 120.4 kB / 0.5787 GB, free: 26.12 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.789e-05/0.4435, allocations: 0 / 0.5787 GB, free: 26.12 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006719/0.4441, allocations: 51.05 kB / 0.5787 GB, free: 26.1 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001039/0.4443, allocations: 31.16 kB / 0.5787 GB, free: 26.07 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.566e-05/0.4443, allocations: 26.3 kB / 0.5788 GB, free: 26.05 MB / 446.1 MB Notification: Performance of sorting global known variables: time 3.295e-05/0.4444, allocations: 78.81 kB / 0.5788 GB, free: 25.98 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.183e-06/0.4444, allocations: 0 / 0.5788 GB, free: 25.98 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0003849/0.4447, allocations: 58.16 kB / 0.5789 GB, free: 25.97 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.0001897/0.4449, allocations: 128.5 kB / 0.579 GB, free: 25.86 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001397/0.4463, allocations: 419.3 kB / 0.5794 GB, free: 25.66 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 5.57e-06/0.4464, allocations: 1.188 kB / 0.5794 GB, free: 25.66 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007189/0.4471, allocations: 221.1 kB / 0.5796 GB, free: 25.55 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003914/0.4475, allocations: 17.11 kB / 0.5796 GB, free: 25.54 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004069/0.4516, allocations: 0.7495 MB / 0.5804 GB, free: 25.04 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001257/0.4517, allocations: 0.6955 MB / 0.5811 GB, free: 24.34 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.000611/0.4523, allocations: 94.64 kB / 0.5811 GB, free: 24.27 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002362/0.4526, allocations: 56.02 kB / 0.5812 GB, free: 24.23 MB / 446.1 MB Notification: Performance of SimCode: time 2.9e-07/0.4526, allocations: 0 / 0.5812 GB, free: 24.23 MB / 446.1 MB Notification: Performance of Templates: time 0.0061/0.4587, allocations: 3.467 MB / 0.5846 GB, free: 22.39 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 -lv LOG_STATS > IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.pipe 2>&1)