Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/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) 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 BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Running command: "" <> buildModelFMU(BuildingSystems.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Math_Functions_Examples_InverseXDerivative_2_Check",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Math_Functions_Examples_InverseXDerivative_2_Check",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9081/0.9081, allocations: 143.3 MB / 158.3 MB, free: 5.773 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001061/0.001061, allocations: 185 kB / 191.5 MB, free: 5.766 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.45/1.45, allocations: 223.2 MB / 447.7 MB, free: 4.824 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009402/0.0009401, allocations: 88.38 kB / 0.5187 GB, free: 1.188 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001895/0.001895, allocations: 268 kB / 0.6005 GB, free: 48.77 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004169/0.000417, allocations: 14.92 kB / 0.6929 GB, free: 59.74 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1856/0.1861, allocations: 82.8 MB / 0.7738 GB, free: 13.74 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5162/0.7023, allocations: 110.2 MB / 0.8814 GB, free: 108.2 MB / 0.5417 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002361/0.7026, allocations: 81.14 kB / 0.8815 GB, free: 108.2 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 0.01589/0.7185, allocations: 5.539 MB / 0.8869 GB, free: 107.6 MB / 0.5417 GB Notification: Performance of FrontEnd: time 3.096e-06/0.7186, allocations: 0 / 0.8869 GB, free: 107.6 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 9.478e-06/0.7186, allocations: 0 / 0.8869 GB, free: 107.6 MB / 0.5417 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.000595/0.7192, allocations: 401.9 kB / 0.8872 GB, free: 107.2 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 5.033e-05/0.7193, allocations: 9.625 kB / 0.8873 GB, free: 107.2 MB / 0.5417 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.553e-05/0.7193, allocations: 42.59 kB / 0.8873 GB, free: 107.2 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00037/0.7197, allocations: 68.86 kB / 0.8874 GB, free: 107.2 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.139e-05/0.7198, allocations: 169.7 kB / 0.8875 GB, free: 107 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.045e-05/0.7198, allocations: 9.578 kB / 0.8875 GB, free: 107 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.491e-05/0.7199, allocations: 6.234 kB / 0.8875 GB, free: 107 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003891/0.7202, allocations: 122.8 kB / 0.8877 GB, free: 106.9 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.274e-05/0.7203, allocations: 0 / 0.8877 GB, free: 106.9 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.619e-05/0.7203, allocations: 6 kB / 0.8877 GB, free: 106.9 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.232e-06/0.7203, allocations: 1.375 kB / 0.8877 GB, free: 106.9 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004973/0.7208, allocations: 123.1 kB / 0.8878 GB, free: 106.9 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005671/0.7214, allocations: 344.8 kB / 0.8881 GB, free: 106.7 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008845/0.7223, allocations: 187.5 kB / 0.8883 GB, free: 106.6 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 2.192e-05/0.7223, allocations: 3.938 kB / 0.8883 GB, free: 106.6 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.525e-05/0.7224, allocations: 32.61 kB / 0.8883 GB, free: 106.6 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=7): time 1.563e-06/0.7224, allocations: 0 / 0.8883 GB, free: 106.6 MB / 0.5417 GB Warning: Some equations could not be differentiated for following variables having attribute stateSelect=StateSelect.prefer. They will be treated as if they had stateSelect=StateSelect.default ======================================== 1: x Please use -d=bltdump for more information. Notification: Performance of matching and sorting (n=11): time 0.02794/0.7503, allocations: 3.192 MB / 0.8914 GB, free: 106 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.947e-05/0.7504, allocations: 54.31 kB / 0.8915 GB, free: 105.9 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.247e-05/0.7505, allocations: 91.55 kB / 0.8916 GB, free: 105.8 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 7.461e-05/0.7506, allocations: 32.17 kB / 0.8916 GB, free: 105.8 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 4.812e-05/0.7507, allocations: 90.77 kB / 0.8917 GB, free: 105.7 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 9.232e-05/0.7508, allocations: 38.8 kB / 0.8917 GB, free: 105.7 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.439e-05/0.7508, allocations: 0 / 0.8917 GB, free: 105.7 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 6.583e-05/0.7509, allocations: 317.8 kB / 0.892 GB, free: 105.4 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001015/0.752, allocations: 212.8 kB / 0.8922 GB, free: 105.4 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001004/0.753, allocations: 222.1 kB / 0.8924 GB, free: 105.4 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001046/0.754, allocations: 216 kB / 0.8927 GB, free: 105.4 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.324e-06/0.7541, allocations: 3.938 kB / 0.8927 GB, free: 105.4 MB / 0.5417 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.002309/0.7564, allocations: 0.5237 MB / 0.8932 GB, free: 105.3 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 2.179e-05/0.7564, allocations: 5.281 kB / 0.8932 GB, free: 105.3 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.973e-06/0.7564, allocations: 0 / 0.8932 GB, free: 105.3 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.926e-05/0.7565, allocations: 2.406 kB / 0.8932 GB, free: 105.3 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00134/0.7578, allocations: 117.2 kB / 0.8933 GB, free: 105.3 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.15e-05/0.7578, allocations: 3.953 kB / 0.8933 GB, free: 105.3 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001039/0.7589, allocations: 60.75 kB / 0.8934 GB, free: 105.2 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.607e-05/0.759, allocations: 26.33 kB / 0.8934 GB, free: 105.2 MB / 0.5417 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (13): * Single equations (assignments): 13 * 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.000204/0.7592, allocations: 124.5 kB / 0.8935 GB, free: 105.1 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001077/0.7593, allocations: 3.188 kB / 0.8935 GB, free: 105.1 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.416e-05/0.7594, allocations: 13.5 kB / 0.8935 GB, free: 105.1 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.811e-06/0.7594, allocations: 0.8125 kB / 0.8935 GB, free: 105.1 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.316e-06/0.7595, allocations: 4.766 kB / 0.8935 GB, free: 105.1 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.512e-06/0.7595, allocations: 3.953 kB / 0.8935 GB, free: 105.1 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003547/0.763, allocations: 1.102 MB / 0.8946 GB, free: 104.3 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.232e-06/0.7631, allocations: 0 / 0.8946 GB, free: 104.3 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001397/0.7645, allocations: 120.9 kB / 0.8947 GB, free: 104.2 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.718e-06/0.7645, allocations: 5.203 kB / 0.8947 GB, free: 104.2 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.039e-05/0.7646, allocations: 28.58 kB / 0.8947 GB, free: 104.2 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.13e-06/0.7646, allocations: 320 / 0.8947 GB, free: 104.2 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.096e-06/0.7646, allocations: 5.125 kB / 0.8947 GB, free: 104.2 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003821/0.7685, allocations: 0.8589 MB / 0.8956 GB, free: 103.9 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002277/0.7687, allocations: 123.1 kB / 0.8957 GB, free: 103.8 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001018/0.7688, allocations: 5.203 kB / 0.8957 GB, free: 103.8 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001154/0.77, allocations: 57.75 kB / 0.8958 GB, free: 103.7 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001372/0.7702, allocations: 33.64 kB / 0.8958 GB, free: 103.7 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.753e-05/0.7703, allocations: 26.39 kB / 0.8958 GB, free: 103.7 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 4.484e-05/0.7703, allocations: 78.75 kB / 0.8959 GB, free: 103.6 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.7e-07/0.7703, allocations: 3.938 kB / 0.8959 GB, free: 103.6 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.000693/0.771, allocations: 61.31 kB / 0.896 GB, free: 103.6 MB / 0.5417 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (y_comp,der_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 (11): * Single equations (assignments): 11 * 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.003838/0.7749, allocations: 1.424 MB / 0.8974 GB, free: 102.7 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.002147/0.7771, allocations: 466 kB / 0.8978 GB, free: 102.6 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 4.599e-06/0.7771, allocations: 4 kB / 0.8978 GB, free: 102.6 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.00108/0.7782, allocations: 255 kB / 0.898 GB, free: 102.5 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003596/0.7786, allocations: 13.61 kB / 0.8981 GB, free: 102.5 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009957/0.7885, allocations: 1.86 MB / 0.8999 GB, free: 101.6 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001292/0.7887, allocations: 0.7008 MB / 0.9006 GB, free: 100.9 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.001245/0.79, allocations: 87.86 kB / 0.9006 GB, free: 100.8 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00041/0.7904, allocations: 64.17 kB / 0.9007 GB, free: 100.8 MB / 0.5417 GB Notification: Performance of SimCode: time 7.71e-07/0.7904, allocations: 0 / 0.9007 GB, free: 100.8 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01972/0.8101, allocations: 4.165 MB / 0.9048 GB, free: 98.7 MB / 0.5417 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001842/0.8103, allocations: 207.4 kB / 0.905 GB, free: 98.46 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.685/2.496, allocations: 0 / 0.905 GB, free: 98.46 MB / 0.5417 GB (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Utilities_Math_Functions_Examples_InverseXDerivative_2_Check_fmu --startTime=-1.5 --stopTime=1.5 --timeout=50 --tolerance=1e-08 BuildingSystems_BuildingSystems_Utilities_Math_Functions_Examples_InverseXDerivative_2_Check.fmu > BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.pipe 2>&1)