Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized.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.InverseXRegularized,fileNamePrefix="Buildings_8_Buildings_Utilities_Math_Functions_Examples_InverseXRegularized",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.InverseXRegularized,fileNamePrefix="Buildings_8_Buildings_Utilities_Math_Functions_Examples_InverseXRegularized",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.001181/0.001181, 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.001192/0.001192, allocations: 196.7 kB / 16.54 MB, free: 6.672 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.154/1.154, allocations: 205.1 MB / 222.4 MB, free: 4.609 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.564/1.564, allocations: 292.3 MB / 0.5489 GB, free: 12.83 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.001317/0.001317, allocations: 67.89 kB / 0.6716 GB, free: 26.11 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1594/0.1608, allocations: 114.5 MB / 0.7835 GB, free: 13.38 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.InverseXRegularized): time 0.001477/0.1623, allocations: 0.6368 MB / 0.7841 GB, free: 12.73 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001399/0.1637, allocations: 1.49 MB / 0.7856 GB, free: 11.22 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.247e-05/0.1637, allocations: 0 / 0.7856 GB, free: 11.22 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 1.423e-05/0.1637, allocations: 3.938 kB / 0.7856 GB, free: 11.22 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 5.172e-05/0.1638, allocations: 3.938 kB / 0.7856 GB, free: 11.21 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003182/0.1641, allocations: 123.5 kB / 0.7857 GB, free: 11.09 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 4.83e-05/0.1642, allocations: 27.97 kB / 0.7857 GB, free: 11.07 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 3.241e-05/0.1642, allocations: 7.938 kB / 0.7857 GB, free: 11.06 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 2.502e-05/0.1642, allocations: 7.984 kB / 0.7857 GB, free: 11.05 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 5.398e-05/0.1643, allocations: 31.78 kB / 0.7858 GB, free: 11.02 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.172e-05/0.1643, allocations: 0 / 0.7858 GB, free: 11.02 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003762/0.1647, allocations: 319.3 kB / 0.7861 GB, free: 10.71 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 1.07e-05/0.1647, allocations: 4 kB / 0.7861 GB, free: 10.7 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 2.147e-05/0.1647, allocations: 11.92 kB / 0.7861 GB, free: 10.69 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0002284/0.165, allocations: 191.8 kB / 0.7863 GB, free: 10.5 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 2.765e-06/0.165, allocations: 4 kB / 0.7863 GB, free: 10.5 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.132e-06/0.165, allocations: 0 / 0.7863 GB, free: 10.5 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 3.957e-06/0.165, allocations: 0 / 0.7863 GB, free: 10.5 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.000387/0.1654, allocations: 375.3 kB / 0.7866 GB, free: 10.09 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 2.986e-05/0.1654, allocations: 12.03 kB / 0.7866 GB, free: 10.07 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.842e-05/0.1654, allocations: 30.75 kB / 0.7867 GB, free: 10.04 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003297/0.1658, allocations: 60.86 kB / 0.7867 GB, free: 9.977 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001047/0.1659, allocations: 184.2 kB / 0.7869 GB, free: 9.758 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.149e-05/0.1659, allocations: 384 / 0.7869 GB, free: 9.758 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.389e-05/0.1659, allocations: 4.375 kB / 0.7869 GB, free: 9.754 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00023/0.1662, allocations: 77.77 kB / 0.787 GB, free: 9.672 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.915e-06/0.1662, allocations: 0 / 0.787 GB, free: 9.672 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.224e-06/0.1662, allocations: 0 / 0.787 GB, free: 9.672 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.328e-06/0.1662, allocations: 7.984 kB / 0.787 GB, free: 9.664 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003205/0.1665, allocations: 71.91 kB / 0.787 GB, free: 9.594 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001343/0.1667, allocations: 161.7 kB / 0.7872 GB, free: 9.387 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005005/0.1672, allocations: 134.4 kB / 0.7873 GB, free: 9.246 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001656/0.1674, allocations: 40.95 kB / 0.7874 GB, free: 9.203 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 9.688e-06/0.1674, allocations: 4 kB / 0.7874 GB, free: 9.199 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.862e-05/0.1674, allocations: 42.44 kB / 0.7874 GB, free: 9.148 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=5): time 2.594e-06/0.1674, allocations: 0 / 0.7874 GB, free: 9.148 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=9): time 0.003693/0.1711, allocations: 0.7988 MB / 0.7882 GB, free: 8.344 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.938e-05/0.1711, allocations: 51.41 kB / 0.7882 GB, free: 8.281 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.964e-05/0.1712, allocations: 109.8 kB / 0.7883 GB, free: 8.164 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.865e-05/0.1712, allocations: 37.7 kB / 0.7884 GB, free: 8.121 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 2.799e-05/0.1713, allocations: 80.14 kB / 0.7885 GB, free: 8.039 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 3.675e-05/0.1713, allocations: 31.55 kB / 0.7885 GB, free: 8.008 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.01e-05/0.1714, allocations: 25.7 kB / 0.7885 GB, free: 7.977 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 9.439e-05/0.1715, allocations: 314.8 kB / 0.7888 GB, free: 7.66 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004086/0.1719, allocations: 95.89 kB / 0.7889 GB, free: 7.566 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003937/0.1723, allocations: 103.9 kB / 0.789 GB, free: 7.465 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007629/0.1731, allocations: 192.6 kB / 0.7892 GB, free: 7.273 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.575e-06/0.1731, allocations: 3.938 kB / 0.7892 GB, free: 7.27 MB / 0.6075 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.000835/0.1739, allocations: 245.6 kB / 0.7894 GB, free: 7.023 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.106e-05/0.1739, allocations: 4 kB / 0.7894 GB, free: 7.02 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.256e-06/0.1739, allocations: 0 / 0.7894 GB, free: 7.02 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.418e-06/0.1739, allocations: 96 / 0.7894 GB, free: 7.02 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002839/0.1742, allocations: 63.88 kB / 0.7895 GB, free: 6.957 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.818e-06/0.1743, allocations: 0 / 0.7895 GB, free: 6.957 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002056/0.1745, allocations: 31.95 kB / 0.7895 GB, free: 6.926 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.499e-05/0.1745, allocations: 7.984 kB / 0.7895 GB, free: 6.918 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 (9): * Single equations (assignments): 9 * 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 7.24e-05/0.1746, allocations: 122.4 kB / 0.7896 GB, free: 6.789 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.9e-05/0.1746, allocations: 3.906 kB / 0.7897 GB, free: 6.785 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.397e-05/0.1746, allocations: 12.38 kB / 0.7897 GB, free: 6.773 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.462e-06/0.1746, allocations: 0 / 0.7897 GB, free: 6.773 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.869e-06/0.1746, allocations: 0 / 0.7897 GB, free: 6.773 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.003e-06/0.1746, allocations: 3.938 kB / 0.7897 GB, free: 6.77 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001457/0.1761, allocations: 0.5975 MB / 0.7902 GB, free: 6.109 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.763e-06/0.1761, allocations: 0 / 0.7902 GB, free: 6.109 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002389/0.1764, allocations: 56 kB / 0.7903 GB, free: 6.055 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.024e-06/0.1764, allocations: 0 / 0.7903 GB, free: 6.055 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.381e-05/0.1764, allocations: 7.984 kB / 0.7903 GB, free: 6.047 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.412e-06/0.1764, allocations: 0 / 0.7903 GB, free: 6.047 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.989e-06/0.1764, allocations: 7.875 kB / 0.7903 GB, free: 6.039 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008319/0.1772, allocations: 344.9 kB / 0.7906 GB, free: 5.68 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 3.085e-05/0.1773, allocations: 84.95 kB / 0.7907 GB, free: 5.578 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.023e-05/0.1773, allocations: 4 kB / 0.7907 GB, free: 5.574 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002249/0.1775, allocations: 35.95 kB / 0.7908 GB, free: 5.539 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.259e-05/0.1776, allocations: 15.92 kB / 0.7908 GB, free: 5.523 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.498e-06/0.1776, allocations: 4 kB / 0.7908 GB, free: 5.52 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 4.175e-05/0.1776, allocations: 91.27 kB / 0.7909 GB, free: 5.43 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.11e-07/0.1776, allocations: 0 / 0.7909 GB, free: 5.43 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002513/0.1779, allocations: 43.98 kB / 0.7909 GB, free: 5.387 MB / 0.6075 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 simulation (9): * Single equations (assignments): 9 * 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.001124/0.179, allocations: 0.8936 MB / 0.7918 GB, free: 4.461 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0008511/0.1799, allocations: 211.8 kB / 0.792 GB, free: 4.254 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.1799, allocations: 0 / 0.792 GB, free: 4.254 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0004102/0.1803, allocations: 112 kB / 0.7921 GB, free: 4.145 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002293/0.1806, allocations: 11.94 kB / 0.7921 GB, free: 4.133 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00427/0.1848, allocations: 2.131 MB / 0.7942 GB, free: 1.914 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000285/0.1851, allocations: 0.6885 MB / 0.7949 GB, free: 1.199 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0001111/0.1853, allocations: 25.44 kB / 0.7949 GB, free: 1.172 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.11e-05/0.1854, allocations: 27.42 kB / 0.7949 GB, free: 1.148 MB / 0.6075 GB Notification: Performance of SimCode: time 4.1e-07/0.1854, allocations: 0 / 0.7949 GB, free: 1.148 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.352/1.538, allocations: 2.714 MB / 0.7976 GB, free: 14.53 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.22/11.76, allocations: 3.938 kB / 0.7976 GB, free: 14.52 MB / 0.6231 GB (rm -f Buildings_8_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized.pipe ; mkfifo Buildings_8_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized.pipe ; head -c 1048576 < Buildings_8_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized.pipe >> ../files/Buildings_8_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Utilities_Math_Functions_Examples_InverseXRegularized_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Utilities_Math_Functions_Examples_InverseXRegularized.fmu > Buildings_8_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized.pipe 2>&1)