Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck") translateModel(Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 3.082/3.082, allocations: 287.5 MB / 302.4 MB, free: 8.309 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.002004/0.002004, allocations: 186.1 kB / 371 MB, free: 10.87 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.09/2.09, allocations: 205.4 MB / 0.6297 GB, free: 10.6 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.000969/0.0009687, allocations: 85.17 kB / 0.743 GB, free: 6.625 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0006612/0.0006615, allocations: 13.28 kB / 0.8658 GB, free: 140.5 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2973/0.298, allocations: 115.3 MB / 0.9784 GB, free: 28.38 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck): time 0.001043/0.2992, allocations: 339.4 kB / 0.9787 GB, free: 28.04 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.003061/0.3023, allocations: 1.418 MB / 0.9801 GB, free: 26.61 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.405e-05/0.3024, allocations: 4 kB / 0.9801 GB, free: 26.6 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 1.411e-05/0.3024, allocations: 0 / 0.9801 GB, free: 26.6 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 4.202e-05/0.3025, allocations: 7.938 kB / 0.9801 GB, free: 26.59 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007105/0.3032, allocations: 103.7 kB / 0.9802 GB, free: 26.49 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 7.796e-05/0.3033, allocations: 23.92 kB / 0.9802 GB, free: 26.47 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 5.02e-05/0.3033, allocations: 4 kB / 0.9802 GB, free: 26.46 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 5.343e-05/0.3034, allocations: 15.98 kB / 0.9802 GB, free: 26.45 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001151/0.3035, allocations: 27.91 kB / 0.9803 GB, free: 26.42 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 2.801e-05/0.3036, allocations: 0 / 0.9803 GB, free: 26.42 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008849/0.3045, allocations: 307.4 kB / 0.9805 GB, free: 26.12 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 2.68e-05/0.3045, allocations: 7.984 kB / 0.9806 GB, free: 26.11 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 2.973e-05/0.3046, allocations: 29.7 kB / 0.9806 GB, free: 26.08 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0004143/0.305, allocations: 131.8 kB / 0.9807 GB, free: 25.95 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 6.312e-06/0.305, allocations: 0 / 0.9807 GB, free: 25.95 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.585e-06/0.3051, allocations: 0 / 0.9807 GB, free: 25.95 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 5.951e-06/0.3051, allocations: 4 kB / 0.9807 GB, free: 25.95 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.0007571/0.3059, allocations: 359.6 kB / 0.9811 GB, free: 25.55 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.858e-05/0.3059, allocations: 11.97 kB / 0.9811 GB, free: 25.54 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001066/0.307, allocations: 83.81 kB / 0.9811 GB, free: 25.45 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000152/0.3072, allocations: 171 kB / 0.9813 GB, free: 25.25 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.801e-05/0.3073, allocations: 11.94 kB / 0.9813 GB, free: 25.23 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.063e-05/0.3073, allocations: 4 kB / 0.9813 GB, free: 25.23 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005176/0.3078, allocations: 73.64 kB / 0.9814 GB, free: 25.15 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.249e-05/0.3079, allocations: 0 / 0.9814 GB, free: 25.15 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.744e-05/0.3079, allocations: 4 kB / 0.9814 GB, free: 25.15 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.883e-06/0.3079, allocations: 0 / 0.9814 GB, free: 25.15 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007307/0.3087, allocations: 79.92 kB / 0.9815 GB, free: 25.07 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003008/0.309, allocations: 169.7 kB / 0.9816 GB, free: 24.86 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001353/0.3104, allocations: 146.5 kB / 0.9818 GB, free: 24.7 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003949/0.3108, allocations: 52.91 kB / 0.9818 GB, free: 24.65 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001032/0.3119, allocations: 177 kB / 0.982 GB, free: 24.46 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.89e-05/0.3119, allocations: 30.56 kB / 0.982 GB, free: 24.42 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=4): time 4.108e-06/0.312, allocations: 0 / 0.982 GB, free: 24.42 MB / 0.6198 GB Notification: Performance of matching and sorting (n=5): time 0.002535/0.3145, allocations: 434.2 kB / 0.9824 GB, free: 23.94 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.031e-05/0.3146, allocations: 55.41 kB / 0.9825 GB, free: 23.88 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.31e-05/0.3147, allocations: 93.84 kB / 0.9826 GB, free: 23.77 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 2.738e-05/0.3147, allocations: 29.7 kB / 0.9826 GB, free: 23.74 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 2.691e-05/0.3148, allocations: 88.27 kB / 0.9827 GB, free: 23.65 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 4.66e-05/0.3149, allocations: 11.75 kB / 0.9827 GB, free: 23.64 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.461e-05/0.3149, allocations: 0 / 0.9827 GB, free: 23.64 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 8.245e-05/0.315, allocations: 322.8 kB / 0.983 GB, free: 23.31 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003945/0.3154, allocations: 43.95 kB / 0.9831 GB, free: 23.27 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003939/0.3158, allocations: 39.97 kB / 0.9831 GB, free: 23.23 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003943/0.3162, allocations: 43.97 kB / 0.9831 GB, free: 23.19 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.294e-06/0.3163, allocations: 3.938 kB / 0.9831 GB, free: 23.18 MB / 0.6198 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.000859/0.3171, allocations: 129.5 kB / 0.9833 GB, free: 23.05 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 2.946e-05/0.3172, allocations: 6.031 kB / 0.9833 GB, free: 23.05 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.286e-06/0.3172, allocations: 0 / 0.9833 GB, free: 23.05 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.208e-05/0.3173, allocations: 4 kB / 0.9833 GB, free: 23.04 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003715/0.3176, allocations: 23.98 kB / 0.9833 GB, free: 23.02 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.048e-06/0.3177, allocations: 0 / 0.9833 GB, free: 23.02 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002357/0.3179, allocations: 15.98 kB / 0.9833 GB, free: 23 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.547e-05/0.318, allocations: 7.984 kB / 0.9833 GB, free: 23 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 0.0001173/0.3181, allocations: 121.7 kB / 0.9834 GB, free: 22.87 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.16e-05/0.3181, allocations: 0 / 0.9834 GB, free: 22.87 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001077/0.3192, allocations: 153 kB / 0.9836 GB, free: 22.71 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.692e-06/0.3193, allocations: 4 kB / 0.9836 GB, free: 22.71 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.213e-06/0.3193, allocations: 0 / 0.9836 GB, free: 22.71 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.883e-06/0.3193, allocations: 320 / 0.9836 GB, free: 22.71 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000213/0.3196, allocations: 169.6 kB / 0.9837 GB, free: 22.5 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.19e-06/0.3196, allocations: 4 kB / 0.9838 GB, free: 22.49 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003985/0.32, allocations: 31.98 kB / 0.9838 GB, free: 22.46 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.506e-06/0.32, allocations: 0 / 0.9838 GB, free: 22.46 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.625e-05/0.3201, allocations: 7.984 kB / 0.9838 GB, free: 22.45 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.761e-06/0.3201, allocations: 3.984 kB / 0.9838 GB, free: 22.45 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.885e-06/0.3201, allocations: 0 / 0.9838 GB, free: 22.45 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001376/0.3215, allocations: 204.9 kB / 0.984 GB, free: 22.23 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 9.891e-05/0.3216, allocations: 93.03 kB / 0.9841 GB, free: 22.12 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.77e-05/0.3217, allocations: 0 / 0.9841 GB, free: 22.12 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000284/0.322, allocations: 20.05 kB / 0.9841 GB, free: 22.1 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.137e-05/0.3221, allocations: 3.984 kB / 0.9841 GB, free: 22.1 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.427e-05/0.3221, allocations: 4 kB / 0.9841 GB, free: 22.09 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 3.667e-05/0.3222, allocations: 75.28 kB / 0.9842 GB, free: 22.02 MB / 0.6198 GB Notification: Performance of sort global known variables: time 6.01e-07/0.3222, allocations: 0 / 0.9842 GB, free: 22.02 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0005095/0.3227, allocations: 35.98 kB / 0.9842 GB, free: 21.98 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.000327/0.323, allocations: 123.2 kB / 0.9843 GB, free: 21.86 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0008892/0.324, allocations: 95.97 kB / 0.9844 GB, free: 21.76 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 5.27e-06/0.324, allocations: 0 / 0.9844 GB, free: 21.76 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0004148/0.3244, allocations: 55.95 kB / 0.9845 GB, free: 21.71 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003158/0.3248, allocations: 7.953 kB / 0.9845 GB, free: 21.7 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001307/0.3261, allocations: 208.8 kB / 0.9847 GB, free: 21.47 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000164/0.3263, allocations: 0.6731 MB / 0.9853 GB, free: 20.77 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0002797/0.3266, allocations: 19.98 kB / 0.9854 GB, free: 20.75 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.987e-05/0.3267, allocations: 15.44 kB / 0.9854 GB, free: 20.74 MB / 0.6198 GB Notification: Performance of SimCode: time 1.452e-06/0.3267, allocations: 0 / 0.9854 GB, free: 20.74 MB / 0.6198 GB Notification: Performance of Templates: time 0.006282/0.333, allocations: 1.111 MB / 0.9865 GB, free: 19.62 MB / 0.6198 GB make -j1 -f Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.makefile (rm -f Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.pipe ; mkfifo Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.pipe >> ../files/Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.sim & ./Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.pipe 2>&1)