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.001409/0.001409, allocations: 177.6 kB / 8.004 MB, free: 1.07 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.5392/0.5392, allocations: 90.91 MB / 99.34 MB, free: 2.191 MB / 74.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.785/1.785, allocations: 221.5 MB / 343.2 MB, free: 1.539 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009182/0.0009182, allocations: 87.22 kB / 415.9 MB, free: 11.09 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.675e-05/2.658e-05, allocations: 8 kB / 494.6 MB, free: 52.26 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1616/0.1616, allocations: 72.31 MB / 0.5536 GB, free: 12.14 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5653/0.7269, allocations: 101.6 MB / 0.6528 GB, free: 8.469 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002642/0.7273, allocations: 74.58 kB / 0.6529 GB, free: 8.426 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01242/0.7397, allocations: 4.091 MB / 0.6569 GB, free: 4.98 MB / 458.7 MB Notification: Performance of FrontEnd: time 1.774e-06/0.7398, allocations: 0 / 0.6569 GB, free: 4.98 MB / 458.7 MB Notification: Performance of Transformations before backend: time 8.415e-06/0.7398, allocations: 0 / 0.6569 GB, free: 4.98 MB / 458.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.0004851/0.7403, allocations: 374.3 kB / 0.6572 GB, free: 4.574 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.637e-05/0.7403, allocations: 8.031 kB / 0.6572 GB, free: 4.566 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003935/0.7407, allocations: 67.88 kB / 0.6573 GB, free: 4.5 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001271/0.7409, allocations: 163.1 kB / 0.6575 GB, free: 4.301 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.597e-05/0.7409, allocations: 4 kB / 0.6575 GB, free: 4.297 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.987e-05/0.7409, allocations: 0 / 0.6575 GB, free: 4.297 MB / 458.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.761e-05/0.741, allocations: 23.42 kB / 0.6575 GB, free: 4.277 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001117/0.7411, allocations: 46.11 kB / 0.6575 GB, free: 4.23 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.08e-05/0.7412, allocations: 3.984 kB / 0.6575 GB, free: 4.227 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.482e-05/0.7412, allocations: 0 / 0.6575 GB, free: 4.227 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.914e-06/0.7412, allocations: 3.953 kB / 0.6575 GB, free: 4.223 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001852/0.7414, allocations: 153.2 kB / 0.6577 GB, free: 4.043 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002285/0.7416, allocations: 53.05 kB / 0.6577 GB, free: 3.988 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.208e-05/0.7417, allocations: 19.86 kB / 0.6578 GB, free: 3.969 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.146e-05/0.7417, allocations: 7.125 kB / 0.6578 GB, free: 3.965 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.438e-05/0.7418, allocations: 31.09 kB / 0.6578 GB, free: 3.926 MB / 458.7 MB Notification: Performance of pre-optimization done (n=4): time 9.62e-07/0.7418, allocations: 0 / 0.6578 GB, free: 3.926 MB / 458.7 MB Notification: Performance of matching and sorting (n=5): time 0.001249/0.743, allocations: 430.4 kB / 0.6582 GB, free: 3.473 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.838e-05/0.7431, allocations: 51.41 kB / 0.6583 GB, free: 3.41 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.805e-05/0.7431, allocations: 92.92 kB / 0.6583 GB, free: 3.312 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 1.662e-05/0.7432, allocations: 25.7 kB / 0.6584 GB, free: 3.281 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.731e-05/0.7432, allocations: 91.39 kB / 0.6585 GB, free: 3.191 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.846e-05/0.7432, allocations: 11.75 kB / 0.6585 GB, free: 3.18 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.514e-06/0.7432, allocations: 0 / 0.6585 GB, free: 3.18 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001145/0.7434, allocations: 318.2 kB / 0.6588 GB, free: 2.863 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.044e-05/0.7434, allocations: 15.48 kB / 0.6588 GB, free: 2.852 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.516e-05/0.7434, allocations: 11.56 kB / 0.6588 GB, free: 2.844 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002589/0.7437, allocations: 70.42 kB / 0.6589 GB, free: 2.781 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.81e-07/0.7437, allocations: 4 kB / 0.6589 GB, free: 2.777 MB / 458.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0003255/0.744, allocations: 115 kB / 0.659 GB, free: 2.668 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.236e-05/0.7441, allocations: 13.23 kB / 0.659 GB, free: 2.656 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.431e-06/0.7441, allocations: 0 / 0.659 GB, free: 2.656 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.311e-05/0.7441, allocations: 0 / 0.659 GB, free: 2.656 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000147/0.7443, allocations: 23.98 kB / 0.659 GB, free: 2.633 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.12e-06/0.7443, allocations: 0 / 0.659 GB, free: 2.633 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001007/0.7444, allocations: 19.98 kB / 0.659 GB, free: 2.613 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.856e-06/0.7444, allocations: 0 / 0.659 GB, free: 2.613 MB / 458.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 () * 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.872e-05/0.7445, allocations: 112.9 kB / 0.6591 GB, free: 2.496 MB / 458.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0003244/0.7448, allocations: 106.7 kB / 0.6592 GB, free: 2.395 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.218e-05/0.7448, allocations: 8 kB / 0.6592 GB, free: 2.387 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004225/0.7453, allocations: 132.5 kB / 0.6594 GB, free: 2.27 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.804e-06/0.7453, allocations: 0 / 0.6594 GB, free: 2.27 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.209e-06/0.7453, allocations: 4 kB / 0.6594 GB, free: 2.266 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.308e-06/0.7453, allocations: 0 / 0.6594 GB, free: 2.266 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001436/0.7454, allocations: 149.4 kB / 0.6595 GB, free: 2.086 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.193e-06/0.7455, allocations: 3.938 kB / 0.6595 GB, free: 2.082 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001635/0.7456, allocations: 35.53 kB / 0.6596 GB, free: 2.051 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.154e-06/0.7456, allocations: 0 / 0.6596 GB, free: 2.051 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.255e-05/0.7457, allocations: 0 / 0.6596 GB, free: 2.051 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.262e-06/0.7457, allocations: 0 / 0.6596 GB, free: 2.051 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.21e-06/0.7457, allocations: 0 / 0.6596 GB, free: 2.051 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004641/0.7461, allocations: 178 kB / 0.6597 GB, free: 1.879 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.562e-05/0.7462, allocations: 85.12 kB / 0.6598 GB, free: 1.777 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.117e-05/0.7463, allocations: 0 / 0.6598 GB, free: 1.777 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001259/0.7464, allocations: 19.97 kB / 0.6598 GB, free: 1.758 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.89e-05/0.7464, allocations: 4.062 kB / 0.6598 GB, free: 1.754 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.075e-05/0.7465, allocations: 4 kB / 0.6598 GB, free: 1.75 MB / 458.7 MB Notification: Performance of sorting global known variables: time 4.689e-05/0.7465, allocations: 82.72 kB / 0.6599 GB, free: 1.672 MB / 458.7 MB Notification: Performance of sort global known variables: time 3.81e-07/0.7465, allocations: 0 / 0.6599 GB, free: 1.672 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0003076/0.7468, allocations: 43.92 kB / 0.66 GB, free: 1.629 MB / 458.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 () * 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.0009038/0.7477, allocations: 0.733 MB / 0.6607 GB, free: 0.8828 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.0001479/0.7479, allocations: 41.86 kB / 0.6607 GB, free: 0.8516 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 3.307e-06/0.7479, allocations: 0 / 0.6607 GB, free: 0.8516 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 4.853e-05/0.748, allocations: 25.56 kB / 0.6607 GB, free: 0.832 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00015/0.7481, allocations: 4.062 kB / 0.6607 GB, free: 0.8281 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000679/0.7488, allocations: 170.9 kB / 0.6609 GB, free: 0.6328 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000327/0.7492, allocations: 0.6885 MB / 0.6616 GB, free: 15.92 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.0001097/0.7493, allocations: 16.19 kB / 0.6616 GB, free: 15.9 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.946e-05/0.7494, allocations: 11.44 kB / 0.6616 GB, free: 15.89 MB / 474.7 MB Notification: Performance of SimCode: time 2.61e-07/0.7494, allocations: 0 / 0.6616 GB, free: 15.89 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01986/0.7692, allocations: 1.475 MB / 0.663 GB, free: 14.43 MB / 474.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000216/0.7695, allocations: 160 kB / 0.6632 GB, free: 14.23 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.542/2.311, allocations: 0 / 0.6632 GB, free: 14.23 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)