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: translateModel(BuildingSystems.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check") translateModel(BuildingSystems.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8161/0.8161, allocations: 143.4 MB / 158.3 MB, free: 5.758 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.001121/0.001121, allocations: 179.7 kB / 191.5 MB, free: 5.754 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.561/1.561, allocations: 223.2 MB / 447.7 MB, free: 4.805 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.0009698/0.0009699, allocations: 96.27 kB / 0.5188 GB, free: 1.16 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001732/0.001732, allocations: 276.9 kB / 0.6005 GB, free: 48.74 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004173/0.0004173, allocations: 17.16 kB / 0.6929 GB, free: 59.57 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1491/0.1495, allocations: 82.8 MB / 0.7737 GB, free: 13.81 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5237/0.6732, allocations: 110.2 MB / 0.8813 GB, free: 31.65 MB / 0.5417 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004859/0.6738, allocations: 87.8 kB / 0.8814 GB, free: 31.65 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 0.01739/0.6912, allocations: 5.53 MB / 0.8868 GB, free: 31.06 MB / 0.5417 GB Notification: Performance of FrontEnd: time 3.737e-06/0.6913, allocations: 2.656 kB / 0.8868 GB, free: 31.06 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 8.776e-06/0.6913, allocations: 0 / 0.8868 GB, free: 31.06 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.0006006/0.6919, allocations: 408.2 kB / 0.8872 GB, free: 30.66 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 4.698e-05/0.692, allocations: 10.28 kB / 0.8872 GB, free: 30.66 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003787/0.6924, allocations: 65.03 kB / 0.8873 GB, free: 30.66 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001037/0.6925, allocations: 164.3 kB / 0.8874 GB, free: 30.46 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.826e-05/0.6925, allocations: 14.03 kB / 0.8874 GB, free: 30.45 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.502e-05/0.6925, allocations: 6.938 kB / 0.8874 GB, free: 30.45 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003876/0.6929, allocations: 119 kB / 0.8875 GB, free: 30.41 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.734e-05/0.693, allocations: 3.812 kB / 0.8875 GB, free: 30.41 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.568e-05/0.693, allocations: 2.438 kB / 0.8876 GB, free: 30.41 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.428e-06/0.693, allocations: 4 kB / 0.8876 GB, free: 30.41 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004896/0.6935, allocations: 125.1 kB / 0.8877 GB, free: 30.4 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006151/0.6941, allocations: 339.8 kB / 0.888 GB, free: 30.12 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000629/0.6948, allocations: 185 kB / 0.8882 GB, free: 30.09 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 1.898e-05/0.6948, allocations: 0 / 0.8882 GB, free: 30.09 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.913e-05/0.6948, allocations: 44.33 kB / 0.8882 GB, free: 30.04 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=7): time 8.71e-07/0.6948, allocations: 1.375 kB / 0.8882 GB, free: 30.04 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.01954/0.7144, allocations: 3.176 MB / 0.8913 GB, free: 29.46 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.455e-05/0.7145, allocations: 58.12 kB / 0.8914 GB, free: 29.4 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.359e-05/0.7145, allocations: 97.16 kB / 0.8915 GB, free: 29.3 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 4.678e-05/0.7146, allocations: 28.64 kB / 0.8915 GB, free: 29.27 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 4.491e-05/0.7146, allocations: 92.45 kB / 0.8916 GB, free: 29.19 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 5.887e-05/0.7147, allocations: 34.28 kB / 0.8916 GB, free: 29.16 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.745e-05/0.7147, allocations: 3.812 kB / 0.8916 GB, free: 29.16 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 6.081e-05/0.7148, allocations: 314.8 kB / 0.8919 GB, free: 28.85 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006224/0.7154, allocations: 217.4 kB / 0.8921 GB, free: 28.84 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000614/0.7161, allocations: 222.7 kB / 0.8923 GB, free: 28.83 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006073/0.7167, allocations: 223.2 kB / 0.8926 GB, free: 28.82 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.103e-06/0.7167, allocations: 0 / 0.8926 GB, free: 28.82 MB / 0.5417 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.001449/0.7181, allocations: 0.5116 MB / 0.8931 GB, free: 28.77 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 2.152e-05/0.7182, allocations: 5.812 kB / 0.8931 GB, free: 28.77 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.476e-06/0.7182, allocations: 0 / 0.8931 GB, free: 28.77 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.498e-05/0.7182, allocations: 10 kB / 0.8931 GB, free: 28.77 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000866/0.7191, allocations: 120.4 kB / 0.8932 GB, free: 28.76 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.906e-06/0.7191, allocations: 3.953 kB / 0.8932 GB, free: 28.76 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006388/0.7198, allocations: 60.59 kB / 0.8932 GB, free: 28.75 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.393e-05/0.7198, allocations: 24.2 kB / 0.8933 GB, free: 28.75 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.0001574/0.72, allocations: 119.7 kB / 0.8934 GB, free: 28.64 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.122e-05/0.7201, allocations: 2.656 kB / 0.8934 GB, free: 28.64 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.242e-05/0.7202, allocations: 10.44 kB / 0.8934 GB, free: 28.63 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.17e-06/0.7202, allocations: 1.562 kB / 0.8934 GB, free: 28.63 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.782e-06/0.7202, allocations: 0 / 0.8934 GB, free: 28.63 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.309e-06/0.7202, allocations: 10.2 kB / 0.8934 GB, free: 28.62 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002303/0.7225, allocations: 1.102 MB / 0.8945 GB, free: 28.05 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.867e-06/0.7225, allocations: 5 kB / 0.8945 GB, free: 28.05 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009092/0.7235, allocations: 123.4 kB / 0.8946 GB, free: 28.04 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.522e-06/0.7235, allocations: 0.75 kB / 0.8946 GB, free: 28.04 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.356e-05/0.7235, allocations: 25.52 kB / 0.8946 GB, free: 28.04 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.238e-06/0.7235, allocations: 1 kB / 0.8946 GB, free: 28.04 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.623e-06/0.7236, allocations: 0 / 0.8946 GB, free: 28.04 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002489/0.7261, allocations: 0.8661 MB / 0.8955 GB, free: 27.88 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00016/0.7262, allocations: 118 kB / 0.8956 GB, free: 27.78 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.615e-05/0.7263, allocations: 7.781 kB / 0.8956 GB, free: 27.78 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007458/0.7271, allocations: 67.45 kB / 0.8957 GB, free: 27.77 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.866e-05/0.7272, allocations: 27.55 kB / 0.8957 GB, free: 27.77 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.612e-05/0.7272, allocations: 25.31 kB / 0.8957 GB, free: 27.77 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 4.265e-05/0.7273, allocations: 86.02 kB / 0.8958 GB, free: 27.69 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.3e-07/0.7273, allocations: 0.75 kB / 0.8958 GB, free: 27.69 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.0004632/0.7278, allocations: 59.66 kB / 0.8958 GB, free: 27.68 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.0003075/0.7281, allocations: 112.8 kB / 0.896 GB, free: 27.59 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.001621/0.7297, allocations: 480.5 kB / 0.8964 GB, free: 27.56 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 5.17e-06/0.7297, allocations: 0 / 0.8964 GB, free: 27.56 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.0007447/0.7305, allocations: 249.5 kB / 0.8967 GB, free: 27.55 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002964/0.7308, allocations: 6.719 kB / 0.8967 GB, free: 27.55 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004642/0.7354, allocations: 0.8727 MB / 0.8975 GB, free: 27.34 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001218/0.7367, allocations: 0.6993 MB / 0.8982 GB, free: 42.64 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.0007498/0.7374, allocations: 90.66 kB / 0.8983 GB, free: 42.58 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002717/0.7377, allocations: 58.11 kB / 0.8983 GB, free: 42.57 MB / 0.5573 GB Notification: Performance of SimCode: time 1.172e-06/0.7377, allocations: 0 / 0.8983 GB, free: 42.57 MB / 0.5573 GB Notification: Performance of Templates: time 0.006772/0.7445, allocations: 3.239 MB / 0.9015 GB, free: 42.39 MB / 0.5573 GB make -j1 -f BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.makefile (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 & ./BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.pipe 2>&1)