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/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.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/Complex 4.0.0+maint.om/package.mo): time 0.001146/0.001146, allocations: 182.7 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.47/0.47, allocations: 87.5 MB / 104.9 MB, free: 13.03 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.566/1.566, allocations: 222.9 MB / 349.1 MB, free: 2.766 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.001003/0.001003, allocations: 94.3 kB / 420 MB, free: 8.512 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.00103/0.00103, allocations: 55.92 kB / 0.4891 GB, free: 7.703 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3263/0.3273, allocations: 70.06 MB / 0.5575 GB, free: 44.83 MB / 410.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Functions.Examples.InverseXDerivativeCheck): time 0.001674/0.3291, allocations: 0.6429 MB / 0.5581 GB, free: 44.36 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.00165/0.3307, allocations: 1.474 MB / 0.5596 GB, free: 43.11 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.498e-05/0.3308, allocations: 3.938 kB / 0.5596 GB, free: 43.1 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 1.447e-05/0.3308, allocations: 0 / 0.5596 GB, free: 43.1 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 3.137e-05/0.3308, allocations: 0 / 0.5596 GB, free: 43.1 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003642/0.3312, allocations: 111.7 kB / 0.5597 GB, free: 42.99 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 5.564e-05/0.3313, allocations: 31.91 kB / 0.5597 GB, free: 42.96 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.219e-05/0.3313, allocations: 0 / 0.5597 GB, free: 42.96 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.334e-05/0.3314, allocations: 23.97 kB / 0.5597 GB, free: 42.94 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.432e-05/0.3314, allocations: 19.97 kB / 0.5598 GB, free: 42.92 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.713e-05/0.3315, allocations: 8 kB / 0.5598 GB, free: 42.91 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003343/0.3318, allocations: 323.3 kB / 0.5601 GB, free: 42.59 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 1.589e-05/0.3318, allocations: 7.922 kB / 0.5601 GB, free: 42.59 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 2.589e-05/0.3318, allocations: 11.98 kB / 0.5601 GB, free: 42.57 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002244/0.3321, allocations: 187.6 kB / 0.5603 GB, free: 42.39 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.547e-06/0.3321, allocations: 0 / 0.5603 GB, free: 42.39 MB / 410.7 MB Notification: Performance of FrontEnd: time 8.01e-07/0.3321, allocations: 0 / 0.5603 GB, free: 42.39 MB / 410.7 MB Notification: Performance of Transformations before backend: time 3.236e-06/0.3321, allocations: 0 / 0.5603 GB, free: 42.39 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0004525/0.3326, allocations: 368.2 kB / 0.5606 GB, free: 41.99 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.524e-05/0.3326, allocations: 12.03 kB / 0.5606 GB, free: 41.98 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004456/0.3331, allocations: 64.84 kB / 0.5607 GB, free: 41.91 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.661e-05/0.3331, allocations: 164.4 kB / 0.5608 GB, free: 41.71 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.046e-05/0.3332, allocations: 384 / 0.5609 GB, free: 41.71 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.898e-05/0.3332, allocations: 384 / 0.5609 GB, free: 41.71 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002324/0.3334, allocations: 81.94 kB / 0.5609 GB, free: 41.63 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.967e-06/0.3334, allocations: 4 kB / 0.5609 GB, free: 41.62 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.252e-05/0.3335, allocations: 3.938 kB / 0.5609 GB, free: 41.62 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.41e-06/0.3335, allocations: 7.984 kB / 0.5609 GB, free: 41.61 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000341/0.3338, allocations: 67.86 kB / 0.561 GB, free: 41.55 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001396/0.334, allocations: 161.6 kB / 0.5612 GB, free: 41.34 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005661/0.3345, allocations: 118.6 kB / 0.5613 GB, free: 41.21 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001581/0.3347, allocations: 52.91 kB / 0.5613 GB, free: 41.16 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004268/0.3351, allocations: 149 kB / 0.5615 GB, free: 41 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.218e-05/0.3352, allocations: 38.5 kB / 0.5615 GB, free: 40.95 MB / 410.7 MB Notification: Performance of pre-optimization done (n=4): time 1.293e-06/0.3352, allocations: 0 / 0.5615 GB, free: 40.95 MB / 410.7 MB Notification: Performance of matching and sorting (n=5): time 0.00105/0.3362, allocations: 402.2 kB / 0.5619 GB, free: 40.5 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.881e-05/0.3363, allocations: 59.34 kB / 0.5619 GB, free: 40.43 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.441e-05/0.3363, allocations: 97.86 kB / 0.562 GB, free: 40.33 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.021e-05/0.3363, allocations: 25.7 kB / 0.5621 GB, free: 40.3 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.265e-05/0.3363, allocations: 84.12 kB / 0.5621 GB, free: 40.21 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.599e-05/0.3364, allocations: 19.72 kB / 0.5622 GB, free: 40.19 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.935e-05/0.3364, allocations: 13.72 kB / 0.5622 GB, free: 40.17 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.823e-05/0.3365, allocations: 318.8 kB / 0.5625 GB, free: 39.85 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001521/0.3366, allocations: 40.09 kB / 0.5625 GB, free: 39.81 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001407/0.3368, allocations: 35.91 kB / 0.5626 GB, free: 39.78 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002801/0.3371, allocations: 80.98 kB / 0.5626 GB, free: 39.7 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.61e-07/0.3371, allocations: 0 / 0.5626 GB, free: 39.7 MB / 410.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.000332/0.3374, allocations: 121.5 kB / 0.5627 GB, free: 39.57 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.43e-05/0.3374, allocations: 5.406 kB / 0.5628 GB, free: 39.57 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.228e-06/0.3374, allocations: 0 / 0.5628 GB, free: 39.57 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.361e-05/0.3375, allocations: 4 kB / 0.5628 GB, free: 39.56 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001487/0.3376, allocations: 23.97 kB / 0.5628 GB, free: 39.54 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.909e-06/0.3376, allocations: 0 / 0.5628 GB, free: 39.54 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.527e-05/0.3377, allocations: 11.98 kB / 0.5628 GB, free: 39.53 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.849e-06/0.3377, allocations: 4 kB / 0.5628 GB, free: 39.52 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 (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.062e-05/0.3378, allocations: 109.8 kB / 0.5629 GB, free: 39.41 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.46e-05/0.3378, allocations: 11.94 kB / 0.5629 GB, free: 39.39 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000415/0.3382, allocations: 133.1 kB / 0.563 GB, free: 39.26 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.933e-06/0.3383, allocations: 0 / 0.563 GB, free: 39.26 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.917e-06/0.3383, allocations: 0 / 0.563 GB, free: 39.26 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.835e-06/0.3383, allocations: 3.938 kB / 0.563 GB, free: 39.26 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.25e-05/0.3384, allocations: 177.6 kB / 0.5632 GB, free: 39.04 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.92e-07/0.3384, allocations: 0 / 0.5632 GB, free: 39.04 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001479/0.3385, allocations: 27.91 kB / 0.5632 GB, free: 39.01 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.794e-06/0.3385, allocations: 0 / 0.5632 GB, free: 39.01 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.034e-05/0.3386, allocations: 0 / 0.5632 GB, free: 39.01 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.114e-06/0.3386, allocations: 4 kB / 0.5632 GB, free: 39 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.763e-06/0.3386, allocations: 3.984 kB / 0.5632 GB, free: 39 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003888/0.3425, allocations: 1.415 MB / 0.5646 GB, free: 37.45 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.375e-05/0.3425, allocations: 85.12 kB / 0.5647 GB, free: 37.34 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.25e-05/0.3426, allocations: 4 kB / 0.5647 GB, free: 37.34 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001146/0.3427, allocations: 20.06 kB / 0.5647 GB, free: 37.32 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.519e-05/0.3427, allocations: 4 kB / 0.5647 GB, free: 37.32 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.898e-06/0.3427, allocations: 0 / 0.5647 GB, free: 37.32 MB / 410.7 MB Notification: Performance of sorting global known variables: time 2.523e-05/0.3428, allocations: 79.28 kB / 0.5648 GB, free: 37.24 MB / 410.7 MB Notification: Performance of sort global known variables: time 1e-07/0.3428, allocations: 0 / 0.5648 GB, free: 37.24 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0003194/0.3431, allocations: 35.98 kB / 0.5648 GB, free: 37.2 MB / 410.7 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.000193/0.3433, allocations: 131.2 kB / 0.565 GB, free: 37.07 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0003718/0.3437, allocations: 87.95 kB / 0.5651 GB, free: 36.98 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.547e-06/0.3437, allocations: 4 kB / 0.5651 GB, free: 36.98 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001546/0.3438, allocations: 43.97 kB / 0.5651 GB, free: 36.93 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001421/0.344, allocations: 7.938 kB / 0.5651 GB, free: 36.93 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006059/0.3446, allocations: 306 kB / 0.5654 GB, free: 36.59 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001054/0.3447, allocations: 0.6809 MB / 0.5661 GB, free: 35.88 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0001102/0.3448, allocations: 20 kB / 0.5661 GB, free: 35.86 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.271e-05/0.3449, allocations: 15.42 kB / 0.5661 GB, free: 35.84 MB / 410.7 MB Notification: Performance of SimCode: time 2e-07/0.3449, allocations: 0 / 0.5661 GB, free: 35.84 MB / 410.7 MB Notification: Performance of Templates: time 0.002926/0.3478, allocations: 1.155 MB / 0.5672 GB, free: 34.69 MB / 410.7 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)