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: "" <> 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/Complex 4.0.0+maint.om/package.mo): time 0.001567/0.001567, allocations: 182.2 kB / 15.76 MB, free: 6.363 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.5039/0.5039, allocations: 91.98 MB / 108.5 MB, free: 13.08 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.753/1.753, allocations: 223.2 MB / 354.3 MB, free: 12.2 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.001125/0.001126, allocations: 88.28 kB / 427.4 MB, free: 3.957 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003536/0.0003536, allocations: 8 kB / 0.4983 GB, free: 42.21 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1605/0.1609, allocations: 72.31 MB / 0.5689 GB, free: 1.828 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.554/0.7149, allocations: 102.3 MB / 0.6688 GB, free: 2.129 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000282/0.7153, allocations: 81.44 kB / 0.6689 GB, free: 2.051 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01315/0.7284, allocations: 4.132 MB / 0.6729 GB, free: 13.93 MB / 474.7 MB Notification: Performance of FrontEnd: time 2.965e-06/0.7285, allocations: 0 / 0.6729 GB, free: 13.93 MB / 474.7 MB Notification: Performance of Transformations before backend: time 1.405e-05/0.7285, allocations: 4 kB / 0.6729 GB, free: 13.93 MB / 474.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.0005365/0.7291, allocations: 375.8 kB / 0.6733 GB, free: 13.52 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.01e-05/0.7291, allocations: 8.031 kB / 0.6733 GB, free: 13.51 MB / 474.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.796e-05/0.7292, allocations: 34.56 kB / 0.6733 GB, free: 13.46 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003841/0.7296, allocations: 67.88 kB / 0.6734 GB, free: 13.4 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000134/0.7297, allocations: 163.1 kB / 0.6736 GB, free: 13.2 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.378e-05/0.7297, allocations: 0 / 0.6736 GB, free: 13.2 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.327e-05/0.7298, allocations: 0 / 0.6736 GB, free: 13.2 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002811/0.7301, allocations: 93.55 kB / 0.6736 GB, free: 13.1 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.033e-05/0.7301, allocations: 0 / 0.6736 GB, free: 13.1 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.373e-05/0.7301, allocations: 0 / 0.6736 GB, free: 13.1 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.581e-06/0.7301, allocations: 0 / 0.6736 GB, free: 13.1 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003011/0.7304, allocations: 79.89 kB / 0.6737 GB, free: 13.02 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002384/0.7307, allocations: 173.6 kB / 0.6739 GB, free: 12.8 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006098/0.7313, allocations: 138.5 kB / 0.674 GB, free: 12.66 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.073e-05/0.7314, allocations: 16 kB / 0.674 GB, free: 12.64 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.128e-05/0.7314, allocations: 31.09 kB / 0.6741 GB, free: 12.61 MB / 474.7 MB Notification: Performance of pre-optimization done (n=4): time 1.382e-06/0.7314, allocations: 0 / 0.6741 GB, free: 12.61 MB / 474.7 MB Notification: Performance of matching and sorting (n=5): time 0.001264/0.7327, allocations: 434.2 kB / 0.6745 GB, free: 12.13 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.224e-05/0.7327, allocations: 59.41 kB / 0.6745 GB, free: 12.06 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.276e-05/0.7328, allocations: 88.95 kB / 0.6746 GB, free: 11.96 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 2.379e-05/0.7329, allocations: 33.75 kB / 0.6746 GB, free: 11.93 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.538e-05/0.7329, allocations: 84.14 kB / 0.6747 GB, free: 11.84 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.421e-05/0.7329, allocations: 23.66 kB / 0.6748 GB, free: 11.82 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.301e-06/0.733, allocations: 0 / 0.6748 GB, free: 11.82 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0001313/0.7331, allocations: 310.8 kB / 0.675 GB, free: 11.5 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001622/0.7333, allocations: 47.95 kB / 0.6751 GB, free: 11.46 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001427/0.7334, allocations: 39.97 kB / 0.6751 GB, free: 11.42 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001537/0.7336, allocations: 43.97 kB / 0.6752 GB, free: 11.38 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.51e-07/0.7336, allocations: 0 / 0.6752 GB, free: 11.38 MB / 474.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.000369/0.734, allocations: 125.8 kB / 0.6753 GB, free: 11.25 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.836e-05/0.734, allocations: 7.984 kB / 0.6753 GB, free: 11.24 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.971e-06/0.734, allocations: 0 / 0.6753 GB, free: 11.24 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.648e-05/0.734, allocations: 4 kB / 0.6753 GB, free: 11.23 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001495/0.7342, allocations: 27.98 kB / 0.6753 GB, free: 11.21 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.634e-06/0.7342, allocations: 0 / 0.6753 GB, free: 11.21 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.694e-05/0.7343, allocations: 15.98 kB / 0.6753 GB, free: 11.19 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.58e-05/0.7343, allocations: 15.94 kB / 0.6754 GB, free: 11.18 MB / 474.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001102/0.7344, allocations: 113.8 kB / 0.6755 GB, free: 11.05 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.497e-05/0.7345, allocations: 0 / 0.6755 GB, free: 11.05 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000471/0.7349, allocations: 145.1 kB / 0.6756 GB, free: 10.91 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.513e-06/0.735, allocations: 3.984 kB / 0.6756 GB, free: 10.9 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.14e-06/0.735, allocations: 4 kB / 0.6756 GB, free: 10.9 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.426e-06/0.735, allocations: 0 / 0.6756 GB, free: 10.9 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001573/0.7351, allocations: 169.6 kB / 0.6758 GB, free: 10.68 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.523e-06/0.7352, allocations: 0 / 0.6758 GB, free: 10.68 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001583/0.7353, allocations: 27.98 kB / 0.6758 GB, free: 10.66 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.377e-06/0.7353, allocations: 0 / 0.6758 GB, free: 10.66 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.562e-05/0.7353, allocations: 4 kB / 0.6758 GB, free: 10.65 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.224e-06/0.7354, allocations: 3.938 kB / 0.6758 GB, free: 10.65 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.232e-06/0.7354, allocations: 0 / 0.6758 GB, free: 10.65 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005656/0.7359, allocations: 216.8 kB / 0.676 GB, free: 10.42 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.819e-05/0.736, allocations: 85.12 kB / 0.6761 GB, free: 10.32 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.85e-05/0.7361, allocations: 0 / 0.6761 GB, free: 10.32 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001204/0.7362, allocations: 24.05 kB / 0.6761 GB, free: 10.29 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.915e-05/0.7362, allocations: 4.312 kB / 0.6761 GB, free: 10.29 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.066e-05/0.7362, allocations: 4 kB / 0.6761 GB, free: 10.29 MB / 474.7 MB Notification: Performance of sorting global known variables: time 3.382e-05/0.7363, allocations: 75.28 kB / 0.6762 GB, free: 10.21 MB / 474.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.7363, allocations: 0 / 0.6762 GB, free: 10.21 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.0002832/0.7366, allocations: 43.88 kB / 0.6762 GB, free: 10.17 MB / 474.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001018/0.7376, allocations: 0.7882 MB / 0.677 GB, free: 9.352 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.0003659/0.738, allocations: 99.98 kB / 0.6771 GB, free: 9.254 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 3.226e-06/0.738, allocations: 0 / 0.6771 GB, free: 9.254 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001722/0.7382, allocations: 47.97 kB / 0.6772 GB, free: 9.207 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001203/0.7383, allocations: 4 kB / 0.6772 GB, free: 9.203 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001394/0.7397, allocations: 0.5768 MB / 0.6777 GB, free: 8.574 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002712/0.74, allocations: 0.6848 MB / 0.6784 GB, free: 7.863 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.0001216/0.7401, allocations: 20.05 kB / 0.6784 GB, free: 7.844 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.506e-05/0.7402, allocations: 19.44 kB / 0.6784 GB, free: 7.828 MB / 474.7 MB Notification: Performance of SimCode: time 6.01e-07/0.7402, allocations: 0 / 0.6784 GB, free: 7.828 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01337/0.7536, allocations: 1.781 MB / 0.6802 GB, free: 6.195 MB / 474.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002125/0.7538, allocations: 205.9 kB / 0.6804 GB, free: 5.945 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.615/2.369, allocations: 0 / 0.6804 GB, free: 5.945 MB / 474.7 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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Utilities_Math_Functions_Examples_InverseXDerivativeCheck_fmu --startTime=-1 --stopTime=1 --timeout=50 --tolerance=1e-08 IBPSA_latest_IBPSA_Utilities_Math_Functions_Examples_InverseXDerivativeCheck.fmu > IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.pipe 2>&1)