Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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 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_8_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_8_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.001093/0.001093, allocations: 109.4 kB / 15.69 MB, free: 128 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001267/0.001267, allocations: 186.6 kB / 16.62 MB, free: 6.613 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.377/1.377, allocations: 205.1 MB / 222.5 MB, free: 4.543 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.672/1.672, allocations: 292.3 MB / 0.549 GB, free: 12.75 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001664/0.001664, allocations: 76.8 kB / 0.6718 GB, free: 26.19 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2397/0.2413, allocations: 114.6 MB / 0.7836 GB, free: 13.25 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check): time 0.002515/0.2439, allocations: 0.7901 MB / 0.7844 GB, free: 12.45 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.002146/0.2461, allocations: 1.515 MB / 0.7859 GB, free: 10.92 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.118e-05/0.2462, allocations: 0 / 0.7859 GB, free: 10.92 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 2.999e-05/0.2462, allocations: 3.938 kB / 0.7859 GB, free: 10.91 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 6.835e-05/0.2463, allocations: 3.938 kB / 0.7859 GB, free: 10.91 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006171/0.2469, allocations: 147.4 kB / 0.786 GB, free: 10.77 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0001134/0.2471, allocations: 51.83 kB / 0.7861 GB, free: 10.71 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 5.137e-05/0.2471, allocations: 4 kB / 0.7861 GB, free: 10.71 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 8.376e-05/0.2472, allocations: 27.92 kB / 0.7861 GB, free: 10.68 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 8.177e-05/0.2473, allocations: 39.88 kB / 0.7862 GB, free: 10.64 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.626e-05/0.2473, allocations: 4 kB / 0.7862 GB, free: 10.64 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004914/0.2478, allocations: 311.4 kB / 0.7865 GB, free: 10.34 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 2.95e-05/0.2479, allocations: 23.91 kB / 0.7865 GB, free: 10.31 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 4.115e-05/0.2479, allocations: 23.86 kB / 0.7865 GB, free: 10.29 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0003772/0.2483, allocations: 215.8 kB / 0.7867 GB, free: 10.08 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.569e-06/0.2483, allocations: 0 / 0.7867 GB, free: 10.08 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.704e-06/0.2483, allocations: 0 / 0.7867 GB, free: 10.08 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 6.602e-06/0.2483, allocations: 0 / 0.7867 GB, free: 10.08 MB / 0.6075 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.0007031/0.249, allocations: 399.4 kB / 0.7871 GB, free: 9.641 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.14e-05/0.2491, allocations: 12.03 kB / 0.7871 GB, free: 9.629 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.508e-05/0.2491, allocations: 38.75 kB / 0.7871 GB, free: 9.582 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004476/0.2496, allocations: 72.75 kB / 0.7872 GB, free: 9.512 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001517/0.2498, allocations: 164.3 kB / 0.7874 GB, free: 9.312 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.482e-05/0.2498, allocations: 8.375 kB / 0.7874 GB, free: 9.305 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.886e-05/0.2498, allocations: 8.375 kB / 0.7874 GB, free: 9.297 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003937/0.2502, allocations: 117.1 kB / 0.7875 GB, free: 9.18 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.134e-05/0.2503, allocations: 3.906 kB / 0.7875 GB, free: 9.176 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.633e-05/0.2503, allocations: 4 kB / 0.7875 GB, free: 9.172 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.073e-06/0.2503, allocations: 0 / 0.7875 GB, free: 9.172 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004931/0.2508, allocations: 103.9 kB / 0.7876 GB, free: 9.07 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005944/0.2514, allocations: 336.5 kB / 0.7879 GB, free: 8.691 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006609/0.2521, allocations: 154.4 kB / 0.7881 GB, free: 8.531 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002356/0.2523, allocations: 60.75 kB / 0.7881 GB, free: 8.469 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.476e-05/0.2524, allocations: 3.938 kB / 0.7881 GB, free: 8.465 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.608e-05/0.2524, allocations: 34.56 kB / 0.7882 GB, free: 8.422 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=7): time 1.332e-06/0.2524, allocations: 0 / 0.7882 GB, free: 8.422 MB / 0.6075 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.01803/0.2704, allocations: 2.834 MB / 0.7909 GB, free: 5.492 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.16e-05/0.2705, allocations: 55.34 kB / 0.791 GB, free: 5.426 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.441e-05/0.2706, allocations: 97.84 kB / 0.7911 GB, free: 5.32 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 5.261e-05/0.2707, allocations: 33.7 kB / 0.7911 GB, free: 5.281 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 5.116e-05/0.2707, allocations: 92.03 kB / 0.7912 GB, free: 5.188 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 6.848e-05/0.2708, allocations: 39.45 kB / 0.7912 GB, free: 5.148 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001767/0.271, allocations: 65.58 kB / 0.7913 GB, free: 5.078 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001072/0.2711, allocations: 322.8 kB / 0.7916 GB, free: 4.754 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000663/0.2718, allocations: 187.8 kB / 0.7918 GB, free: 4.57 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006425/0.2724, allocations: 195.9 kB / 0.792 GB, free: 4.379 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001326/0.2738, allocations: 396.5 kB / 0.7924 GB, free: 3.988 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.028e-06/0.2738, allocations: 0 / 0.7924 GB, free: 3.988 MB / 0.6075 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.001566/0.2754, allocations: 477 kB / 0.7928 GB, free: 3.516 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.205e-05/0.2754, allocations: 8 kB / 0.7928 GB, free: 3.508 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.054e-06/0.2754, allocations: 0 / 0.7928 GB, free: 3.508 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.791e-05/0.2754, allocations: 0 / 0.7928 GB, free: 3.508 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008184/0.2763, allocations: 115.7 kB / 0.7929 GB, free: 3.395 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.949e-06/0.2763, allocations: 3.984 kB / 0.7929 GB, free: 3.391 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00061/0.2769, allocations: 43.94 kB / 0.793 GB, free: 3.348 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.369e-05/0.277, allocations: 23.94 kB / 0.793 GB, free: 3.324 MB / 0.6075 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.0001598/0.2771, allocations: 117.8 kB / 0.7931 GB, free: 3.199 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.457e-05/0.2772, allocations: 192 / 0.7931 GB, free: 3.199 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.025e-05/0.2773, allocations: 19.95 kB / 0.7931 GB, free: 3.176 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.739e-06/0.2773, allocations: 3.938 kB / 0.7931 GB, free: 3.172 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.454e-06/0.2773, allocations: 3.984 kB / 0.7931 GB, free: 3.168 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.316e-06/0.2773, allocations: 0 / 0.7931 GB, free: 3.168 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002208/0.2796, allocations: 1.054 MB / 0.7942 GB, free: 2 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.394e-06/0.2796, allocations: 0 / 0.7942 GB, free: 2 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008137/0.2804, allocations: 107.7 kB / 0.7943 GB, free: 1.895 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.719e-06/0.2804, allocations: 0 / 0.7943 GB, free: 1.895 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.664e-05/0.2805, allocations: 27.92 kB / 0.7943 GB, free: 1.867 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.625e-06/0.2805, allocations: 4 kB / 0.7943 GB, free: 1.863 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.763e-06/0.2805, allocations: 0 / 0.7943 GB, free: 1.863 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002337/0.2828, allocations: 0.7839 MB / 0.7951 GB, free: 1.062 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000159/0.283, allocations: 125 kB / 0.7952 GB, free: 0.9219 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.926e-05/0.2831, allocations: 7.938 kB / 0.7952 GB, free: 0.9141 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006829/0.2838, allocations: 48 kB / 0.7952 GB, free: 0.8672 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.641e-05/0.2839, allocations: 27.92 kB / 0.7953 GB, free: 0.8398 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.129e-05/0.284, allocations: 27.88 kB / 0.7953 GB, free: 0.8125 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 5.148e-05/0.284, allocations: 83.27 kB / 0.7954 GB, free: 0.7305 MB / 0.6075 GB Notification: Performance of sort global known variables: time 2.1e-07/0.284, allocations: 0 / 0.7954 GB, free: 0.7305 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0004054/0.2844, allocations: 56 kB / 0.7954 GB, free: 0.6758 MB / 0.6075 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.00272/0.2872, allocations: 1.344 MB / 0.7967 GB, free: 15.31 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.001446/0.2886, allocations: 423.5 kB / 0.7971 GB, free: 14.89 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 3.957e-06/0.2886, allocations: 0 / 0.7971 GB, free: 14.89 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0007181/0.2894, allocations: 227.7 kB / 0.7974 GB, free: 14.67 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004006/0.2898, allocations: 11.98 kB / 0.7974 GB, free: 14.66 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008778/0.2986, allocations: 2.943 MB / 0.8002 GB, free: 11.64 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002787/0.2989, allocations: 0.6885 MB / 0.8009 GB, free: 10.92 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0005489/0.2995, allocations: 92.66 kB / 0.801 GB, free: 10.83 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000272/0.2997, allocations: 63.3 kB / 0.8011 GB, free: 10.77 MB / 0.6231 GB Notification: Performance of SimCode: time 1.082e-06/0.2998, allocations: 0 / 0.8011 GB, free: 10.77 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0245/0.3243, allocations: 4.561 MB / 0.8055 GB, free: 6.344 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.393/7.717, allocations: 10.06 kB / 0.8055 GB, free: 6.34 MB / 0.6231 GB (rm -f Buildings_8_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.pipe ; mkfifo Buildings_8_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.pipe ; head -c 1048576 < Buildings_8_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.pipe >> ../files/Buildings_8_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.sim & python3 -m fmpy simulate --output-file Buildings_8_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check_res.csv --start-time -1.5 --stop-time 1.5 --timeout 50 --relative-tolerance 1e-08 Buildings_8_Buildings_Utilities_Math_Functions_Examples_InverseXDerivative_2_Check.fmu > Buildings_8_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.pipe 2>&1)