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/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.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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001093/0.001093, allocations: 90.42 kB / 16.67 MB, free: 6.594 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.001054/0.001054, allocations: 182.4 kB / 17.58 MB, free: 6.188 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.444/1.444, allocations: 223.3 MB / 241.6 MB, free: 216 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7397/0.7397, allocations: 115.5 MB / 408.2 MB, free: 7.055 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003611/0.0003613, allocations: 12 kB / 496.5 MB, free: 15.65 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3664/0.3668, allocations: 77.51 MB / 0.5606 GB, free: 36.23 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Functions.Examples.InverseXDerivativeCheck): time 0.0006654/0.3675, allocations: 334.6 kB / 0.5609 GB, free: 36 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001635/0.3692, allocations: 1.448 MB / 0.5623 GB, free: 34.95 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.508e-05/0.3692, allocations: 1.062 kB / 0.5623 GB, free: 34.95 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 1.315e-05/0.3692, allocations: 0 / 0.5623 GB, free: 34.95 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 2.905e-05/0.3693, allocations: 3.938 kB / 0.5623 GB, free: 34.95 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004357/0.3697, allocations: 110.2 kB / 0.5624 GB, free: 34.9 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 5.666e-05/0.3698, allocations: 29.92 kB / 0.5625 GB, free: 34.89 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.923e-05/0.3698, allocations: 7.281 kB / 0.5625 GB, free: 34.89 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.948e-05/0.3699, allocations: 16.53 kB / 0.5625 GB, free: 34.89 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.902e-05/0.3699, allocations: 26.62 kB / 0.5625 GB, free: 34.88 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.54e-05/0.37, allocations: 2.188 kB / 0.5625 GB, free: 34.88 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004634/0.3704, allocations: 319.8 kB / 0.5628 GB, free: 34.79 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 1.598e-05/0.3705, allocations: 5.109 kB / 0.5628 GB, free: 34.79 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 3.353e-05/0.3705, allocations: 40.23 kB / 0.5629 GB, free: 34.75 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002141/0.3707, allocations: 131.8 kB / 0.563 GB, free: 34.73 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.118e-06/0.3707, allocations: 0 / 0.563 GB, free: 34.73 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.413e-06/0.3707, allocations: 0 / 0.563 GB, free: 34.73 MB / 446.1 MB Notification: Performance of Transformations before backend: time 4.619e-06/0.3708, allocations: 4.781 kB / 0.563 GB, free: 34.73 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0004373/0.3712, allocations: 358.8 kB / 0.5633 GB, free: 34.36 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.783e-05/0.3712, allocations: 12.5 kB / 0.5633 GB, free: 34.35 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000482/0.3717, allocations: 80.7 kB / 0.5634 GB, free: 34.35 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.424e-05/0.3718, allocations: 165 kB / 0.5636 GB, free: 34.15 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.127e-05/0.3718, allocations: 3.031 kB / 0.5636 GB, free: 34.15 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.045e-05/0.3719, allocations: 7.312 kB / 0.5636 GB, free: 34.15 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002554/0.3721, allocations: 88.39 kB / 0.5637 GB, free: 34.11 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.793e-06/0.3721, allocations: 1.344 kB / 0.5637 GB, free: 34.11 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.423e-05/0.3722, allocations: 4 kB / 0.5637 GB, free: 34.1 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.601e-06/0.3722, allocations: 5.109 kB / 0.5637 GB, free: 34.1 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003086/0.3725, allocations: 78.94 kB / 0.5638 GB, free: 34.09 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001411/0.3726, allocations: 164.2 kB / 0.5639 GB, free: 33.9 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006012/0.3732, allocations: 139.9 kB / 0.5641 GB, free: 33.87 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001698/0.3734, allocations: 55.27 kB / 0.5641 GB, free: 33.85 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004688/0.3739, allocations: 175.4 kB / 0.5643 GB, free: 33.75 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.031e-05/0.3739, allocations: 37.86 kB / 0.5643 GB, free: 33.71 MB / 446.1 MB Notification: Performance of pre-optimization done (n=4): time 1.092e-06/0.374, allocations: 0 / 0.5643 GB, free: 33.71 MB / 446.1 MB Notification: Performance of matching and sorting (n=5): time 0.001141/0.3751, allocations: 441.7 kB / 0.5647 GB, free: 33.43 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.399e-05/0.3751, allocations: 53 kB / 0.5648 GB, free: 33.37 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.083e-05/0.3752, allocations: 98.88 kB / 0.5649 GB, free: 33.27 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.424e-05/0.3752, allocations: 30.7 kB / 0.5649 GB, free: 33.23 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.234e-05/0.3752, allocations: 82.89 kB / 0.565 GB, free: 33.15 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.731e-05/0.3753, allocations: 11.42 kB / 0.565 GB, free: 33.14 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.557e-05/0.3753, allocations: 16.39 kB / 0.565 GB, free: 33.12 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.272e-05/0.3753, allocations: 313.3 kB / 0.5653 GB, free: 32.81 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001701/0.3755, allocations: 42.73 kB / 0.5653 GB, free: 32.81 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001565/0.3757, allocations: 45.92 kB / 0.5654 GB, free: 32.8 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003116/0.376, allocations: 87.02 kB / 0.5655 GB, free: 32.79 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.31e-07/0.376, allocations: 3.938 kB / 0.5655 GB, free: 32.79 MB / 446.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0003779/0.3764, allocations: 127.9 kB / 0.5656 GB, free: 32.74 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.483e-05/0.3764, allocations: 7.062 kB / 0.5656 GB, free: 32.74 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.34e-06/0.3764, allocations: 0.7031 kB / 0.5656 GB, free: 32.74 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.229e-05/0.3764, allocations: 1.062 kB / 0.5656 GB, free: 32.74 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001516/0.3766, allocations: 25.88 kB / 0.5656 GB, free: 32.74 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.11e-06/0.3766, allocations: 1.578 kB / 0.5656 GB, free: 32.74 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000105/0.3767, allocations: 17.25 kB / 0.5657 GB, free: 32.74 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.105e-05/0.3767, allocations: 6.406 kB / 0.5657 GB, free: 32.73 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 (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.549e-05/0.3768, allocations: 109.5 kB / 0.5658 GB, free: 32.62 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.611e-05/0.3768, allocations: 9.781 kB / 0.5658 GB, free: 32.61 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004682/0.3773, allocations: 154.5 kB / 0.5659 GB, free: 32.56 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.905e-06/0.3773, allocations: 1 kB / 0.5659 GB, free: 32.56 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.538e-06/0.3773, allocations: 0.5625 kB / 0.5659 GB, free: 32.56 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.935e-06/0.3773, allocations: 0.9688 kB / 0.5659 GB, free: 32.56 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000116/0.3774, allocations: 171.2 kB / 0.5661 GB, free: 32.36 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.282e-06/0.3775, allocations: 0 / 0.5661 GB, free: 32.36 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001609/0.3776, allocations: 30.03 kB / 0.5661 GB, free: 32.36 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.527e-06/0.3776, allocations: 4.672 kB / 0.5661 GB, free: 32.36 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.135e-05/0.3776, allocations: 1.719 kB / 0.5661 GB, free: 32.36 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.605e-06/0.3777, allocations: 5.156 kB / 0.5661 GB, free: 32.35 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.242e-06/0.3777, allocations: 0 / 0.5661 GB, free: 32.35 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005866/0.3783, allocations: 208 kB / 0.5663 GB, free: 32.26 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.215e-05/0.3783, allocations: 91.25 kB / 0.5664 GB, free: 32.16 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.01e-05/0.3783, allocations: 1.828 kB / 0.5664 GB, free: 32.16 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001275/0.3785, allocations: 16.42 kB / 0.5664 GB, free: 32.16 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.597e-05/0.3785, allocations: 10.17 kB / 0.5664 GB, free: 32.16 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.728e-06/0.3785, allocations: 3.547 kB / 0.5664 GB, free: 32.16 MB / 446.1 MB Notification: Performance of sorting global known variables: time 2.127e-05/0.3786, allocations: 79.02 kB / 0.5665 GB, free: 32.08 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3786, allocations: 3.938 kB / 0.5665 GB, free: 32.08 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002509/0.3788, allocations: 31.16 kB / 0.5665 GB, free: 32.07 MB / 446.1 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.0001897/0.379, allocations: 128 kB / 0.5667 GB, free: 31.97 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0003839/0.3794, allocations: 98.02 kB / 0.5668 GB, free: 31.95 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.575e-06/0.3794, allocations: 5.156 kB / 0.5668 GB, free: 31.95 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001723/0.3796, allocations: 47.5 kB / 0.5668 GB, free: 31.95 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001534/0.3798, allocations: 10.84 kB / 0.5668 GB, free: 31.94 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005864/0.3803, allocations: 230.9 kB / 0.567 GB, free: 31.77 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.794e-05/0.3804, allocations: 0.6793 MB / 0.5677 GB, free: 31.08 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.29e-05/0.3805, allocations: 14.06 kB / 0.5677 GB, free: 31.07 MB / 446.1 MB Notification: Performance of SimCode: time 2.51e-07/0.3805, allocations: 0 / 0.5677 GB, free: 31.07 MB / 446.1 MB Notification: Performance of Templates: time 0.002734/0.3833, allocations: 1.111 MB / 0.5688 GB, free: 30.99 MB / 446.1 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)