Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.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.InverseXDerivative_2_Check,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check") translateModel(Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.419/1.419, allocations: 252 MB / 268 MB, free: 10.87 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.001235/0.001235, allocations: 173.2 kB / 327.6 MB, free: 2.113 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.892/1.892, allocations: 205.4 MB / 0.5786 GB, free: 20.48 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.0007936/0.0007936, allocations: 85.38 kB / 0.6832 GB, free: 13.24 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003508/0.0003508, allocations: 12.06 kB / 0.7976 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2512/0.2515, allocations: 106.3 MB / 0.9015 GB, free: 63.84 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check): time 0.001064/0.2527, allocations: 0.5281 MB / 0.902 GB, free: 63.31 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.001733/0.2544, allocations: 1.517 MB / 0.9035 GB, free: 61.78 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.625e-05/0.2544, allocations: 0 / 0.9035 GB, free: 61.78 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 2.195e-05/0.2545, allocations: 3.938 kB / 0.9035 GB, free: 61.77 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 4.608e-05/0.2545, allocations: 0 / 0.9035 GB, free: 61.77 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004589/0.255, allocations: 119.7 kB / 0.9036 GB, free: 61.66 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 7.031e-05/0.2551, allocations: 43.91 kB / 0.9036 GB, free: 61.61 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 5.357e-05/0.2551, allocations: 7.938 kB / 0.9036 GB, free: 61.61 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 7.692e-05/0.2552, allocations: 23.92 kB / 0.9036 GB, free: 61.58 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 6.336e-05/0.2553, allocations: 39.88 kB / 0.9037 GB, free: 61.54 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.704e-05/0.2553, allocations: 4 kB / 0.9037 GB, free: 61.54 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003665/0.2557, allocations: 311.4 kB / 0.904 GB, free: 61.23 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 2.065e-05/0.2557, allocations: 19.91 kB / 0.904 GB, free: 61.21 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 3.863e-05/0.2558, allocations: 45.62 kB / 0.904 GB, free: 61.16 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0002145/0.256, allocations: 151.8 kB / 0.9042 GB, free: 61.02 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 5.04e-06/0.256, allocations: 0 / 0.9042 GB, free: 61.02 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.175e-06/0.256, allocations: 0 / 0.9042 GB, free: 61.02 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 4.679e-06/0.256, allocations: 0 / 0.9042 GB, free: 61.02 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: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0005742/0.2566, allocations: 393.6 kB / 0.9046 GB, free: 60.59 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.765e-05/0.2566, allocations: 8.031 kB / 0.9046 GB, free: 60.58 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004252/0.2571, allocations: 84.75 kB / 0.9047 GB, free: 60.5 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.502e-05/0.2572, allocations: 172.3 kB / 0.9048 GB, free: 60.29 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.128e-05/0.2572, allocations: 8.312 kB / 0.9048 GB, free: 60.28 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.526e-05/0.2572, allocations: 12.28 kB / 0.9048 GB, free: 60.27 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003572/0.2576, allocations: 129.9 kB / 0.905 GB, free: 60.14 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.268e-05/0.2576, allocations: 4 kB / 0.905 GB, free: 60.13 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.589e-05/0.2577, allocations: 0 / 0.905 GB, free: 60.13 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.721e-06/0.2577, allocations: 4 kB / 0.905 GB, free: 60.13 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004583/0.2581, allocations: 119.9 kB / 0.9051 GB, free: 60.01 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005285/0.2587, allocations: 340.6 kB / 0.9054 GB, free: 59.63 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006319/0.2593, allocations: 186.4 kB / 0.9056 GB, free: 59.44 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002246/0.2596, allocations: 64.8 kB / 0.9057 GB, free: 59.37 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 1.685e-05/0.2596, allocations: 4 kB / 0.9057 GB, free: 59.37 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.203e-05/0.2596, allocations: 38.56 kB / 0.9057 GB, free: 59.32 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=7): time 1.944e-06/0.2596, allocations: 0 / 0.9057 GB, free: 59.32 MB / 0.6042 GB Warning: Some equations could not be differentiated for following variables having attribute stateSelect=StateSelect.prefer. They will be treated as if they had stateSelect=StateSelect.default ======================================== 1: x Please use -d=bltdump for more information. Notification: Performance of matching and sorting (n=11): time 0.01768/0.2773, allocations: 3.187 MB / 0.9088 GB, free: 56.04 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.368e-05/0.2774, allocations: 55.34 kB / 0.9089 GB, free: 55.97 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.729e-05/0.2775, allocations: 101.8 kB / 0.909 GB, free: 55.86 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 4.284e-05/0.2775, allocations: 29.8 kB / 0.909 GB, free: 55.83 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 3.582e-05/0.2776, allocations: 91.98 kB / 0.9091 GB, free: 55.73 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 5.868e-05/0.2776, allocations: 43.38 kB / 0.9091 GB, free: 55.69 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.256e-05/0.2777, allocations: 4 kB / 0.9091 GB, free: 55.69 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 7.013e-05/0.2777, allocations: 314.8 kB / 0.9094 GB, free: 55.37 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006018/0.2784, allocations: 219.8 kB / 0.9096 GB, free: 55.16 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006164/0.279, allocations: 218.8 kB / 0.9098 GB, free: 54.95 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001224/0.2802, allocations: 444.5 kB / 0.9103 GB, free: 54.51 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.082e-06/0.2802, allocations: 3.938 kB / 0.9103 GB, free: 54.5 MB / 0.6042 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.001398/0.2816, allocations: 0.5246 MB / 0.9108 GB, free: 53.97 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.84e-05/0.2817, allocations: 4 kB / 0.9108 GB, free: 53.97 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.933e-06/0.2817, allocations: 0 / 0.9108 GB, free: 53.97 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.952e-05/0.2817, allocations: 4 kB / 0.9108 GB, free: 53.96 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007978/0.2825, allocations: 123.8 kB / 0.9109 GB, free: 53.84 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.666e-06/0.2825, allocations: 3.938 kB / 0.9109 GB, free: 53.84 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006158/0.2831, allocations: 55.94 kB / 0.911 GB, free: 53.79 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.648e-05/0.2832, allocations: 27.94 kB / 0.911 GB, free: 53.76 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 (13): * Single equations (assignments): 13 * 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.0001408/0.2834, allocations: 113.8 kB / 0.9111 GB, free: 53.64 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.172e-05/0.2834, allocations: 4 kB / 0.9111 GB, free: 53.63 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.351e-05/0.2835, allocations: 19.95 kB / 0.9111 GB, free: 53.61 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.987e-06/0.2835, allocations: 0 / 0.9111 GB, free: 53.61 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.742e-06/0.2835, allocations: 3.938 kB / 0.9111 GB, free: 53.61 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.147e-06/0.2835, allocations: 4 kB / 0.9111 GB, free: 53.61 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00193/0.2855, allocations: 1.09 MB / 0.9122 GB, free: 52.4 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.455e-06/0.2855, allocations: 4 kB / 0.9122 GB, free: 52.4 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007709/0.2862, allocations: 127.7 kB / 0.9123 GB, free: 52.27 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.068e-06/0.2863, allocations: 3.938 kB / 0.9123 GB, free: 52.27 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.261e-05/0.2863, allocations: 19.94 kB / 0.9123 GB, free: 52.25 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.713e-06/0.2863, allocations: 0 / 0.9123 GB, free: 52.25 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.063e-06/0.2863, allocations: 4 kB / 0.9123 GB, free: 52.25 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002124/0.2885, allocations: 0.8662 MB / 0.9132 GB, free: 51.36 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001179/0.2886, allocations: 116.9 kB / 0.9133 GB, free: 51.23 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.956e-05/0.2887, allocations: 7.938 kB / 0.9133 GB, free: 51.22 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006275/0.2893, allocations: 60 kB / 0.9134 GB, free: 51.16 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.441e-05/0.2894, allocations: 27.92 kB / 0.9134 GB, free: 51.14 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.225e-05/0.2895, allocations: 23.92 kB / 0.9134 GB, free: 51.11 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 3.281e-05/0.2895, allocations: 83.28 kB / 0.9135 GB, free: 51.03 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2895, allocations: 3.938 kB / 0.9135 GB, free: 51.03 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0003518/0.2899, allocations: 56 kB / 0.9135 GB, free: 50.97 MB / 0.6042 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (y_comp,der_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 (11): * Single equations (assignments): 11 * 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.0002174/0.2901, allocations: 115.2 kB / 0.9137 GB, free: 50.85 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.001365/0.2915, allocations: 467.5 kB / 0.9141 GB, free: 50.39 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.996e-06/0.2915, allocations: 0 / 0.9141 GB, free: 50.39 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0006639/0.2921, allocations: 251.7 kB / 0.9143 GB, free: 50.15 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003577/0.2925, allocations: 12.27 kB / 0.9144 GB, free: 50.14 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003982/0.2965, allocations: 0.9025 MB / 0.9152 GB, free: 49.2 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001402/0.2967, allocations: 0.6965 MB / 0.9159 GB, free: 48.48 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003821/0.297, allocations: 75.23 kB / 0.916 GB, free: 48.4 MB / 0.6042 GB Notification: Performance of SimCode: time 7.92e-07/0.2971, allocations: 0 / 0.916 GB, free: 48.4 MB / 0.6042 GB Notification: Performance of Templates: time 0.004955/0.302, allocations: 3.797 MB / 0.9197 GB, free: 44.59 MB / 0.6042 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.makefile (rm -f Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.sim & ./Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.pipe 2>&1)