Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck") translateModel(Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.705/1.705, allocations: 288.4 MB / 303.7 MB, free: 8.102 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009958/0.0009958, allocations: 180.5 kB / 372.3 MB, free: 10.11 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.324/1.324, allocations: 205.4 MB / 0.631 GB, free: 9.891 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001139/0.001139, allocations: 94.8 kB / 0.7444 GB, free: 5.785 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003993/0.0003993, allocations: 14.47 kB / 0.8675 GB, free: 141.8 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2189/0.2193, allocations: 115.3 MB / 0.9801 GB, free: 27.33 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck): time 0.0007226/0.2201, allocations: 335.7 kB / 0.9805 GB, free: 27 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001553/0.2217, allocations: 1.429 MB / 0.9819 GB, free: 25.55 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.05e-05/0.2217, allocations: 0 / 0.9819 GB, free: 25.55 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 1.633e-05/0.2218, allocations: 0 / 0.9819 GB, free: 25.55 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 3.388e-05/0.2218, allocations: 0 / 0.9819 GB, free: 25.55 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004044/0.2222, allocations: 111.7 kB / 0.982 GB, free: 25.44 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 5.786e-05/0.2223, allocations: 23.97 kB / 0.982 GB, free: 25.42 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 4.996e-05/0.2223, allocations: 3.984 kB / 0.982 GB, free: 25.41 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 3.759e-05/0.2224, allocations: 19.92 kB / 0.982 GB, free: 25.39 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 6.814e-05/0.2224, allocations: 19.97 kB / 0.982 GB, free: 25.38 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.563e-05/0.2225, allocations: 4 kB / 0.982 GB, free: 25.37 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003231/0.2228, allocations: 307.4 kB / 0.9823 GB, free: 25.07 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 1.345e-05/0.2228, allocations: 11.92 kB / 0.9823 GB, free: 25.06 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 2.901e-05/0.2229, allocations: 37.69 kB / 0.9824 GB, free: 25.02 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001666/0.223, allocations: 135.8 kB / 0.9825 GB, free: 24.88 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 5.891e-06/0.223, allocations: 0 / 0.9825 GB, free: 24.88 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.342e-06/0.2231, allocations: 3.938 kB / 0.9825 GB, free: 24.88 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 4.568e-06/0.2231, allocations: 0 / 0.9825 GB, free: 24.88 MB / 0.6198 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.0004933/0.2236, allocations: 355.8 kB / 0.9828 GB, free: 24.48 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.016e-05/0.2236, allocations: 12.03 kB / 0.9829 GB, free: 24.47 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000423/0.224, allocations: 88.75 kB / 0.9829 GB, free: 24.39 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.94e-05/0.2241, allocations: 168.3 kB / 0.9831 GB, free: 24.18 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.598e-05/0.2242, allocations: 384 / 0.9831 GB, free: 24.18 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.225e-05/0.2242, allocations: 384 / 0.9831 GB, free: 24.18 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002391/0.2244, allocations: 89.94 kB / 0.9832 GB, free: 24.09 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.576e-06/0.2245, allocations: 0 / 0.9832 GB, free: 24.09 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.346e-05/0.2245, allocations: 3.984 kB / 0.9832 GB, free: 24.09 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.019e-06/0.2245, allocations: 0 / 0.9832 GB, free: 24.09 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002724/0.2248, allocations: 79.92 kB / 0.9833 GB, free: 24.01 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001669/0.2249, allocations: 161.7 kB / 0.9834 GB, free: 23.8 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005355/0.2255, allocations: 142.5 kB / 0.9836 GB, free: 23.65 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001432/0.2256, allocations: 52.98 kB / 0.9836 GB, free: 23.6 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004115/0.2261, allocations: 177 kB / 0.9838 GB, free: 23.41 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.979e-05/0.2261, allocations: 38.5 kB / 0.9838 GB, free: 23.36 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=4): time 1.262e-06/0.2261, allocations: 0 / 0.9838 GB, free: 23.36 MB / 0.6198 GB Notification: Performance of matching and sorting (n=5): time 0.001032/0.2271, allocations: 434.2 kB / 0.9842 GB, free: 22.88 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.73e-05/0.2272, allocations: 55.41 kB / 0.9843 GB, free: 22.82 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.714e-05/0.2272, allocations: 93.86 kB / 0.9844 GB, free: 22.71 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 2.922e-05/0.2273, allocations: 25.7 kB / 0.9844 GB, free: 22.68 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 2.255e-05/0.2273, allocations: 88.12 kB / 0.9845 GB, free: 22.59 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.703e-05/0.2273, allocations: 15.75 kB / 0.9845 GB, free: 22.58 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.671e-06/0.2273, allocations: 0 / 0.9845 GB, free: 22.58 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 5.047e-05/0.2274, allocations: 314.8 kB / 0.9848 GB, free: 22.26 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000141/0.2275, allocations: 44.09 kB / 0.9848 GB, free: 22.22 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001274/0.2277, allocations: 39.95 kB / 0.9849 GB, free: 22.18 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002676/0.228, allocations: 100.7 kB / 0.985 GB, free: 22.08 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.21e-07/0.228, allocations: 0 / 0.985 GB, free: 22.08 MB / 0.6198 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0003094/0.2283, allocations: 129.5 kB / 0.9851 GB, free: 21.95 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.442e-05/0.2283, allocations: 4 kB / 0.9851 GB, free: 21.94 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.202e-06/0.2283, allocations: 3.984 kB / 0.9851 GB, free: 21.94 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.887e-05/0.2283, allocations: 0 / 0.9851 GB, free: 21.94 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001361/0.2285, allocations: 31.92 kB / 0.9851 GB, free: 21.91 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.953e-06/0.2285, allocations: 0 / 0.9851 GB, free: 21.91 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.005e-05/0.2286, allocations: 15.98 kB / 0.9852 GB, free: 21.89 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.486e-06/0.2286, allocations: 0 / 0.9852 GB, free: 21.89 MB / 0.6198 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.027e-05/0.2287, allocations: 121.8 kB / 0.9853 GB, free: 21.76 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.175e-05/0.2287, allocations: 7.938 kB / 0.9853 GB, free: 21.75 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004178/0.2291, allocations: 149.4 kB / 0.9854 GB, free: 21.61 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.034e-06/0.2291, allocations: 0 / 0.9854 GB, free: 21.61 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.412e-06/0.2291, allocations: 7.984 kB / 0.9854 GB, free: 21.6 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.577e-06/0.2292, allocations: 0 / 0.9854 GB, free: 21.6 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001191/0.2293, allocations: 165.7 kB / 0.9856 GB, free: 21.39 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.124e-06/0.2293, allocations: 3.984 kB / 0.9856 GB, free: 21.38 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000146/0.2294, allocations: 27.92 kB / 0.9856 GB, free: 21.36 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.422e-06/0.2294, allocations: 0 / 0.9856 GB, free: 21.36 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.034e-05/0.2295, allocations: 4 kB / 0.9856 GB, free: 21.35 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.627e-06/0.2295, allocations: 11.92 kB / 0.9856 GB, free: 21.34 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.62e-07/0.2295, allocations: 0 / 0.9856 GB, free: 21.34 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005239/0.23, allocations: 201 kB / 0.9858 GB, free: 21.12 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 5.209e-05/0.2301, allocations: 92.94 kB / 0.9859 GB, free: 21.02 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.908e-05/0.2301, allocations: 4.031 kB / 0.9859 GB, free: 21.01 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001062/0.2302, allocations: 11.98 kB / 0.9859 GB, free: 21 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.466e-05/0.2302, allocations: 7.984 kB / 0.9859 GB, free: 20.99 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.857e-06/0.2303, allocations: 8.062 kB / 0.9859 GB, free: 20.98 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 2.004e-05/0.2303, allocations: 75.28 kB / 0.986 GB, free: 20.91 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2303, allocations: 0 / 0.986 GB, free: 20.91 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002106/0.2305, allocations: 28 kB / 0.986 GB, free: 20.88 MB / 0.6198 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 (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.0001955/0.2307, allocations: 127.6 kB / 0.9862 GB, free: 20.75 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0003374/0.2311, allocations: 95.95 kB / 0.9863 GB, free: 20.66 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 3.737e-06/0.2311, allocations: 8 kB / 0.9863 GB, free: 20.65 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0001432/0.2312, allocations: 51.95 kB / 0.9863 GB, free: 20.6 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001813/0.2314, allocations: 3.938 kB / 0.9863 GB, free: 20.59 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005646/0.232, allocations: 212.8 kB / 0.9865 GB, free: 20.36 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001033/0.2321, allocations: 0.677 MB / 0.9872 GB, free: 19.66 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0001082/0.2322, allocations: 19.98 kB / 0.9872 GB, free: 19.64 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.923e-05/0.2322, allocations: 15.42 kB / 0.9872 GB, free: 19.62 MB / 0.6198 GB Notification: Performance of SimCode: time 2.3e-07/0.2323, allocations: 0 / 0.9872 GB, free: 19.62 MB / 0.6198 GB Notification: Performance of Templates: time 0.002943/0.2352, allocations: 1.111 MB / 0.9883 GB, free: 18.52 MB / 0.6198 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.makefile (rm -f Buildings_maint.8.0.x_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.sim & ./Buildings_maint.8.0.x_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.pipe 2>&1)