Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.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.7.0.x_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.571/1.571, allocations: 252 MB / 268 MB, free: 10.86 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001234/0.001234, allocations: 178.7 kB / 327.6 MB, free: 2.094 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.769/1.769, allocations: 205.4 MB / 0.5786 GB, free: 20.19 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007313/0.0007316, allocations: 86.05 kB / 0.6832 GB, free: 12.76 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003891/0.0003891, allocations: 9.188 kB / 0.7976 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2533/0.2537, allocations: 106.3 MB / 0.9015 GB, free: 63.48 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck): time 0.0008198/0.2546, allocations: 346.3 kB / 0.9018 GB, free: 63.14 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.002075/0.2567, allocations: 1.499 MB / 0.9033 GB, free: 61.62 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.022e-05/0.2567, allocations: 0 / 0.9033 GB, free: 61.62 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 1.372e-05/0.2567, allocations: 4 kB / 0.9033 GB, free: 61.62 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 3.538e-05/0.2568, allocations: 0 / 0.9033 GB, free: 61.62 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005099/0.2573, allocations: 118 kB / 0.9034 GB, free: 61.5 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 6.148e-05/0.2574, allocations: 23.98 kB / 0.9034 GB, free: 61.48 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 4.937e-05/0.2574, allocations: 4 kB / 0.9034 GB, free: 61.48 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 4.535e-05/0.2575, allocations: 23.97 kB / 0.9034 GB, free: 61.45 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 9.717e-05/0.2576, allocations: 27.89 kB / 0.9034 GB, free: 61.43 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 2.017e-05/0.2576, allocations: 4 kB / 0.9034 GB, free: 61.42 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005194/0.2581, allocations: 315.4 kB / 0.9038 GB, free: 61.11 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 2.087e-05/0.2582, allocations: 3.984 kB / 0.9038 GB, free: 61.11 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 4.629e-05/0.2582, allocations: 41.62 kB / 0.9038 GB, free: 61.06 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0002405/0.2585, allocations: 131.8 kB / 0.9039 GB, free: 60.93 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 5.32e-06/0.2585, allocations: 0 / 0.9039 GB, free: 60.93 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.063e-06/0.2585, allocations: 0 / 0.9039 GB, free: 60.93 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 5.14e-06/0.2585, allocations: 4 kB / 0.9039 GB, free: 60.93 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.0005198/0.259, allocations: 364.1 kB / 0.9043 GB, free: 60.53 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.465e-05/0.2591, allocations: 8.031 kB / 0.9043 GB, free: 60.52 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005673/0.2597, allocations: 80.84 kB / 0.9044 GB, free: 60.44 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001053/0.2598, allocations: 164.6 kB / 0.9045 GB, free: 60.24 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.333e-05/0.2598, allocations: 4.375 kB / 0.9045 GB, free: 60.24 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.82e-05/0.2599, allocations: 4.375 kB / 0.9045 GB, free: 60.23 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003048/0.2602, allocations: 81.94 kB / 0.9046 GB, free: 60.15 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.739e-06/0.2602, allocations: 0 / 0.9046 GB, free: 60.15 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.89e-05/0.2602, allocations: 8 kB / 0.9046 GB, free: 60.14 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.055e-06/0.2602, allocations: 0 / 0.9046 GB, free: 60.14 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003845/0.2606, allocations: 79.92 kB / 0.9047 GB, free: 60.06 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001906/0.2608, allocations: 161.6 kB / 0.9048 GB, free: 59.86 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007422/0.2616, allocations: 146.5 kB / 0.905 GB, free: 59.7 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002104/0.2618, allocations: 52.91 kB / 0.905 GB, free: 59.65 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005603/0.2624, allocations: 181 kB / 0.9052 GB, free: 59.45 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.102e-05/0.2624, allocations: 34.5 kB / 0.9052 GB, free: 59.41 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=4): time 1.333e-06/0.2624, allocations: 0 / 0.9052 GB, free: 59.41 MB / 0.6042 GB Notification: Performance of matching and sorting (n=5): time 0.001399/0.2638, allocations: 438.2 kB / 0.9057 GB, free: 58.93 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.81e-05/0.2639, allocations: 55.34 kB / 0.9057 GB, free: 58.86 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.773e-05/0.2639, allocations: 93.86 kB / 0.9058 GB, free: 58.76 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.735e-05/0.264, allocations: 37.62 kB / 0.9058 GB, free: 58.72 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 1.721e-05/0.264, allocations: 84.27 kB / 0.9059 GB, free: 58.63 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 3.202e-05/0.264, allocations: 11.72 kB / 0.9059 GB, free: 58.62 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.084e-05/0.2641, allocations: 11.94 kB / 0.9059 GB, free: 58.61 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 5.224e-05/0.2641, allocations: 310.8 kB / 0.9062 GB, free: 58.3 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002022/0.2643, allocations: 47.95 kB / 0.9063 GB, free: 58.25 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000192/0.2645, allocations: 39.97 kB / 0.9063 GB, free: 58.21 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004083/0.265, allocations: 84.8 kB / 0.9064 GB, free: 58.12 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.81e-07/0.265, allocations: 4 kB / 0.9064 GB, free: 58.12 MB / 0.6042 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0004594/0.2654, allocations: 125.6 kB / 0.9065 GB, free: 57.99 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.845e-05/0.2655, allocations: 4 kB / 0.9065 GB, free: 57.99 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.923e-06/0.2655, allocations: 7.984 kB / 0.9065 GB, free: 57.98 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.757e-05/0.2655, allocations: 0 / 0.9065 GB, free: 57.98 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001857/0.2657, allocations: 27.92 kB / 0.9066 GB, free: 57.95 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.162e-06/0.2657, allocations: 4 kB / 0.9066 GB, free: 57.95 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001226/0.2658, allocations: 11.98 kB / 0.9066 GB, free: 57.94 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.373e-05/0.2659, allocations: 4 kB / 0.9066 GB, free: 57.93 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.914e-05/0.2659, allocations: 113.8 kB / 0.9067 GB, free: 57.81 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.946e-05/0.266, allocations: 7.938 kB / 0.9067 GB, free: 57.8 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005631/0.2665, allocations: 145.1 kB / 0.9068 GB, free: 57.66 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.298e-06/0.2666, allocations: 3.984 kB / 0.9068 GB, free: 57.65 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.919e-06/0.2666, allocations: 4 kB / 0.9068 GB, free: 57.65 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.418e-06/0.2666, allocations: 0 / 0.9068 GB, free: 57.65 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001252/0.2667, allocations: 165.7 kB / 0.907 GB, free: 57.44 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.186e-06/0.2667, allocations: 3.984 kB / 0.907 GB, free: 57.43 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000195/0.2669, allocations: 31.86 kB / 0.907 GB, free: 57.4 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.175e-06/0.267, allocations: 0 / 0.907 GB, free: 57.4 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.436e-05/0.267, allocations: 320 / 0.907 GB, free: 57.4 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.663e-06/0.267, allocations: 0 / 0.907 GB, free: 57.4 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.765e-06/0.267, allocations: 8 kB / 0.907 GB, free: 57.39 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007046/0.2677, allocations: 212.9 kB / 0.9072 GB, free: 57.17 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 6.394e-05/0.2678, allocations: 85.03 kB / 0.9073 GB, free: 57.07 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.273e-05/0.2678, allocations: 3.969 kB / 0.9073 GB, free: 57.06 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001463/0.268, allocations: 15.98 kB / 0.9073 GB, free: 57.05 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.623e-05/0.268, allocations: 7.984 kB / 0.9073 GB, free: 57.04 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.359e-05/0.268, allocations: 4 kB / 0.9074 GB, free: 57.04 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 2.449e-05/0.2681, allocations: 83.34 kB / 0.9074 GB, free: 56.95 MB / 0.6042 GB Notification: Performance of sort global known variables: time 2.1e-07/0.2681, allocations: 3.938 kB / 0.9074 GB, free: 56.95 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0003354/0.2684, allocations: 27.94 kB / 0.9075 GB, free: 56.92 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 (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.0002339/0.2687, allocations: 127.2 kB / 0.9076 GB, free: 56.79 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0004675/0.2691, allocations: 100 kB / 0.9077 GB, free: 56.69 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.755e-06/0.2692, allocations: 0 / 0.9077 GB, free: 56.69 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.000211/0.2694, allocations: 59.89 kB / 0.9077 GB, free: 56.63 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002215/0.2696, allocations: 3.938 kB / 0.9077 GB, free: 56.62 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007232/0.2703, allocations: 236.9 kB / 0.908 GB, free: 56.37 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001202/0.2705, allocations: 0.6809 MB / 0.9086 GB, free: 55.66 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.24e-05/0.2706, allocations: 15.42 kB / 0.9086 GB, free: 55.64 MB / 0.6042 GB Notification: Performance of SimCode: time 2.71e-07/0.2706, allocations: 0 / 0.9086 GB, free: 55.64 MB / 0.6042 GB Notification: Performance of Templates: time 0.002923/0.2735, allocations: 1.108 MB / 0.9097 GB, free: 54.54 MB / 0.6042 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.makefile (rm -f Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.sim & ./Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.pipe 2>&1)