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: "" <> buildModelFMU(IBPSA.Utilities.Math.Functions.Examples.InverseXDerivativeCheck,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Math_Functions_Examples_InverseXDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Utilities.Math.Functions.Examples.InverseXDerivativeCheck,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Math_Functions_Examples_InverseXDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001261/0.001261, allocations: 103.9 kB / 16.27 MB, free: 6.055 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.001372/0.001372, allocations: 190.7 kB / 17.2 MB, free: 5.684 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.297/1.297, allocations: 222.9 MB / 240.9 MB, free: 15.21 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7537/0.7537, allocations: 122.8 MB / 413.9 MB, free: 15.86 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001437/0.001437, allocations: 67.91 kB / 0.4912 GB, free: 7.344 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.368/0.3695, allocations: 77.92 MB / 0.5673 GB, free: 32.75 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Functions.Examples.InverseXDerivativeCheck): time 0.00172/0.3712, allocations: 0.5899 MB / 0.5679 GB, free: 32.39 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001638/0.3729, allocations: 1.448 MB / 0.5693 GB, free: 31.34 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.354e-05/0.3729, allocations: 0 / 0.5693 GB, free: 31.34 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 1.231e-05/0.3729, allocations: 1 kB / 0.5693 GB, free: 31.34 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 3.164e-05/0.373, allocations: 4.562 kB / 0.5693 GB, free: 31.33 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004992/0.3735, allocations: 145.1 kB / 0.5694 GB, free: 31.27 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 6.591e-05/0.3736, allocations: 29.16 kB / 0.5695 GB, free: 31.27 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.571e-05/0.3736, allocations: 7.25 kB / 0.5695 GB, free: 31.26 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.087e-05/0.3737, allocations: 12.06 kB / 0.5695 GB, free: 31.26 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.754e-05/0.3738, allocations: 27.48 kB / 0.5695 GB, free: 31.25 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.665e-05/0.3738, allocations: 1.719 kB / 0.5695 GB, free: 31.25 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004676/0.3743, allocations: 319.5 kB / 0.5698 GB, free: 31.16 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 2.588e-05/0.3743, allocations: 9.984 kB / 0.5698 GB, free: 31.16 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 3.813e-05/0.3743, allocations: 10.09 kB / 0.5698 GB, free: 31.16 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000381/0.3747, allocations: 187.1 kB / 0.57 GB, free: 31.11 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.079e-06/0.3747, allocations: 2.281 kB / 0.57 GB, free: 31.11 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.673e-06/0.3747, allocations: 3.938 kB / 0.57 GB, free: 31.11 MB / 446.1 MB Notification: Performance of Transformations before backend: time 6.522e-06/0.3748, allocations: 0 / 0.57 GB, free: 31.11 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.0005175/0.3753, allocations: 367.3 kB / 0.5704 GB, free: 30.73 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.22e-05/0.3753, allocations: 11.09 kB / 0.5704 GB, free: 30.73 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.051e-05/0.3754, allocations: 36.02 kB / 0.5704 GB, free: 30.69 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004809/0.3759, allocations: 67.09 kB / 0.5705 GB, free: 30.69 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.895e-05/0.3759, allocations: 166.5 kB / 0.5706 GB, free: 30.49 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.276e-05/0.376, allocations: 1.875 kB / 0.5706 GB, free: 30.49 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.412e-05/0.376, allocations: 4.453 kB / 0.5706 GB, free: 30.49 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002746/0.3763, allocations: 76.78 kB / 0.5707 GB, free: 30.45 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.396e-06/0.3763, allocations: 0 / 0.5707 GB, free: 30.45 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.446e-05/0.3763, allocations: 6.344 kB / 0.5707 GB, free: 30.45 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.44e-06/0.3763, allocations: 1.875 kB / 0.5707 GB, free: 30.45 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003244/0.3767, allocations: 63.62 kB / 0.5708 GB, free: 30.44 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001802/0.3769, allocations: 163.4 kB / 0.5709 GB, free: 30.25 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006204/0.3775, allocations: 125.9 kB / 0.5711 GB, free: 30.21 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001661/0.3777, allocations: 43.03 kB / 0.5711 GB, free: 30.2 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004335/0.3781, allocations: 156.9 kB / 0.5712 GB, free: 30.1 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.561e-05/0.3781, allocations: 37.31 kB / 0.5713 GB, free: 30.06 MB / 446.1 MB Notification: Performance of pre-optimization done (n=4): time 1.212e-06/0.3781, allocations: 1.844 kB / 0.5713 GB, free: 30.06 MB / 446.1 MB Notification: Performance of matching and sorting (n=5): time 0.001194/0.3793, allocations: 401.7 kB / 0.5717 GB, free: 29.79 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.934e-05/0.3794, allocations: 52.5 kB / 0.5717 GB, free: 29.72 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.04e-05/0.3794, allocations: 95.12 kB / 0.5718 GB, free: 29.62 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.472e-05/0.3795, allocations: 31.11 kB / 0.5718 GB, free: 29.59 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.653e-05/0.3795, allocations: 85.48 kB / 0.5719 GB, free: 29.5 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.304e-05/0.3795, allocations: 16.17 kB / 0.5719 GB, free: 29.49 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.62e-05/0.3796, allocations: 20.61 kB / 0.572 GB, free: 29.47 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 5.934e-05/0.3796, allocations: 318.4 kB / 0.5723 GB, free: 29.16 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001707/0.3798, allocations: 36.89 kB / 0.5723 GB, free: 29.15 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001685/0.38, allocations: 41.05 kB / 0.5723 GB, free: 29.14 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003245/0.3803, allocations: 78.77 kB / 0.5724 GB, free: 29.12 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.82e-07/0.3803, allocations: 0 / 0.5724 GB, free: 29.12 MB / 446.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.000371/0.3807, allocations: 117.4 kB / 0.5725 GB, free: 29.08 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.193e-05/0.3807, allocations: 8.781 kB / 0.5725 GB, free: 29.08 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.954e-06/0.3807, allocations: 0 / 0.5725 GB, free: 29.08 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.103e-05/0.3808, allocations: 2.688 kB / 0.5725 GB, free: 29.08 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001527/0.3809, allocations: 23.72 kB / 0.5726 GB, free: 29.08 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.626e-06/0.3809, allocations: 1.281 kB / 0.5726 GB, free: 29.08 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001001/0.3811, allocations: 16.22 kB / 0.5726 GB, free: 29.07 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.116e-05/0.3811, allocations: 1.406 kB / 0.5726 GB, free: 29.07 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 8.005e-05/0.3812, allocations: 111.3 kB / 0.5727 GB, free: 28.96 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.207e-05/0.3812, allocations: 10.09 kB / 0.5727 GB, free: 28.95 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004999/0.3817, allocations: 137.8 kB / 0.5728 GB, free: 28.9 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.785e-06/0.3817, allocations: 0 / 0.5728 GB, free: 28.9 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.402e-06/0.3817, allocations: 3.594 kB / 0.5728 GB, free: 28.9 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.623e-06/0.3817, allocations: 1.969 kB / 0.5728 GB, free: 28.9 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001293/0.3819, allocations: 163.9 kB / 0.573 GB, free: 28.7 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.585e-06/0.3819, allocations: 5.969 kB / 0.573 GB, free: 28.7 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001621/0.382, allocations: 32.48 kB / 0.573 GB, free: 28.69 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.226e-06/0.3821, allocations: 1.688 kB / 0.573 GB, free: 28.69 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.129e-05/0.3821, allocations: 0.7031 kB / 0.573 GB, free: 28.69 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.543e-06/0.3821, allocations: 1.469 kB / 0.573 GB, free: 28.69 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.244e-06/0.3821, allocations: 0.5625 kB / 0.573 GB, free: 28.69 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006492/0.3827, allocations: 187.5 kB / 0.5732 GB, free: 28.6 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.587e-05/0.3828, allocations: 90.91 kB / 0.5733 GB, free: 28.5 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.17e-05/0.3829, allocations: 2.688 kB / 0.5733 GB, free: 28.5 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001376/0.383, allocations: 14.05 kB / 0.5733 GB, free: 28.5 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.087e-05/0.383, allocations: 4.078 kB / 0.5733 GB, free: 28.5 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.188e-05/0.3831, allocations: 7.109 kB / 0.5733 GB, free: 28.5 MB / 446.1 MB Notification: Performance of sorting global known variables: time 2.969e-05/0.3831, allocations: 80.28 kB / 0.5734 GB, free: 28.42 MB / 446.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3831, allocations: 0 / 0.5734 GB, free: 28.42 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002811/0.3834, allocations: 38.08 kB / 0.5734 GB, free: 28.41 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.0007918/0.3842, allocations: 0.7458 MB / 0.5742 GB, free: 27.78 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.000409/0.3846, allocations: 90.94 kB / 0.5742 GB, free: 27.76 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.977e-06/0.3846, allocations: 0.9375 kB / 0.5742 GB, free: 27.76 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001682/0.3848, allocations: 42.53 kB / 0.5743 GB, free: 27.76 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001494/0.3849, allocations: 7.891 kB / 0.5743 GB, free: 27.75 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0019/0.3869, allocations: 1.35 MB / 0.5756 GB, free: 26.61 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001138/0.387, allocations: 0.6788 MB / 0.5763 GB, free: 25.92 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0001071/0.3871, allocations: 23.34 kB / 0.5763 GB, free: 25.9 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.257e-05/0.3872, allocations: 13.25 kB / 0.5763 GB, free: 25.89 MB / 446.1 MB Notification: Performance of SimCode: time 4.21e-07/0.3872, allocations: 0 / 0.5763 GB, free: 25.89 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01926/0.4064, allocations: 2.029 MB / 0.5783 GB, free: 25.52 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.017/7.423, allocations: 5.5 kB / 0.5783 GB, free: 25.52 MB / 446.1 MB (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 & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.InverseXDerivativeCheck_res.csv --start-time -1 --stop-time 1 --timeout 50 --relative-tolerance 1e-08 --interface-type ModelExchange --solver CVode --output-interval 0.0008 IBPSA_latest_IBPSA_Utilities_Math_Functions_Examples_InverseXDerivativeCheck.fmu > IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.pipe 2>&1)