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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) [Timeout 90] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(IBPSA.Utilities.Math.Functions.Examples.InverseXDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.InverseXDerivativeCheck") translateModel(IBPSA.Utilities.Math.Functions.Examples.InverseXDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.InverseXDerivativeCheck") [Timeout 660] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001534/0.001534, allocations: 112 kB / 17.33 MB, free: 5.043 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001341/0.001341, allocations: 201.9 kB / 18.33 MB, free: 4.055 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.475/1.475, allocations: 225.6 MB / 244.8 MB, free: 13.61 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.9059/0.9059, allocations: 128.4 MB / 426.1 MB, free: 7.184 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002266/0.002266, allocations: 74.28 kB / 0.5912 GB, free: 21.32 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2154/0.2177, allocations: 83.26 MB / 0.6725 GB, free: 3.797 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Functions.Examples.InverseXDerivativeCheck): time 0.002142/0.2198, allocations: 0.5882 MB / 0.6731 GB, free: 3.211 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.002313/0.2221, allocations: 1.469 MB / 0.6745 GB, free: 1.727 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.656e-05/0.2222, allocations: 3.938 kB / 0.6745 GB, free: 1.723 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 1.875e-05/0.2222, allocations: 0 / 0.6745 GB, free: 1.723 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 3.32e-05/0.2222, allocations: 3.938 kB / 0.6745 GB, free: 1.719 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006324/0.2229, allocations: 147.4 kB / 0.6747 GB, free: 1.574 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 9.466e-05/0.2229, allocations: 31.97 kB / 0.6747 GB, free: 1.543 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.446e-05/0.223, allocations: 0 / 0.6747 GB, free: 1.543 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 4.763e-05/0.223, allocations: 11.98 kB / 0.6747 GB, free: 1.531 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 9.759e-05/0.2231, allocations: 31.89 kB / 0.6748 GB, free: 1.5 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.6e-05/0.2232, allocations: 0 / 0.6748 GB, free: 1.5 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005581/0.2237, allocations: 315.4 kB / 0.6751 GB, free: 1.191 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 2.252e-05/0.2237, allocations: 11.97 kB / 0.6751 GB, free: 1.18 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 3.285e-05/0.2238, allocations: 15.92 kB / 0.6751 GB, free: 1.164 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0003654/0.2241, allocations: 191.5 kB / 0.6753 GB, free: 0.9766 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.857e-06/0.2241, allocations: 0 / 0.6753 GB, free: 0.9766 MB / 0.4981 GB Notification: Performance of FrontEnd: time 9.82e-07/0.2241, allocations: 0 / 0.6753 GB, free: 0.9766 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 7.294e-06/0.2241, allocations: 0 / 0.6753 GB, free: 0.9766 MB / 0.4981 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.0006329/0.2248, allocations: 363.1 kB / 0.6756 GB, free: 0.5742 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.792e-05/0.2248, allocations: 12.03 kB / 0.6756 GB, free: 0.5625 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000489/0.2253, allocations: 76.78 kB / 0.6757 GB, free: 500 kB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001581/0.2255, allocations: 164.4 kB / 0.6758 GB, free: 296 kB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.024e-05/0.2255, allocations: 4.375 kB / 0.6759 GB, free: 292 kB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.566e-05/0.2255, allocations: 8.297 kB / 0.6759 GB, free: 284 kB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002581/0.2258, allocations: 73.95 kB / 0.6759 GB, free: 204 kB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.876e-06/0.2258, allocations: 0 / 0.6759 GB, free: 204 kB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.391e-05/0.2258, allocations: 0 / 0.6759 GB, free: 204 kB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.73e-06/0.2258, allocations: 4 kB / 0.6759 GB, free: 200 kB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002839/0.2261, allocations: 63.92 kB / 0.676 GB, free: 136 kB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002505/0.2264, allocations: 161.8 kB / 0.6762 GB, free: 15.92 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005969/0.2269, allocations: 126.5 kB / 0.6763 GB, free: 15.79 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001592/0.2271, allocations: 44.91 kB / 0.6763 GB, free: 15.74 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004822/0.2276, allocations: 153 kB / 0.6765 GB, free: 15.57 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.355e-05/0.2276, allocations: 46.5 kB / 0.6765 GB, free: 15.52 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=4): time 1.372e-06/0.2276, allocations: 0 / 0.6765 GB, free: 15.52 MB / 0.5137 GB Notification: Performance of matching and sorting (n=5): time 0.001209/0.2288, allocations: 406.1 kB / 0.6769 GB, free: 15.07 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.17e-05/0.2289, allocations: 51.41 kB / 0.6769 GB, free: 15.01 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.488e-05/0.229, allocations: 97.84 kB / 0.677 GB, free: 14.9 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 2.3e-05/0.229, allocations: 29.83 kB / 0.6771 GB, free: 14.87 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 5.973e-05/0.2291, allocations: 80.14 kB / 0.6771 GB, free: 14.79 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 3.658e-05/0.2291, allocations: 15.86 kB / 0.6772 GB, free: 14.77 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.813e-05/0.2292, allocations: 25.7 kB / 0.6772 GB, free: 14.74 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001671/0.2293, allocations: 310.8 kB / 0.6775 GB, free: 14.43 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001624/0.2295, allocations: 39.97 kB / 0.6775 GB, free: 14.39 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000141/0.2296, allocations: 31.97 kB / 0.6775 GB, free: 14.36 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003113/0.2299, allocations: 84.73 kB / 0.6776 GB, free: 14.27 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.51e-07/0.2299, allocations: 0 / 0.6776 GB, free: 14.27 MB / 0.5137 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0003452/0.2303, allocations: 117.5 kB / 0.6777 GB, free: 14.15 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.681e-05/0.2303, allocations: 4 kB / 0.6777 GB, free: 14.14 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.593e-06/0.2303, allocations: 0 / 0.6777 GB, free: 14.14 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.149e-05/0.2303, allocations: 3.938 kB / 0.6777 GB, free: 14.14 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001467/0.2305, allocations: 23.97 kB / 0.6778 GB, free: 14.12 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.462e-06/0.2305, allocations: 4 kB / 0.6778 GB, free: 14.11 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.743e-05/0.2306, allocations: 15.98 kB / 0.6778 GB, free: 14.1 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.347e-05/0.2306, allocations: 4 kB / 0.6778 GB, free: 14.09 MB / 0.5137 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 (6): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001167/0.2307, allocations: 109.8 kB / 0.6779 GB, free: 13.98 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.071e-05/0.2307, allocations: 7.938 kB / 0.6779 GB, free: 13.97 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004815/0.2312, allocations: 137.2 kB / 0.678 GB, free: 13.83 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.435e-06/0.2312, allocations: 0 / 0.678 GB, free: 13.83 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.98e-06/0.2312, allocations: 320 / 0.678 GB, free: 13.83 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.216e-06/0.2312, allocations: 336 / 0.678 GB, free: 13.83 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001981/0.2314, allocations: 173.6 kB / 0.6782 GB, free: 13.62 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.223e-06/0.2314, allocations: 0 / 0.6782 GB, free: 13.62 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001649/0.2316, allocations: 31.91 kB / 0.6782 GB, free: 13.59 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.835e-06/0.2316, allocations: 0 / 0.6782 GB, free: 13.59 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.27e-05/0.2316, allocations: 3.984 kB / 0.6782 GB, free: 13.58 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.174e-06/0.2316, allocations: 0 / 0.6782 GB, free: 13.58 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.32e-07/0.2316, allocations: 4 kB / 0.6782 GB, free: 13.58 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005693/0.2322, allocations: 184.9 kB / 0.6784 GB, free: 13.38 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 9.248e-05/0.2323, allocations: 89.06 kB / 0.6785 GB, free: 13.27 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.204e-05/0.2323, allocations: 8.047 kB / 0.6785 GB, free: 13.27 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001146/0.2324, allocations: 15.98 kB / 0.6785 GB, free: 13.25 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.811e-05/0.2324, allocations: 4 kB / 0.6785 GB, free: 13.25 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.825e-06/0.2324, allocations: 0 / 0.6785 GB, free: 13.25 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 5.138e-05/0.2325, allocations: 83.27 kB / 0.6786 GB, free: 13.16 MB / 0.5137 GB Notification: Performance of sort global known variables: time 7e-08/0.2325, allocations: 0 / 0.6786 GB, free: 13.16 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0002568/0.2327, allocations: 31.88 kB / 0.6786 GB, free: 13.13 MB / 0.5137 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 () * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002595/0.233, allocations: 127.2 kB / 0.6788 GB, free: 13 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.000435/0.2334, allocations: 87.86 kB / 0.6788 GB, free: 12.91 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 4.478e-06/0.2334, allocations: 0 / 0.6788 GB, free: 12.91 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0001636/0.2336, allocations: 35.97 kB / 0.6789 GB, free: 12.88 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001951/0.2338, allocations: 8.688 kB / 0.6789 GB, free: 12.87 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008338/0.2346, allocations: 185.3 kB / 0.6791 GB, free: 12.66 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000485/0.2351, allocations: 0.6806 MB / 0.6797 GB, free: 11.95 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0001008/0.2352, allocations: 27.92 kB / 0.6797 GB, free: 11.93 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.562e-05/0.2353, allocations: 15.42 kB / 0.6798 GB, free: 11.91 MB / 0.5137 GB Notification: Performance of SimCode: time 9.41e-07/0.2353, allocations: 0 / 0.6798 GB, free: 11.91 MB / 0.5137 GB Notification: Performance of Templates: time 0.004641/0.2399, allocations: 1.162 MB / 0.6809 GB, free: 10.75 MB / 0.5137 GB make -j1 -f IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.makefile [Timeout 660] (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) [Timeout 480]