Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package BuildSysPro with version 3.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo) Running command: "" <> buildModelFMU(BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.InverseXDerivativeCheck,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Functions_Examples_InverseXDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.InverseXDerivativeCheck,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Functions_Examples_InverseXDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo): time 0.7143/0.7143, allocations: 127.4 MB / 134.9 MB, free: 3.445 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001063/0.001063, allocations: 182.7 kB / 164.6 MB, free: 11.59 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.669/1.669, allocations: 205.2 MB / 399.5 MB, free: 13.52 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.00102/0.00102, allocations: 99.77 kB / 476.7 MB, free: 1.465 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 2.66e-05/2.657e-05, allocations: 8.094 kB / 0.5467 GB, free: 95.38 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1741/0.1742, allocations: 76.77 MB / 0.6216 GB, free: 42.94 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1378/0.312, allocations: 102.7 MB / 0.7219 GB, free: 4.098 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002368/0.3123, allocations: 95.92 kB / 0.722 GB, free: 4.004 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 0.01262/0.3249, allocations: 4.262 MB / 0.7262 GB, free: 15.74 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.443e-06/0.325, allocations: 0 / 0.7262 GB, free: 15.74 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 6.492e-06/0.325, allocations: 0 / 0.7262 GB, free: 15.74 MB / 0.5105 GB 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.0004255/0.3254, allocations: 374.3 kB / 0.7265 GB, free: 15.33 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 5.015e-05/0.3255, allocations: 8.031 kB / 0.7266 GB, free: 15.32 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003745/0.3258, allocations: 67.88 kB / 0.7266 GB, free: 15.25 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001364/0.326, allocations: 159.1 kB / 0.7268 GB, free: 15.06 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.369e-05/0.326, allocations: 4 kB / 0.7268 GB, free: 15.05 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.999e-05/0.326, allocations: 0 / 0.7268 GB, free: 15.05 MB / 0.5105 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.884e-05/0.3261, allocations: 19.98 kB / 0.7268 GB, free: 15.04 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001019/0.3262, allocations: 49.67 kB / 0.7268 GB, free: 14.98 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.905e-06/0.3263, allocations: 0 / 0.7268 GB, free: 14.98 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.709e-05/0.3263, allocations: 7.984 kB / 0.7269 GB, free: 14.97 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.627e-06/0.3263, allocations: 0 / 0.7269 GB, free: 14.97 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000182/0.3265, allocations: 146.1 kB / 0.727 GB, free: 14.79 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002307/0.3267, allocations: 54.61 kB / 0.727 GB, free: 14.73 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.226e-05/0.3268, allocations: 16.86 kB / 0.7271 GB, free: 14.71 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 3.758e-05/0.3268, allocations: 11.94 kB / 0.7271 GB, free: 14.7 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.619e-05/0.3269, allocations: 34.56 kB / 0.7271 GB, free: 14.66 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=4): time 1.082e-06/0.3269, allocations: 0 / 0.7271 GB, free: 14.66 MB / 0.5105 GB Notification: Performance of matching and sorting (n=5): time 0.001241/0.3281, allocations: 426.2 kB / 0.7275 GB, free: 14.19 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.962e-05/0.3282, allocations: 59.39 kB / 0.7276 GB, free: 14.12 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.937e-05/0.3282, allocations: 93 kB / 0.7277 GB, free: 14.02 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 1.631e-05/0.3282, allocations: 25.7 kB / 0.7277 GB, free: 13.99 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 2.704e-05/0.3283, allocations: 80.14 kB / 0.7278 GB, free: 13.91 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 3.104e-05/0.3283, allocations: 19.66 kB / 0.7278 GB, free: 13.89 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.063e-06/0.3283, allocations: 0 / 0.7278 GB, free: 13.89 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001374/0.3285, allocations: 322.8 kB / 0.7281 GB, free: 13.56 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.218e-05/0.3285, allocations: 12.12 kB / 0.7281 GB, free: 13.55 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.506e-05/0.3285, allocations: 12 kB / 0.7281 GB, free: 13.54 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002575/0.3288, allocations: 63.92 kB / 0.7282 GB, free: 13.48 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.22e-07/0.3288, allocations: 0 / 0.7282 GB, free: 13.48 MB / 0.5105 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0003321/0.3292, allocations: 117.5 kB / 0.7283 GB, free: 13.36 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.512e-05/0.3292, allocations: 8 kB / 0.7283 GB, free: 13.35 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.27e-06/0.3292, allocations: 0 / 0.7283 GB, free: 13.35 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.21e-05/0.3292, allocations: 0 / 0.7283 GB, free: 13.35 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001488/0.3294, allocations: 27.98 kB / 0.7283 GB, free: 13.32 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.795e-06/0.3294, allocations: 0 / 0.7283 GB, free: 13.32 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.798e-05/0.3295, allocations: 12.23 kB / 0.7283 GB, free: 13.31 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.368e-05/0.3295, allocations: 15.98 kB / 0.7283 GB, free: 13.29 MB / 0.5105 GB 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 () * 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 7.481e-05/0.3296, allocations: 104.9 kB / 0.7284 GB, free: 13.18 MB / 0.5105 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0003264/0.3299, allocations: 113.6 kB / 0.7285 GB, free: 13.07 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.284e-05/0.3299, allocations: 3.906 kB / 0.7286 GB, free: 13.06 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004092/0.3304, allocations: 137.7 kB / 0.7287 GB, free: 12.93 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.723e-06/0.3304, allocations: 0 / 0.7287 GB, free: 12.93 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.578e-06/0.3304, allocations: 0 / 0.7287 GB, free: 12.93 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.849e-06/0.3304, allocations: 7.984 kB / 0.7287 GB, free: 12.92 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001104/0.3305, allocations: 142.2 kB / 0.7288 GB, free: 12.74 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.11e-07/0.3305, allocations: 3.938 kB / 0.7288 GB, free: 12.74 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00015/0.3307, allocations: 27.97 kB / 0.7289 GB, free: 12.71 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.114e-06/0.3307, allocations: 192 / 0.7289 GB, free: 12.71 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.095e-05/0.3307, allocations: 4 kB / 0.7289 GB, free: 12.71 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.362e-06/0.3307, allocations: 0 / 0.7289 GB, free: 12.71 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.335e-06/0.3307, allocations: 4 kB / 0.7289 GB, free: 12.7 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004143/0.3311, allocations: 172.9 kB / 0.729 GB, free: 12.52 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 7.817e-05/0.3312, allocations: 81.09 kB / 0.7291 GB, free: 12.42 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.184e-05/0.3313, allocations: 12.08 kB / 0.7291 GB, free: 12.41 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001146/0.3314, allocations: 11.98 kB / 0.7291 GB, free: 12.39 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.787e-05/0.3314, allocations: 8 kB / 0.7291 GB, free: 12.39 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.407e-06/0.3314, allocations: 4 kB / 0.7291 GB, free: 12.38 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 3.143e-05/0.3315, allocations: 75.28 kB / 0.7292 GB, free: 12.31 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.4e-07/0.3315, allocations: 0 / 0.7292 GB, free: 12.31 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0002483/0.3317, allocations: 44.02 kB / 0.7293 GB, free: 12.27 MB / 0.5105 GB 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 () * 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.0007851/0.3325, allocations: 0.7597 MB / 0.73 GB, free: 11.48 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0001146/0.3327, allocations: 32 kB / 0.73 GB, free: 11.45 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/0.3327, allocations: 0 / 0.73 GB, free: 11.45 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 3.818e-05/0.3327, allocations: 20 kB / 0.73 GB, free: 11.43 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001199/0.3328, allocations: 4.688 kB / 0.7301 GB, free: 11.43 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005908/0.3334, allocations: 175.5 kB / 0.7302 GB, free: 11.22 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002432/0.3337, allocations: 0.6846 MB / 0.7309 GB, free: 10.51 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.0001112/0.3338, allocations: 16 kB / 0.7309 GB, free: 10.49 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.604e-05/0.3339, allocations: 15.42 kB / 0.7309 GB, free: 10.48 MB / 0.5105 GB Notification: Performance of SimCode: time 2.81e-07/0.3339, allocations: 0 / 0.7309 GB, free: 10.48 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02048/0.3544, allocations: 1.51 MB / 0.7324 GB, free: 8.969 MB / 0.5105 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002059/0.3546, allocations: 164.9 kB / 0.7325 GB, free: 8.777 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.419/1.773, allocations: 0 / 0.7325 GB, free: 8.777 MB / 0.5105 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Functions_Examples_InverseXDerivativeCheck_fmu --startTime=-1 --stopTime=1 --timeout=50 --tolerance=1e-08 BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Functions_Examples_InverseXDerivativeCheck.fmu > BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.pipe 2>&1)