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: translateModel(IBPSA.Utilities.Math.Functions.Examples.InverseXDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.InverseXDerivativeCheck") translateModel(IBPSA.Utilities.Math.Functions.Examples.InverseXDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.InverseXDerivativeCheck") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001401/0.001401, allocations: 182.1 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.5523/0.5523, allocations: 91.99 MB / 108.5 MB, free: 13.09 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.593/1.593, allocations: 223.2 MB / 354.3 MB, free: 12.21 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.0009695/0.0009694, allocations: 99.2 kB / 427.4 MB, free: 3.93 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003289/0.0003289, allocations: 12 kB / 0.4983 GB, free: 42.29 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1761/0.1764, allocations: 72.3 MB / 0.5689 GB, free: 1.922 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5489/0.7254, allocations: 102.3 MB / 0.6688 GB, free: 2.215 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002345/0.7257, allocations: 79.95 kB / 0.6688 GB, free: 2.137 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0125/0.7382, allocations: 4.13 MB / 0.6729 GB, free: 14.02 MB / 474.7 MB Notification: Performance of FrontEnd: time 1.273e-06/0.7382, allocations: 0 / 0.6729 GB, free: 14.02 MB / 474.7 MB Notification: Performance of Transformations before backend: time 9.969e-06/0.7382, allocations: 4 kB / 0.6729 GB, free: 14.02 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.0004803/0.7387, allocations: 375.8 kB / 0.6732 GB, free: 13.6 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.098e-05/0.7388, allocations: 8.031 kB / 0.6732 GB, free: 13.59 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003906/0.7392, allocations: 67.89 kB / 0.6733 GB, free: 13.53 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001283/0.7393, allocations: 159.1 kB / 0.6734 GB, free: 13.33 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.61e-05/0.7394, allocations: 0 / 0.6734 GB, free: 13.33 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.772e-05/0.7394, allocations: 11.98 kB / 0.6735 GB, free: 13.32 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002724/0.7397, allocations: 81.58 kB / 0.6735 GB, free: 13.23 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.713e-06/0.7397, allocations: 0 / 0.6735 GB, free: 13.23 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.232e-05/0.7397, allocations: 0 / 0.6735 GB, free: 13.23 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.397e-06/0.7397, allocations: 3.938 kB / 0.6735 GB, free: 13.23 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002984/0.74, allocations: 83.88 kB / 0.6736 GB, free: 13.15 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001921/0.7402, allocations: 157.7 kB / 0.6738 GB, free: 12.95 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000572/0.7408, allocations: 146.6 kB / 0.6739 GB, free: 12.79 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.766e-05/0.7409, allocations: 8 kB / 0.6739 GB, free: 12.79 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.697e-05/0.7409, allocations: 35.12 kB / 0.674 GB, free: 12.74 MB / 474.7 MB Notification: Performance of pre-optimization done (n=4): time 3.987e-06/0.7409, allocations: 3.984 kB / 0.674 GB, free: 12.74 MB / 474.7 MB Notification: Performance of matching and sorting (n=5): time 0.00117/0.7421, allocations: 442.1 kB / 0.6744 GB, free: 12.25 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.608e-05/0.7422, allocations: 55.41 kB / 0.6744 GB, free: 12.19 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.767e-05/0.7422, allocations: 85 kB / 0.6745 GB, free: 12.1 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 2.15e-05/0.7422, allocations: 25.7 kB / 0.6745 GB, free: 12.07 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.498e-05/0.7423, allocations: 92.27 kB / 0.6746 GB, free: 11.97 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.173e-05/0.7423, allocations: 11.75 kB / 0.6746 GB, free: 11.96 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.913e-06/0.7423, allocations: 0 / 0.6746 GB, free: 11.96 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0001228/0.7425, allocations: 322.8 kB / 0.6749 GB, free: 11.64 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001507/0.7426, allocations: 43.97 kB / 0.675 GB, free: 11.59 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001377/0.7428, allocations: 39.97 kB / 0.675 GB, free: 11.55 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001517/0.7429, allocations: 43.97 kB / 0.6751 GB, free: 11.51 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.102e-06/0.7429, allocations: 0 / 0.6751 GB, free: 11.51 MB / 474.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.000348/0.7433, allocations: 133.5 kB / 0.6752 GB, free: 11.38 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.831e-05/0.7433, allocations: 4 kB / 0.6752 GB, free: 11.37 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.23e-06/0.7433, allocations: 256 / 0.6752 GB, free: 11.37 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.085e-05/0.7434, allocations: 0 / 0.6752 GB, free: 11.37 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001489/0.7435, allocations: 35.97 kB / 0.6752 GB, free: 11.34 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.606e-06/0.7435, allocations: 0.7812 kB / 0.6752 GB, free: 11.34 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001187/0.7437, allocations: 15.98 kB / 0.6752 GB, free: 11.32 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.518e-06/0.7437, allocations: 0 / 0.6752 GB, free: 11.32 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 9.134e-05/0.7438, allocations: 117.8 kB / 0.6754 GB, free: 11.2 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.732e-05/0.7438, allocations: 4 kB / 0.6754 GB, free: 11.19 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000471/0.7443, allocations: 149.1 kB / 0.6755 GB, free: 11.04 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.589e-06/0.7443, allocations: 4 kB / 0.6755 GB, free: 11.04 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.629e-06/0.7443, allocations: 0 / 0.6755 GB, free: 11.04 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.496e-06/0.7443, allocations: 0 / 0.6755 GB, free: 11.04 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001608/0.7445, allocations: 169.6 kB / 0.6757 GB, free: 10.82 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.413e-06/0.7445, allocations: 0 / 0.6757 GB, free: 10.82 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001567/0.7446, allocations: 35.97 kB / 0.6757 GB, free: 10.79 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.096e-06/0.7447, allocations: 0 / 0.6757 GB, free: 10.79 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.319e-05/0.7447, allocations: 4 kB / 0.6757 GB, free: 10.78 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.733e-06/0.7447, allocations: 3.938 kB / 0.6757 GB, free: 10.78 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.252e-06/0.7447, allocations: 0 / 0.6757 GB, free: 10.78 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005502/0.7452, allocations: 208.8 kB / 0.6759 GB, free: 10.55 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.895e-05/0.7453, allocations: 89.06 kB / 0.676 GB, free: 10.45 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.862e-05/0.7454, allocations: 4 kB / 0.676 GB, free: 10.45 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001126/0.7455, allocations: 24.03 kB / 0.676 GB, free: 10.42 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.513e-05/0.7455, allocations: 0 / 0.676 GB, free: 10.42 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.127e-05/0.7455, allocations: 4 kB / 0.676 GB, free: 10.42 MB / 474.7 MB Notification: Performance of sorting global known variables: time 3.565e-05/0.7456, allocations: 75.28 kB / 0.6761 GB, free: 10.34 MB / 474.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.7456, allocations: 0 / 0.6761 GB, free: 10.34 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.0002643/0.7458, allocations: 47.92 kB / 0.6761 GB, free: 10.3 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.0002571/0.7461, allocations: 135.1 kB / 0.6763 GB, free: 10.16 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.0003642/0.7465, allocations: 100 kB / 0.6764 GB, free: 10.06 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 2.365e-06/0.7465, allocations: 0 / 0.6764 GB, free: 10.06 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001593/0.7467, allocations: 56.16 kB / 0.6764 GB, free: 10 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001112/0.7468, allocations: 11.12 kB / 0.6764 GB, free: 9.996 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000607/0.7474, allocations: 194 kB / 0.6766 GB, free: 9.777 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002888/0.7477, allocations: 0.6809 MB / 0.6773 GB, free: 9.07 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.0001153/0.7478, allocations: 23.97 kB / 0.6773 GB, free: 9.047 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.699e-05/0.7479, allocations: 15.44 kB / 0.6773 GB, free: 9.035 MB / 474.7 MB Notification: Performance of SimCode: time 3.9e-07/0.7479, allocations: 0 / 0.6773 GB, free: 9.035 MB / 474.7 MB Notification: Performance of Templates: time 0.003288/0.7512, allocations: 1.087 MB / 0.6784 GB, free: 7.949 MB / 474.7 MB make -j1 -f IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.makefile (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 & ./IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.InverseXDerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.pipe 2>&1)