Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.conf.json loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.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_7.0.0_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.612/2.612, allocations: 251.3 MB / 266.2 MB, free: 11.52 MB / 218.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001997/0.001997, allocations: 174.1 kB / 325.8 MB, free: 2.793 MB / 250.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.724/2.724, allocations: 205.4 MB / 0.5767 GB, free: 20.77 MB / 426.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.000929/0.0009286, allocations: 106.6 kB / 0.6813 GB, free: 13.55 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004873/0.0004874, allocations: 18.69 kB / 0.7953 GB, free: 135.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.222/0.2225, allocations: 106.3 MB / 0.8991 GB, free: 65.41 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck): time 0.000812/0.2234, allocations: 346 kB / 0.8994 GB, free: 65.07 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.002135/0.2256, allocations: 1.43 MB / 0.9008 GB, free: 63.62 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.785e-05/0.2256, allocations: 0 / 0.9008 GB, free: 63.62 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 1.115e-05/0.2256, allocations: 0 / 0.9008 GB, free: 63.62 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 3.856e-05/0.2257, allocations: 3.938 kB / 0.9008 GB, free: 63.62 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005322/0.2262, allocations: 114.1 kB / 0.9009 GB, free: 63.51 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 5.968e-05/0.2263, allocations: 23.91 kB / 0.9009 GB, free: 63.48 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 4.287e-05/0.2264, allocations: 4 kB / 0.9009 GB, free: 63.48 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 4.177e-05/0.2264, allocations: 11.98 kB / 0.9009 GB, free: 63.47 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 8.716e-05/0.2265, allocations: 27.84 kB / 0.901 GB, free: 63.44 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 2.039e-05/0.2265, allocations: 4 kB / 0.901 GB, free: 63.44 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005851/0.2271, allocations: 307.4 kB / 0.9013 GB, free: 63.14 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 1.699e-05/0.2272, allocations: 11.98 kB / 0.9013 GB, free: 63.12 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 2.213e-05/0.2272, allocations: 29.7 kB / 0.9013 GB, free: 63.09 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0002684/0.2275, allocations: 131.8 kB / 0.9014 GB, free: 62.96 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 5.39e-06/0.2275, allocations: 0 / 0.9014 GB, free: 62.96 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.713e-06/0.2275, allocations: 0 / 0.9014 GB, free: 62.96 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 4.989e-06/0.2275, allocations: 0 / 0.9014 GB, free: 62.96 MB / 0.6042 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.0005664/0.2281, allocations: 355.5 kB / 0.9018 GB, free: 62.57 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.927e-05/0.2281, allocations: 12.03 kB / 0.9018 GB, free: 62.55 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007599/0.2289, allocations: 80.84 kB / 0.9018 GB, free: 62.48 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.118e-05/0.229, allocations: 168.6 kB / 0.902 GB, free: 62.27 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.64e-05/0.2291, allocations: 384 / 0.902 GB, free: 62.27 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.011e-05/0.2291, allocations: 4.375 kB / 0.902 GB, free: 62.27 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003899/0.2295, allocations: 89.94 kB / 0.9021 GB, free: 62.18 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.508e-06/0.2295, allocations: 0 / 0.9021 GB, free: 62.18 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.876e-05/0.2296, allocations: 0 / 0.9021 GB, free: 62.18 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.48e-06/0.2296, allocations: 0 / 0.9021 GB, free: 62.18 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005229/0.2301, allocations: 75.94 kB / 0.9022 GB, free: 62.1 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001906/0.2303, allocations: 165.6 kB / 0.9023 GB, free: 61.89 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009838/0.2313, allocations: 146.5 kB / 0.9025 GB, free: 61.74 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000286/0.2316, allocations: 52.98 kB / 0.9025 GB, free: 61.68 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007729/0.2324, allocations: 177 kB / 0.9027 GB, free: 61.49 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.158e-05/0.2324, allocations: 34.5 kB / 0.9027 GB, free: 61.45 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=4): time 1.984e-06/0.2324, allocations: 3.938 kB / 0.9027 GB, free: 61.45 MB / 0.6042 GB Notification: Performance of matching and sorting (n=5): time 0.001821/0.2343, allocations: 434.2 kB / 0.9031 GB, free: 60.97 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.798e-05/0.2343, allocations: 59.41 kB / 0.9032 GB, free: 60.9 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.641e-05/0.2344, allocations: 93.86 kB / 0.9033 GB, free: 60.8 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.932e-05/0.2344, allocations: 25.7 kB / 0.9033 GB, free: 60.77 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 1.813e-05/0.2344, allocations: 80.14 kB / 0.9034 GB, free: 60.68 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 3.444e-05/0.2345, allocations: 23.7 kB / 0.9034 GB, free: 60.66 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.016e-05/0.2345, allocations: 0 / 0.9034 GB, free: 60.66 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 5.806e-05/0.2346, allocations: 314.8 kB / 0.9037 GB, free: 60.34 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002785/0.2349, allocations: 44.09 kB / 0.9037 GB, free: 60.3 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002729/0.2351, allocations: 47.95 kB / 0.9038 GB, free: 60.25 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002777/0.2354, allocations: 43.91 kB / 0.9038 GB, free: 60.21 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.272e-06/0.2355, allocations: 0 / 0.9038 GB, free: 60.21 MB / 0.6042 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0006197/0.2361, allocations: 129.6 kB / 0.904 GB, free: 60.08 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.793e-05/0.2361, allocations: 4 kB / 0.904 GB, free: 60.07 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.761e-06/0.2361, allocations: 0 / 0.904 GB, free: 60.07 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.78e-05/0.2362, allocations: 0 / 0.904 GB, free: 60.07 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002624/0.2364, allocations: 27.97 kB / 0.904 GB, free: 60.05 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.963e-06/0.2365, allocations: 0 / 0.904 GB, free: 60.05 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002013/0.2367, allocations: 19.98 kB / 0.904 GB, free: 60.03 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.494e-05/0.2367, allocations: 0 / 0.904 GB, free: 60.03 MB / 0.6042 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 8.176e-05/0.2368, allocations: 113.8 kB / 0.9041 GB, free: 59.91 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.196e-05/0.2368, allocations: 8.5 kB / 0.9041 GB, free: 59.9 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007383/0.2376, allocations: 149.1 kB / 0.9043 GB, free: 59.75 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.851e-06/0.2376, allocations: 7.984 kB / 0.9043 GB, free: 59.74 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.909e-06/0.2376, allocations: 0 / 0.9043 GB, free: 59.74 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.829e-06/0.2376, allocations: 3.984 kB / 0.9043 GB, free: 59.73 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001418/0.2378, allocations: 165.7 kB / 0.9044 GB, free: 59.52 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.633e-06/0.2378, allocations: 4 kB / 0.9044 GB, free: 59.52 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002748/0.2381, allocations: 31.91 kB / 0.9045 GB, free: 59.49 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.725e-06/0.2381, allocations: 0 / 0.9045 GB, free: 59.49 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.677e-05/0.2381, allocations: 4 kB / 0.9045 GB, free: 59.48 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.994e-06/0.2381, allocations: 0 / 0.9045 GB, free: 59.48 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.016e-06/0.2381, allocations: 0 / 0.9045 GB, free: 59.48 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009441/0.2391, allocations: 216.8 kB / 0.9047 GB, free: 59.25 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 6.895e-05/0.2392, allocations: 93 kB / 0.9048 GB, free: 59.14 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.497e-05/0.2392, allocations: 4.062 kB / 0.9048 GB, free: 59.14 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002065/0.2394, allocations: 15.98 kB / 0.9048 GB, free: 59.12 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.234e-05/0.2395, allocations: 0 / 0.9048 GB, free: 59.12 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.768e-05/0.2395, allocations: 11.98 kB / 0.9048 GB, free: 59.11 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 2.709e-05/0.2395, allocations: 75.28 kB / 0.9049 GB, free: 59.04 MB / 0.6042 GB Notification: Performance of sort global known variables: time 3.71e-07/0.2395, allocations: 0 / 0.9049 GB, free: 59.04 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0002971/0.2398, allocations: 36.09 kB / 0.9049 GB, free: 59 MB / 0.6042 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.0002338/0.2401, allocations: 123.2 kB / 0.905 GB, free: 58.87 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0006388/0.2407, allocations: 99.86 kB / 0.9051 GB, free: 58.77 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 3.016e-06/0.2408, allocations: 0 / 0.9051 GB, free: 58.77 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.000294/0.2411, allocations: 59.89 kB / 0.9052 GB, free: 58.71 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000192/0.2413, allocations: 3.938 kB / 0.9052 GB, free: 58.71 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009018/0.2422, allocations: 196.6 kB / 0.9054 GB, free: 58.5 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001298/0.2423, allocations: 0.6848 MB / 0.906 GB, free: 57.79 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.000176/0.2425, allocations: 16 kB / 0.9061 GB, free: 57.77 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.386e-05/0.2426, allocations: 15.42 kB / 0.9061 GB, free: 57.75 MB / 0.6042 GB Notification: Performance of SimCode: time 1.573e-06/0.2426, allocations: 0 / 0.9061 GB, free: 57.75 MB / 0.6042 GB Notification: Performance of Templates: time 0.004259/0.2469, allocations: 1.1 MB / 0.9071 GB, free: 56.66 MB / 0.6042 GB make -j1 -f Buildings_7.0.0_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.makefile (rm -f Buildings_7.0.0_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.pipe ; mkfifo Buildings_7.0.0_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.pipe ; head -c 1048576 < Buildings_7.0.0_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.pipe >> ../files/Buildings_7.0.0_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.sim & ./Buildings_7.0.0_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_7.0.0_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.pipe 2>&1)