Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check,fileNamePrefix="Buildings_9_Buildings_Utilities_Math_Functions_Examples_InverseXDerivative_2_Check",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check,fileNamePrefix="Buildings_9_Buildings_Utilities_Math_Functions_Examples_InverseXDerivative_2_Check",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007991/0.007991, allocations: 104.7 kB / 15.74 MB, free: 6.484 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001738/0.001738, allocations: 193.5 kB / 16.67 MB, free: 6.375 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.4/1.4, allocations: 222.9 MB / 240.4 MB, free: 4.312 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.449/2.449, allocations: 390.2 MB / 0.6648 GB, free: 216 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001232/0.001232, allocations: 64.78 kB / 0.9504 GB, free: 5.891 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2562/0.2575, allocations: 140.4 MB / 1.088 GB, free: 1.945 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check): time 0.002224/0.2598, allocations: 0.783 MB / 1.088 GB, free: 1.164 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.002529/0.2623, allocations: 1.475 MB / 1.09 GB, free: 15.67 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.494e-05/0.2624, allocations: 8 kB / 1.09 GB, free: 15.66 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 3.678e-05/0.2625, allocations: 3.938 kB / 1.09 GB, free: 15.66 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 5.453e-05/0.2625, allocations: 3.938 kB / 1.09 GB, free: 15.66 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006974/0.2632, allocations: 143.4 kB / 1.09 GB, free: 15.52 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0001269/0.2634, allocations: 59.59 kB / 1.09 GB, free: 15.46 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 5.232e-05/0.2634, allocations: 7.984 kB / 1.09 GB, free: 15.45 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001038/0.2635, allocations: 27.91 kB / 1.09 GB, free: 15.42 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 7.511e-05/0.2636, allocations: 27.91 kB / 1.09 GB, free: 15.39 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.887e-05/0.2636, allocations: 4 kB / 1.09 GB, free: 15.39 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005395/0.2642, allocations: 323.3 kB / 1.09 GB, free: 15.07 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 4.107e-05/0.2642, allocations: 15.92 kB / 1.09 GB, free: 15.06 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 5.445e-05/0.2643, allocations: 27.84 kB / 1.09 GB, free: 15.03 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.000409/0.2647, allocations: 202.4 kB / 1.091 GB, free: 14.84 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 7.464e-06/0.2647, allocations: 8 kB / 1.091 GB, free: 14.83 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.683e-06/0.2647, allocations: 4 kB / 1.091 GB, free: 14.82 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 6.242e-06/0.2647, allocations: 0 / 1.091 GB, free: 14.82 MB / 0.8575 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.000777/0.2655, allocations: 400.2 kB / 1.091 GB, free: 14.39 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 5.061e-05/0.2656, allocations: 12.03 kB / 1.091 GB, free: 14.38 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.538e-05/0.2656, allocations: 38.73 kB / 1.091 GB, free: 14.33 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004947/0.2661, allocations: 72.77 kB / 1.091 GB, free: 14.26 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001325/0.2663, allocations: 168.3 kB / 1.091 GB, free: 14.05 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.762e-05/0.2663, allocations: 8.375 kB / 1.091 GB, free: 14.05 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.255e-05/0.2664, allocations: 4.375 kB / 1.091 GB, free: 14.04 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004065/0.2668, allocations: 113.7 kB / 1.091 GB, free: 13.93 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.564e-05/0.2668, allocations: 0 / 1.091 GB, free: 13.93 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.661e-05/0.2668, allocations: 0 / 1.091 GB, free: 13.93 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.534e-06/0.2668, allocations: 4 kB / 1.091 GB, free: 13.92 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005691/0.2674, allocations: 103.9 kB / 1.091 GB, free: 13.82 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006323/0.2681, allocations: 340.5 kB / 1.092 GB, free: 13.44 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006906/0.2688, allocations: 154.4 kB / 1.092 GB, free: 13.28 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002622/0.269, allocations: 60.75 kB / 1.092 GB, free: 13.21 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 2.973e-05/0.2691, allocations: 0 / 1.092 GB, free: 13.21 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.997e-05/0.2691, allocations: 34.56 kB / 1.092 GB, free: 13.17 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=7): time 2.264e-06/0.2691, allocations: 3.984 kB / 1.092 GB, free: 13.17 MB / 0.8575 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.01939/0.2885, allocations: 2.837 MB / 1.095 GB, free: 10.24 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.845e-05/0.2886, allocations: 59.33 kB / 1.095 GB, free: 10.17 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.869e-05/0.2887, allocations: 97.86 kB / 1.095 GB, free: 10.06 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 5.543e-05/0.2887, allocations: 29.7 kB / 1.095 GB, free: 10.03 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 4.743e-05/0.2888, allocations: 88.12 kB / 1.095 GB, free: 9.938 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 6.995e-05/0.2889, allocations: 35.38 kB / 1.095 GB, free: 9.902 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000162/0.289, allocations: 69.58 kB / 1.095 GB, free: 9.828 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 9.711e-05/0.2892, allocations: 318.8 kB / 1.095 GB, free: 9.508 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007127/0.2899, allocations: 195.8 kB / 1.096 GB, free: 9.316 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006888/0.2906, allocations: 191.8 kB / 1.096 GB, free: 9.129 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00153/0.2921, allocations: 400 kB / 1.096 GB, free: 8.738 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.203e-06/0.2921, allocations: 0 / 1.096 GB, free: 8.738 MB / 0.8575 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.001631/0.2938, allocations: 469.2 kB / 1.097 GB, free: 8.273 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.919e-05/0.2938, allocations: 11.98 kB / 1.097 GB, free: 8.262 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.12e-06/0.2938, allocations: 0 / 1.097 GB, free: 8.262 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.381e-05/0.2938, allocations: 0 / 1.097 GB, free: 8.262 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008585/0.2947, allocations: 107.7 kB / 1.097 GB, free: 8.156 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.198e-06/0.2947, allocations: 7.938 kB / 1.097 GB, free: 8.148 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006532/0.2954, allocations: 47.94 kB / 1.097 GB, free: 8.102 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.812e-05/0.2954, allocations: 27.88 kB / 1.097 GB, free: 8.074 MB / 0.8575 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.0001561/0.2956, allocations: 109.8 kB / 1.097 GB, free: 7.957 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.728e-05/0.2957, allocations: 11.89 kB / 1.097 GB, free: 7.945 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.161e-05/0.2957, allocations: 11.97 kB / 1.097 GB, free: 7.93 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.597e-06/0.2958, allocations: 11.94 kB / 1.097 GB, free: 7.918 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.479e-06/0.2958, allocations: 0 / 1.097 GB, free: 7.918 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.956e-06/0.2958, allocations: 0 / 1.097 GB, free: 7.918 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002288/0.2981, allocations: 1.039 MB / 1.098 GB, free: 6.773 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.521e-06/0.2981, allocations: 7.984 kB / 1.098 GB, free: 6.766 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008581/0.299, allocations: 107.7 kB / 1.098 GB, free: 6.66 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.275e-06/0.299, allocations: 4 kB / 1.098 GB, free: 6.656 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.728e-05/0.299, allocations: 19.94 kB / 1.098 GB, free: 6.637 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.394e-06/0.2991, allocations: 3.938 kB / 1.098 GB, free: 6.633 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.2991, allocations: 4.094 kB / 1.098 GB, free: 6.629 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002501/0.3016, allocations: 0.7955 MB / 1.099 GB, free: 5.816 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000167/0.3018, allocations: 117 kB / 1.099 GB, free: 5.684 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.493e-05/0.3018, allocations: 4.062 kB / 1.099 GB, free: 5.68 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000711/0.3025, allocations: 47.94 kB / 1.099 GB, free: 5.633 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001044/0.3027, allocations: 23.92 kB / 1.099 GB, free: 5.609 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.022e-05/0.3027, allocations: 27.92 kB / 1.099 GB, free: 5.582 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 4.946e-05/0.3028, allocations: 87.28 kB / 1.099 GB, free: 5.496 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3028, allocations: 0 / 1.099 GB, free: 5.496 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0004406/0.3032, allocations: 52 kB / 1.099 GB, free: 5.445 MB / 0.8575 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.002785/0.306, allocations: 1.348 MB / 1.101 GB, free: 4.07 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.001545/0.3076, allocations: 419.6 kB / 1.101 GB, free: 3.66 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 4.999e-06/0.3076, allocations: 4 kB / 1.101 GB, free: 3.656 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.000757/0.3084, allocations: 232 kB / 1.101 GB, free: 3.43 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004347/0.3088, allocations: 9.719 kB / 1.101 GB, free: 3.422 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009232/0.3181, allocations: 2.943 MB / 1.104 GB, free: 412 kB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003742/0.3185, allocations: 0.6889 MB / 1.105 GB, free: 15.69 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.0005393/0.319, allocations: 96.75 kB / 1.105 GB, free: 15.59 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002938/0.3193, allocations: 66.42 kB / 1.105 GB, free: 15.53 MB / 0.8731 GB Notification: Performance of SimCode: time 5.92e-07/0.3193, allocations: 0 / 1.105 GB, free: 15.53 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0236/0.3429, allocations: 4.574 MB / 1.109 GB, free: 11.08 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.658/8.001, allocations: 5.906 kB / 1.109 GB, free: 11.08 MB / 0.8731 GB (rm -f Buildings_9_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.pipe ; mkfifo Buildings_9_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.pipe >> ../files/Buildings_9_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.sim & python3 -m fmpy simulate --output-file Buildings_9_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check_res.csv --start-time -1.5 --stop-time 1.5 --timeout 50 --relative-tolerance 1e-08 --interface-type ModelExchange --solver CVode --output-interval 0.0012 Buildings_9_Buildings_Utilities_Math_Functions_Examples_InverseXDerivative_2_Check.fmu > Buildings_9_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.pipe 2>&1)