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.447/1.447, allocations: 251.5 MB / 267.4 MB, free: 11.06 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.001182/0.001182, allocations: 167 kB / 326.5 MB, free: 2.703 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.013/2.013, allocations: 205 MB / 0.5766 GB, free: 21.04 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.0008679/0.0008678, allocations: 80 kB / 0.6803 GB, free: 14.73 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003786/0.0003788, allocations: 16.02 kB / 0.7938 GB, free: 136.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2542/0.2546, allocations: 105.4 MB / 0.8967 GB, free: 68.16 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check): time 0.001125/0.2558, allocations: 0.5319 MB / 0.8973 GB, free: 67.62 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.001847/0.2576, allocations: 1.534 MB / 0.8988 GB, free: 66.07 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.746e-05/0.2577, allocations: 3.938 kB / 0.8988 GB, free: 66.07 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 3.564e-05/0.2577, allocations: 0 / 0.8988 GB, free: 66.07 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 5.251e-05/0.2578, allocations: 0 / 0.8988 GB, free: 66.07 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004511/0.2582, allocations: 115.7 kB / 0.8989 GB, free: 65.95 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 7.446e-05/0.2583, allocations: 51.89 kB / 0.8989 GB, free: 65.9 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 5.315e-05/0.2584, allocations: 7.938 kB / 0.8989 GB, free: 65.89 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 7.657e-05/0.2584, allocations: 27.91 kB / 0.899 GB, free: 65.87 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 6.932e-05/0.2585, allocations: 31.84 kB / 0.899 GB, free: 65.84 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.812e-05/0.2585, allocations: 8 kB / 0.899 GB, free: 65.83 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005146/0.2591, allocations: 319.3 kB / 0.8993 GB, free: 65.52 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 2.564e-05/0.2591, allocations: 11.98 kB / 0.8993 GB, free: 65.5 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 4.725e-05/0.2592, allocations: 27.84 kB / 0.8993 GB, free: 65.48 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0002086/0.2594, allocations: 143.8 kB / 0.8995 GB, free: 65.34 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 5.3e-06/0.2594, allocations: 0 / 0.8995 GB, free: 65.34 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.563e-06/0.2594, allocations: 0 / 0.8995 GB, free: 65.34 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 5.591e-06/0.2594, allocations: 0 / 0.8995 GB, free: 65.34 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.0005575/0.26, allocations: 403.3 kB / 0.8999 GB, free: 64.89 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.833e-05/0.26, allocations: 8.031 kB / 0.8999 GB, free: 64.89 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005287/0.2606, allocations: 84.75 kB / 0.9 GB, free: 64.8 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001083/0.2607, allocations: 168.3 kB / 0.9001 GB, free: 64.6 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.822e-05/0.2607, allocations: 4.375 kB / 0.9001 GB, free: 64.6 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.32e-05/0.2608, allocations: 16.28 kB / 0.9001 GB, free: 64.58 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004554/0.2612, allocations: 117.9 kB / 0.9002 GB, free: 64.46 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.473e-05/0.2613, allocations: 4 kB / 0.9003 GB, free: 64.46 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.905e-05/0.2613, allocations: 8 kB / 0.9003 GB, free: 64.45 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.001e-06/0.2613, allocations: 0 / 0.9003 GB, free: 64.45 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000602/0.2619, allocations: 122.9 kB / 0.9004 GB, free: 64.33 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000643/0.2626, allocations: 344.5 kB / 0.9007 GB, free: 63.95 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007828/0.2634, allocations: 182.4 kB / 0.9009 GB, free: 63.76 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002959/0.2637, allocations: 68.81 kB / 0.9009 GB, free: 63.69 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 2.38e-05/0.2637, allocations: 0 / 0.9009 GB, free: 63.69 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.678e-05/0.2638, allocations: 38.5 kB / 0.901 GB, free: 63.64 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=7): time 1.323e-06/0.2638, allocations: 0 / 0.901 GB, free: 63.64 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.0219/0.2857, allocations: 3.193 MB / 0.9041 GB, free: 60.35 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.452e-05/0.2858, allocations: 59.33 kB / 0.9042 GB, free: 60.28 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.658e-05/0.2859, allocations: 101.9 kB / 0.9043 GB, free: 60.17 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 5.287e-05/0.286, allocations: 25.7 kB / 0.9043 GB, free: 60.14 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 4.104e-05/0.286, allocations: 92.03 kB / 0.9044 GB, free: 60.05 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 7.252e-05/0.2861, allocations: 35.47 kB / 0.9044 GB, free: 60.01 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.913e-05/0.2862, allocations: 17.7 kB / 0.9044 GB, free: 59.99 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 5.959e-05/0.2862, allocations: 318.8 kB / 0.9047 GB, free: 59.67 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007984/0.2871, allocations: 215.8 kB / 0.9049 GB, free: 59.46 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008286/0.2879, allocations: 215.8 kB / 0.9051 GB, free: 59.25 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001641/0.2895, allocations: 448.5 kB / 0.9056 GB, free: 58.8 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.362e-06/0.2896, allocations: 0 / 0.9056 GB, free: 58.8 MB / 0.6042 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.001541/0.2911, allocations: 0.5207 MB / 0.9061 GB, free: 58.28 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.853e-05/0.2911, allocations: 4 kB / 0.9061 GB, free: 58.27 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.286e-06/0.2912, allocations: 0 / 0.9061 GB, free: 58.27 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.9e-05/0.2912, allocations: 0 / 0.9061 GB, free: 58.27 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007543/0.2919, allocations: 123.9 kB / 0.9062 GB, free: 58.15 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.775e-06/0.292, allocations: 11.88 kB / 0.9062 GB, free: 58.14 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005713/0.2925, allocations: 55.94 kB / 0.9063 GB, free: 58.09 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.044e-05/0.2926, allocations: 31.88 kB / 0.9063 GB, free: 58.05 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.0001368/0.2927, allocations: 113.8 kB / 0.9064 GB, free: 57.93 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.712e-05/0.2928, allocations: 4 kB / 0.9064 GB, free: 57.93 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.704e-05/0.2929, allocations: 15.95 kB / 0.9064 GB, free: 57.91 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.176e-06/0.2929, allocations: 0 / 0.9064 GB, free: 57.91 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.063e-06/0.2929, allocations: 3.938 kB / 0.9064 GB, free: 57.91 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.178e-06/0.2929, allocations: 0 / 0.9064 GB, free: 57.91 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002599/0.2955, allocations: 1.094 MB / 0.9075 GB, free: 56.7 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.226e-06/0.2955, allocations: 3.938 kB / 0.9075 GB, free: 56.7 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00104/0.2966, allocations: 127.8 kB / 0.9076 GB, free: 56.57 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.394e-06/0.2966, allocations: 3.938 kB / 0.9076 GB, free: 56.57 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.044e-05/0.2967, allocations: 27.88 kB / 0.9076 GB, free: 56.54 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.695e-06/0.2967, allocations: 0 / 0.9076 GB, free: 56.54 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.265e-06/0.2967, allocations: 4 kB / 0.9076 GB, free: 56.54 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002984/0.2997, allocations: 0.8601 MB / 0.9085 GB, free: 55.66 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001637/0.2999, allocations: 120.9 kB / 0.9086 GB, free: 55.53 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.148e-05/0.3, allocations: 4 kB / 0.9086 GB, free: 55.52 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008595/0.3009, allocations: 56 kB / 0.9087 GB, free: 55.47 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001177/0.301, allocations: 35.86 kB / 0.9087 GB, free: 55.43 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.276e-05/0.3011, allocations: 23.92 kB / 0.9087 GB, free: 55.41 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 3.162e-05/0.3011, allocations: 79.28 kB / 0.9088 GB, free: 55.33 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.6e-07/0.3011, allocations: 4 kB / 0.9088 GB, free: 55.33 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0005057/0.3016, allocations: 52 kB / 0.9088 GB, free: 55.28 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.000246/0.3019, allocations: 123.1 kB / 0.909 GB, free: 55.15 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.001734/0.3036, allocations: 471.5 kB / 0.9094 GB, free: 54.69 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 3.045e-06/0.3036, allocations: 0 / 0.9094 GB, free: 54.69 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0008416/0.3045, allocations: 248 kB / 0.9096 GB, free: 54.45 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004278/0.3049, allocations: 9.344 kB / 0.9097 GB, free: 54.44 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005203/0.3102, allocations: 0.9008 MB / 0.9105 GB, free: 53.5 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001515/0.3103, allocations: 0.7003 MB / 0.9112 GB, free: 52.77 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000486/0.3109, allocations: 75.23 kB / 0.9113 GB, free: 52.7 MB / 0.6042 GB Notification: Performance of SimCode: time 1.183e-06/0.3109, allocations: 0 / 0.9113 GB, free: 52.7 MB / 0.6042 GB Notification: Performance of Templates: time 0.00813/0.319, allocations: 3.793 MB / 0.915 GB, free: 48.89 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)