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.001266/0.001266, allocations: 106.4 kB / 17.03 MB, free: 5.699 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.001286/0.001286, allocations: 194.9 kB / 17.97 MB, free: 5.078 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.356/1.356, allocations: 222.9 MB / 241.7 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.7022/0.7022, allocations: 115.1 MB / 406.9 MB, free: 6.32 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001247/0.001247, allocations: 63.91 kB / 494.8 MB, free: 15.82 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3381/0.3394, allocations: 76.15 MB / 0.5576 GB, free: 36.63 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check): time 0.001879/0.3413, allocations: 0.7689 MB / 0.5583 GB, free: 36.17 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001398/0.3427, allocations: 1.47 MB / 0.5598 GB, free: 35.1 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.461e-05/0.3427, allocations: 1.469 kB / 0.5598 GB, free: 35.1 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 3.349e-05/0.3428, allocations: 3.938 kB / 0.5598 GB, free: 35.09 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 4.4e-05/0.3428, allocations: 4.875 kB / 0.5598 GB, free: 35.09 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000543/0.3434, allocations: 139.1 kB / 0.5599 GB, free: 35.03 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001152/0.3435, allocations: 53.64 kB / 0.56 GB, free: 35.01 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.658e-05/0.3436, allocations: 6.25 kB / 0.56 GB, free: 35.01 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.878e-05/0.3436, allocations: 30.5 kB / 0.56 GB, free: 35 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.902e-05/0.3437, allocations: 31.83 kB / 0.56 GB, free: 34.98 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.84e-05/0.3437, allocations: 3.844 kB / 0.56 GB, free: 34.98 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005402/0.3443, allocations: 323.5 kB / 0.5603 GB, free: 34.89 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 3.113e-05/0.3443, allocations: 14.03 kB / 0.5603 GB, free: 34.89 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 4.802e-05/0.3444, allocations: 29.72 kB / 0.5604 GB, free: 34.87 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004179/0.3448, allocations: 208.7 kB / 0.5606 GB, free: 34.81 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.602e-06/0.3448, allocations: 2.375 kB / 0.5606 GB, free: 34.81 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.934e-06/0.3448, allocations: 0 / 0.5606 GB, free: 34.81 MB / 446.1 MB Notification: Performance of Transformations before backend: time 5.751e-06/0.3449, allocations: 1.375 kB / 0.5606 GB, free: 34.81 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.0006554/0.3455, allocations: 402.2 kB / 0.561 GB, free: 34.42 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.317e-05/0.3456, allocations: 9 kB / 0.561 GB, free: 34.42 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000471/0.346, allocations: 72.59 kB / 0.561 GB, free: 34.42 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001123/0.3462, allocations: 172.3 kB / 0.5612 GB, free: 34.21 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.44e-05/0.3462, allocations: 8.094 kB / 0.5612 GB, free: 34.21 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.942e-05/0.3462, allocations: 4.688 kB / 0.5612 GB, free: 34.21 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000359/0.3466, allocations: 113.5 kB / 0.5613 GB, free: 34.16 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.352e-05/0.3466, allocations: 4 kB / 0.5613 GB, free: 34.16 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.57e-05/0.3467, allocations: 1.562 kB / 0.5613 GB, free: 34.16 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.204e-06/0.3467, allocations: 2.344 kB / 0.5613 GB, free: 34.16 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004678/0.3471, allocations: 101.8 kB / 0.5614 GB, free: 34.15 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000529/0.3477, allocations: 335.9 kB / 0.5617 GB, free: 33.85 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005981/0.3483, allocations: 156.9 kB / 0.5619 GB, free: 33.8 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002297/0.3485, allocations: 56.75 kB / 0.562 GB, free: 33.79 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.604e-05/0.3486, allocations: 2.781 kB / 0.562 GB, free: 33.79 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.706e-05/0.3486, allocations: 32.45 kB / 0.562 GB, free: 33.75 MB / 446.1 MB Notification: Performance of pre-optimization done (n=7): time 1.803e-06/0.3486, allocations: 1.438 kB / 0.562 GB, free: 33.75 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.01791/0.3665, allocations: 2.842 MB / 0.5648 GB, free: 32.99 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.201e-05/0.3666, allocations: 58.06 kB / 0.5648 GB, free: 32.92 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.245e-05/0.3666, allocations: 105.4 kB / 0.5649 GB, free: 32.82 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 4.084e-05/0.3667, allocations: 26.89 kB / 0.5649 GB, free: 32.79 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.67e-05/0.3667, allocations: 87.62 kB / 0.565 GB, free: 32.7 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.696e-05/0.3668, allocations: 43.06 kB / 0.5651 GB, free: 32.66 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001672/0.3669, allocations: 69.95 kB / 0.5651 GB, free: 32.64 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.232e-05/0.367, allocations: 318 kB / 0.5654 GB, free: 32.32 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006207/0.3676, allocations: 193 kB / 0.5656 GB, free: 32.28 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006074/0.3682, allocations: 191.6 kB / 0.5658 GB, free: 32.24 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001239/0.3695, allocations: 395.4 kB / 0.5662 GB, free: 32.13 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.91e-07/0.3695, allocations: 0 / 0.5662 GB, free: 32.13 MB / 446.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.001449/0.3709, allocations: 480.5 kB / 0.5666 GB, free: 32 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.735e-05/0.371, allocations: 10.31 kB / 0.5667 GB, free: 31.99 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.022e-06/0.371, allocations: 1.172 kB / 0.5667 GB, free: 31.99 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.54e-05/0.371, allocations: 0.9688 kB / 0.5667 GB, free: 31.99 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008214/0.3718, allocations: 106.7 kB / 0.5668 GB, free: 31.99 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.042e-06/0.3718, allocations: 3.938 kB / 0.5668 GB, free: 31.98 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005916/0.3724, allocations: 45.5 kB / 0.5668 GB, free: 31.98 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.524e-05/0.3725, allocations: 27.94 kB / 0.5668 GB, free: 31.98 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.0001146/0.3726, allocations: 118.4 kB / 0.5669 GB, free: 31.86 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.592e-05/0.3727, allocations: 6.469 kB / 0.5669 GB, free: 31.85 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.183e-05/0.3728, allocations: 10.8 kB / 0.567 GB, free: 31.84 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.625e-06/0.3728, allocations: 1.531 kB / 0.567 GB, free: 31.84 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.312e-06/0.3728, allocations: 4.547 kB / 0.567 GB, free: 31.84 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.048e-06/0.3728, allocations: 2.547 kB / 0.567 GB, free: 31.84 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002002/0.3748, allocations: 1.052 MB / 0.568 GB, free: 31.14 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.825e-06/0.3748, allocations: 4.906 kB / 0.568 GB, free: 31.14 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007798/0.3756, allocations: 111.3 kB / 0.5681 GB, free: 31.13 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.459e-06/0.3756, allocations: 5.219 kB / 0.5681 GB, free: 31.13 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.97e-05/0.3757, allocations: 20.73 kB / 0.5681 GB, free: 31.13 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.775e-06/0.3757, allocations: 1.703 kB / 0.5681 GB, free: 31.13 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.263e-06/0.3757, allocations: 96 / 0.5681 GB, free: 31.13 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002228/0.3779, allocations: 0.7957 MB / 0.5689 GB, free: 30.82 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001487/0.3781, allocations: 117.6 kB / 0.569 GB, free: 30.72 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.035e-05/0.3782, allocations: 1.125 kB / 0.569 GB, free: 30.72 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006702/0.3789, allocations: 55.97 kB / 0.5691 GB, free: 30.71 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000101/0.379, allocations: 26.8 kB / 0.5691 GB, free: 30.71 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.482e-05/0.379, allocations: 27.03 kB / 0.5691 GB, free: 30.7 MB / 446.1 MB Notification: Performance of sorting global known variables: time 2.418e-05/0.3791, allocations: 83.7 kB / 0.5692 GB, free: 30.62 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.3791, allocations: 1.219 kB / 0.5692 GB, free: 30.62 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0003767/0.3795, allocations: 59.38 kB / 0.5693 GB, free: 30.61 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.0001698/0.3796, allocations: 112.2 kB / 0.5694 GB, free: 30.52 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001408/0.381, allocations: 421.8 kB / 0.5698 GB, free: 30.43 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.385e-06/0.3811, allocations: 1.125 kB / 0.5698 GB, free: 30.43 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007019/0.3818, allocations: 226.7 kB / 0.57 GB, free: 30.39 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003375/0.3821, allocations: 9.562 kB / 0.57 GB, free: 30.38 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004132/0.3863, allocations: 0.7517 MB / 0.5707 GB, free: 30.16 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001047/0.3864, allocations: 0.6909 MB / 0.5714 GB, free: 29.46 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0004727/0.3869, allocations: 93.56 kB / 0.5715 GB, free: 29.4 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002598/0.3871, allocations: 57.86 kB / 0.5716 GB, free: 29.39 MB / 446.1 MB Notification: Performance of SimCode: time 5.51e-07/0.3871, allocations: 0 / 0.5716 GB, free: 29.39 MB / 446.1 MB Notification: Performance of Templates: time 0.00593/0.3931, allocations: 3.462 MB / 0.5749 GB, free: 28.45 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 gbode -lv LOG_STATS > IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.pipe 2>&1)