Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/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(BuildingSystems.Utilities.Math.Functions.Examples.InverseXRegularized,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Math_Functions_Examples_InverseXRegularized",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Utilities.Math.Functions.Examples.InverseXRegularized,fileNamePrefix="BuildingSystems_BuildingSystems_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.005041/0.005041, allocations: 97.62 kB / 15.73 MB, free: 6.055 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.00126/0.00126, allocations: 198.5 kB / 16.68 MB, free: 5.961 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.406/1.406, allocations: 222.9 MB / 240.4 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002469/0.002469, allocations: 291.5 kB / 290.8 MB, free: 14.45 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.985/0.985, allocations: 169.2 MB / 0.4983 GB, free: 4.434 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002634/0.002634, allocations: 104.2 kB / 0.681 GB, free: 7.406 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4715/0.4741, allocations: 86.98 MB / 0.766 GB, free: 3.863 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.InverseXRegularized): time 0.00185/0.476, allocations: 0.6199 MB / 0.7666 GB, free: 3.25 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.002179/0.4782, allocations: 1.462 MB / 0.768 GB, free: 1.77 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.758e-05/0.4783, allocations: 0 / 0.768 GB, free: 1.77 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 1.677e-05/0.4783, allocations: 0 / 0.768 GB, free: 1.77 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 9.797e-05/0.4784, allocations: 3.938 kB / 0.768 GB, free: 1.766 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004677/0.4789, allocations: 131.5 kB / 0.7681 GB, free: 1.637 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 6.994e-05/0.479, allocations: 23.92 kB / 0.7681 GB, free: 1.613 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 5.948e-05/0.4791, allocations: 7.984 kB / 0.7682 GB, free: 1.605 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 4.098e-05/0.4791, allocations: 19.86 kB / 0.7682 GB, free: 1.586 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 7.528e-05/0.4792, allocations: 19.91 kB / 0.7682 GB, free: 1.566 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.436e-05/0.4792, allocations: 0 / 0.7682 GB, free: 1.566 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005195/0.4797, allocations: 315.4 kB / 0.7685 GB, free: 1.258 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 2.003e-05/0.4798, allocations: 11.98 kB / 0.7685 GB, free: 1.246 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 2.867e-05/0.4798, allocations: 7.875 kB / 0.7685 GB, free: 1.238 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0003179/0.4801, allocations: 188.6 kB / 0.7687 GB, free: 1.062 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.907e-06/0.4801, allocations: 0 / 0.7687 GB, free: 1.062 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.833e-06/0.4801, allocations: 4 kB / 0.7687 GB, free: 1.059 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 8.646e-06/0.4801, allocations: 0 / 0.7687 GB, free: 1.059 MB / 0.5294 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.0006461/0.4808, allocations: 386.8 kB / 0.7691 GB, free: 0.6328 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.536e-05/0.4808, allocations: 12.03 kB / 0.7691 GB, free: 0.6211 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.521e-05/0.4809, allocations: 34.75 kB / 0.7691 GB, free: 0.5781 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003985/0.4813, allocations: 60.86 kB / 0.7692 GB, free: 0.5195 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002172/0.4815, allocations: 176.3 kB / 0.7693 GB, free: 316 kB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.737e-05/0.4816, allocations: 4.375 kB / 0.7693 GB, free: 312 kB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.994e-05/0.4816, allocations: 4.375 kB / 0.7693 GB, free: 308 kB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003193/0.4819, allocations: 79.56 kB / 0.7694 GB, free: 224 kB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.918e-05/0.4819, allocations: 3.938 kB / 0.7694 GB, free: 220 kB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.443e-05/0.482, allocations: 4 kB / 0.7694 GB, free: 216 kB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.955e-06/0.482, allocations: 0 / 0.7694 GB, free: 216 kB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003711/0.4824, allocations: 71.86 kB / 0.7695 GB, free: 144 kB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002755/0.4826, allocations: 165.7 kB / 0.7697 GB, free: 15.93 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000566/0.4832, allocations: 138.5 kB / 0.7698 GB, free: 15.79 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001776/0.4834, allocations: 36.95 kB / 0.7698 GB, free: 15.75 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 1.468e-05/0.4834, allocations: 0 / 0.7698 GB, free: 15.75 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.732e-05/0.4835, allocations: 38.5 kB / 0.7699 GB, free: 15.7 MB / 0.545 GB Notification: Performance of pre-optimization done (n=5): time 1.052e-06/0.4835, allocations: 4 kB / 0.7699 GB, free: 15.7 MB / 0.545 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.004012/0.4875, allocations: 0.7895 MB / 0.7706 GB, free: 14.9 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.276e-05/0.4876, allocations: 51.41 kB / 0.7707 GB, free: 14.84 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001389/0.4877, allocations: 117.8 kB / 0.7708 GB, free: 14.71 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.53e-05/0.4877, allocations: 25.7 kB / 0.7708 GB, free: 14.68 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 6.253e-05/0.4878, allocations: 88.14 kB / 0.7709 GB, free: 14.59 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 5.916e-05/0.4879, allocations: 31.73 kB / 0.7709 GB, free: 14.56 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.312e-05/0.488, allocations: 25.7 kB / 0.771 GB, free: 14.53 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.000203/0.4882, allocations: 314.8 kB / 0.7713 GB, free: 14.21 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004376/0.4886, allocations: 99.89 kB / 0.7714 GB, free: 14.11 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004343/0.489, allocations: 103.8 kB / 0.7715 GB, free: 14.01 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008044/0.4899, allocations: 185 kB / 0.7716 GB, free: 13.83 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.547e-06/0.4899, allocations: 3.938 kB / 0.7716 GB, free: 13.82 MB / 0.545 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0009326/0.4908, allocations: 249.3 kB / 0.7719 GB, free: 13.57 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.864e-05/0.4909, allocations: 8 kB / 0.7719 GB, free: 13.57 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.333e-06/0.4909, allocations: 0 / 0.7719 GB, free: 13.57 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.439e-05/0.4909, allocations: 0 / 0.7719 GB, free: 13.57 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003144/0.4912, allocations: 51.94 kB / 0.7719 GB, free: 13.52 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.945e-06/0.4912, allocations: 4 kB / 0.7719 GB, free: 13.51 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002196/0.4915, allocations: 36.7 kB / 0.772 GB, free: 13.48 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.389e-05/0.4915, allocations: 0 / 0.772 GB, free: 13.48 MB / 0.545 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 0.0001205/0.4916, allocations: 125.7 kB / 0.7721 GB, free: 13.34 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.319e-05/0.4916, allocations: 7.984 kB / 0.7721 GB, free: 13.34 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.186e-05/0.4917, allocations: 12.38 kB / 0.7721 GB, free: 13.32 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.456e-06/0.4917, allocations: 0 / 0.7721 GB, free: 13.32 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.011e-06/0.4917, allocations: 0 / 0.7721 GB, free: 13.32 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.342e-06/0.4917, allocations: 4 kB / 0.7721 GB, free: 13.32 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00178/0.4935, allocations: 0.5974 MB / 0.7727 GB, free: 12.66 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.769e-06/0.4935, allocations: 0 / 0.7727 GB, free: 12.66 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002744/0.4938, allocations: 59.94 kB / 0.7727 GB, free: 12.6 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.917e-06/0.4938, allocations: 3.938 kB / 0.7728 GB, free: 12.59 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.782e-05/0.4939, allocations: 7.984 kB / 0.7728 GB, free: 12.59 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.254e-06/0.4939, allocations: 0 / 0.7728 GB, free: 12.59 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.509e-06/0.4939, allocations: 3.938 kB / 0.7728 GB, free: 12.58 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000947/0.4948, allocations: 345 kB / 0.7731 GB, free: 12.22 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 6.618e-05/0.4949, allocations: 85.06 kB / 0.7732 GB, free: 12.12 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.154e-05/0.4949, allocations: 0 / 0.7732 GB, free: 12.12 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002479/0.4952, allocations: 39.95 kB / 0.7732 GB, free: 12.08 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.108e-05/0.4952, allocations: 19.91 kB / 0.7732 GB, free: 12.06 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.361e-05/0.4953, allocations: 4 kB / 0.7732 GB, free: 12.06 MB / 0.545 GB Notification: Performance of sorting global known variables: time 7.155e-05/0.4953, allocations: 91.27 kB / 0.7733 GB, free: 11.97 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.01e-07/0.4954, allocations: 0 / 0.7733 GB, free: 11.97 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0003222/0.4957, allocations: 39.88 kB / 0.7734 GB, free: 11.93 MB / 0.545 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.001496/0.4972, allocations: 0.8936 MB / 0.7742 GB, free: 11 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0009399/0.4981, allocations: 215.7 kB / 0.7744 GB, free: 10.79 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 4.348e-06/0.4981, allocations: 4 kB / 0.7744 GB, free: 10.79 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.000448/0.4986, allocations: 104 kB / 0.7745 GB, free: 10.69 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002519/0.4989, allocations: 7.938 kB / 0.7745 GB, free: 10.68 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004875/0.5037, allocations: 2.144 MB / 0.7766 GB, free: 8.445 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003536/0.5041, allocations: 0.6885 MB / 0.7773 GB, free: 7.73 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0001101/0.5042, allocations: 20.94 kB / 0.7773 GB, free: 7.707 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.931e-05/0.5044, allocations: 31.36 kB / 0.7774 GB, free: 7.676 MB / 0.545 GB Notification: Performance of SimCode: time 4.81e-07/0.5044, allocations: 4 kB / 0.7774 GB, free: 7.672 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02398/0.5283, allocations: 2.749 MB / 0.7801 GB, free: 5.07 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.8/8.329, allocations: 11.88 kB / 0.7801 GB, free: 5.062 MB / 0.545 GB (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.InverseXRegularized.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.InverseXRegularized.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.InverseXRegularized.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.InverseXRegularized.sim & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.InverseXRegularized_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 BuildingSystems_BuildingSystems_Utilities_Math_Functions_Examples_InverseXRegularized.fmu > BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.InverseXRegularized.pipe 2>&1)