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.001341/0.001345, allocations: 108 kB / 15.6 MB, free: 132 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.001328/0.001328, allocations: 195.5 kB / 16.53 MB, free: 6.391 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.623/1.623, allocations: 205.1 MB / 222.4 MB, free: 4.625 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.7/1.7, allocations: 292.3 MB / 0.5489 GB, free: 12.86 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.001448/0.001449, allocations: 70.39 kB / 0.6716 GB, free: 26.32 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2251/0.2266, allocations: 114.6 MB / 0.7835 GB, free: 13.37 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check): time 0.002216/0.2288, allocations: 0.7982 MB / 0.7843 GB, free: 12.56 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001774/0.2306, allocations: 1.507 MB / 0.7857 GB, free: 11.04 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.123e-05/0.2307, allocations: 0 / 0.7857 GB, free: 11.04 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 2.797e-05/0.2307, allocations: 7.938 kB / 0.7858 GB, free: 11.03 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 4.475e-05/0.2308, allocations: 3.938 kB / 0.7858 GB, free: 11.02 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004597/0.2312, allocations: 139.4 kB / 0.7859 GB, free: 10.89 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 8.424e-05/0.2313, allocations: 51.91 kB / 0.7859 GB, free: 10.84 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 4.676e-05/0.2314, allocations: 7.984 kB / 0.7859 GB, free: 10.83 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 7.362e-05/0.2315, allocations: 27.91 kB / 0.786 GB, free: 10.8 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 6.3e-05/0.2315, allocations: 31.91 kB / 0.786 GB, free: 10.77 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.933e-05/0.2316, allocations: 7.938 kB / 0.786 GB, free: 10.76 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004177/0.232, allocations: 323.3 kB / 0.7863 GB, free: 10.45 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 2.201e-05/0.232, allocations: 15.92 kB / 0.7863 GB, free: 10.43 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 4.779e-05/0.2321, allocations: 23.86 kB / 0.7864 GB, free: 10.41 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0002937/0.2324, allocations: 211.8 kB / 0.7866 GB, free: 10.2 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.35e-06/0.2324, allocations: 0 / 0.7866 GB, free: 10.2 MB / 0.6075 GB Notification: Performance of FrontEnd: time 3.908e-06/0.2324, allocations: 0 / 0.7866 GB, free: 10.2 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 9.558e-06/0.2324, allocations: 7.938 kB / 0.7866 GB, free: 10.19 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.0006225/0.233, allocations: 399.4 kB / 0.7869 GB, free: 9.754 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.811e-05/0.2331, allocations: 12.03 kB / 0.787 GB, free: 9.742 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.736e-05/0.2331, allocations: 38.73 kB / 0.787 GB, free: 9.695 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004296/0.2335, allocations: 68.77 kB / 0.7871 GB, free: 9.629 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001029/0.2337, allocations: 168.4 kB / 0.7872 GB, free: 9.426 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.467e-05/0.2337, allocations: 4.375 kB / 0.7872 GB, free: 9.422 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.565e-05/0.2337, allocations: 8.375 kB / 0.7872 GB, free: 9.414 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003564/0.2341, allocations: 113.7 kB / 0.7873 GB, free: 9.297 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.239e-05/0.2341, allocations: 3.906 kB / 0.7873 GB, free: 9.293 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.556e-05/0.2341, allocations: 4 kB / 0.7873 GB, free: 9.289 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.32e-06/0.2341, allocations: 7.938 kB / 0.7874 GB, free: 9.281 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004671/0.2346, allocations: 99.89 kB / 0.7875 GB, free: 9.184 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005214/0.2351, allocations: 336.6 kB / 0.7878 GB, free: 8.805 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00063/0.2358, allocations: 150.4 kB / 0.7879 GB, free: 8.648 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002323/0.236, allocations: 56.97 kB / 0.788 GB, free: 8.59 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.662e-05/0.2361, allocations: 11.97 kB / 0.788 GB, free: 8.578 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.182e-05/0.2361, allocations: 30.56 kB / 0.788 GB, free: 8.539 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=7): time 1.253e-06/0.2361, allocations: 0 / 0.788 GB, free: 8.539 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.01757/0.2537, allocations: 2.837 MB / 0.7908 GB, free: 5.609 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.293e-05/0.2537, allocations: 63.34 kB / 0.7908 GB, free: 5.535 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.206e-05/0.2538, allocations: 97.86 kB / 0.7909 GB, free: 5.43 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 4.715e-05/0.2539, allocations: 25.7 kB / 0.791 GB, free: 5.398 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 6.097e-05/0.254, allocations: 96.03 kB / 0.7911 GB, free: 5.301 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 7.199e-05/0.254, allocations: 31.47 kB / 0.7911 GB, free: 5.27 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001613/0.2542, allocations: 73.56 kB / 0.7912 GB, free: 5.191 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001022/0.2543, allocations: 314.8 kB / 0.7915 GB, free: 4.875 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006684/0.255, allocations: 195.8 kB / 0.7916 GB, free: 4.684 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006488/0.2557, allocations: 191.9 kB / 0.7918 GB, free: 4.496 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001354/0.257, allocations: 388.5 kB / 0.7922 GB, free: 4.113 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.483e-06/0.257, allocations: 4 kB / 0.7922 GB, free: 4.109 MB / 0.6075 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.001518/0.2586, allocations: 481 kB / 0.7927 GB, free: 3.633 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.224e-05/0.2586, allocations: 4 kB / 0.7927 GB, free: 3.629 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.569e-06/0.2586, allocations: 4 kB / 0.7927 GB, free: 3.625 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.039e-05/0.2586, allocations: 0 / 0.7927 GB, free: 3.625 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007834/0.2594, allocations: 107.7 kB / 0.7928 GB, free: 3.52 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.319e-06/0.2594, allocations: 3.938 kB / 0.7928 GB, free: 3.516 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00058/0.26, allocations: 47.94 kB / 0.7928 GB, free: 3.469 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.982e-05/0.2601, allocations: 23.94 kB / 0.7928 GB, free: 3.445 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.0001568/0.2602, allocations: 117.8 kB / 0.7929 GB, free: 3.32 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.636e-05/0.2603, allocations: 7.984 kB / 0.793 GB, free: 3.312 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.935e-05/0.2604, allocations: 11.97 kB / 0.793 GB, free: 3.297 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.99e-06/0.2604, allocations: 7.938 kB / 0.793 GB, free: 3.289 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.868e-06/0.2604, allocations: 4 kB / 0.793 GB, free: 3.285 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.374e-06/0.2604, allocations: 0 / 0.793 GB, free: 3.285 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00216/0.2626, allocations: 1.039 MB / 0.794 GB, free: 2.133 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.137e-06/0.2626, allocations: 0 / 0.794 GB, free: 2.133 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007915/0.2634, allocations: 123.6 kB / 0.7941 GB, free: 2.012 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.086e-06/0.2634, allocations: 96 / 0.7941 GB, free: 2.012 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.186e-05/0.2635, allocations: 23.88 kB / 0.7941 GB, free: 1.988 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.875e-06/0.2635, allocations: 0 / 0.7941 GB, free: 1.988 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.813e-06/0.2635, allocations: 0 / 0.7941 GB, free: 1.988 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002303/0.2658, allocations: 0.7917 MB / 0.7949 GB, free: 1.18 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001421/0.2659, allocations: 120.9 kB / 0.795 GB, free: 1.043 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.936e-05/0.266, allocations: 0 / 0.795 GB, free: 1.043 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006519/0.2667, allocations: 48 kB / 0.7951 GB, free: 0.9961 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000101/0.2668, allocations: 27.92 kB / 0.7951 GB, free: 0.9688 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.246e-05/0.2668, allocations: 27.92 kB / 0.7951 GB, free: 0.9414 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 3.814e-05/0.2669, allocations: 79.28 kB / 0.7952 GB, free: 0.8633 MB / 0.6075 GB Notification: Performance of sort global known variables: time 2.5e-07/0.2669, allocations: 7.938 kB / 0.7952 GB, free: 0.8555 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0003699/0.2673, allocations: 56 kB / 0.7953 GB, free: 0.8008 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.002616/0.2699, allocations: 1.349 MB / 0.7966 GB, free: 15.43 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.001504/0.2714, allocations: 427.5 kB / 0.797 GB, free: 15.01 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 5.64e-06/0.2714, allocations: 0 / 0.797 GB, free: 15.01 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0007239/0.2722, allocations: 227.7 kB / 0.7972 GB, free: 14.79 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003658/0.2725, allocations: 10.98 kB / 0.7972 GB, free: 14.78 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008441/0.281, allocations: 2.934 MB / 0.8001 GB, free: 11.77 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002841/0.2813, allocations: 0.6963 MB / 0.8008 GB, free: 11.04 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0006579/0.282, allocations: 93.75 kB / 0.8008 GB, free: 10.95 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002567/0.2822, allocations: 63.3 kB / 0.8009 GB, free: 10.89 MB / 0.6231 GB Notification: Performance of SimCode: time 8.71e-07/0.2822, allocations: 0 / 0.8009 GB, free: 10.89 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02078/0.303, allocations: 4.537 MB / 0.8053 GB, free: 6.473 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.111/7.414, allocations: 15.5 kB / 0.8054 GB, free: 6.465 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)