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.006291/0.006291, allocations: 98.72 kB / 15.73 MB, free: 6.004 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.001244/0.001244, allocations: 193 kB / 16.67 MB, free: 5.93 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.342/1.342, allocations: 222.9 MB / 240.4 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002028/0.002028, allocations: 295.2 kB / 290.8 MB, free: 14.46 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9259/0.9259, allocations: 169.3 MB / 0.4983 GB, free: 4.434 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001844/0.001844, allocations: 103.8 kB / 0.681 GB, free: 7.426 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4108/0.4126, allocations: 86.97 MB / 0.766 GB, free: 3.859 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.InverseXRegularized): time 0.00165/0.4143, allocations: 0.6244 MB / 0.7666 GB, free: 3.242 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.001729/0.4161, allocations: 1.454 MB / 0.768 GB, free: 1.77 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.256e-05/0.4161, allocations: 0 / 0.768 GB, free: 1.77 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 1.627e-05/0.4162, allocations: 7.875 kB / 0.768 GB, free: 1.762 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 6.76e-05/0.4162, allocations: 11.94 kB / 0.768 GB, free: 1.75 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004534/0.4167, allocations: 119.5 kB / 0.7681 GB, free: 1.633 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 6.599e-05/0.4168, allocations: 27.91 kB / 0.7681 GB, free: 1.605 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 4.415e-05/0.4168, allocations: 8 kB / 0.7682 GB, free: 1.598 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 3.272e-05/0.4169, allocations: 11.88 kB / 0.7682 GB, free: 1.586 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 6.37e-05/0.4169, allocations: 27.89 kB / 0.7682 GB, free: 1.559 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.187e-05/0.4169, allocations: 0 / 0.7682 GB, free: 1.559 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004481/0.4174, allocations: 319.4 kB / 0.7685 GB, free: 1.246 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 1.572e-05/0.4174, allocations: 3.984 kB / 0.7685 GB, free: 1.242 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 2.873e-05/0.4174, allocations: 19.86 kB / 0.7685 GB, free: 1.223 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0002795/0.4177, allocations: 184.6 kB / 0.7687 GB, free: 1.051 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 4.429e-06/0.4177, allocations: 8 kB / 0.7687 GB, free: 1.043 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.422e-06/0.4178, allocations: 0 / 0.7687 GB, free: 1.043 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 5e-06/0.4178, allocations: 0 / 0.7687 GB, free: 1.043 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.0004735/0.4182, allocations: 378.9 kB / 0.7691 GB, free: 0.625 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.611e-05/0.4183, allocations: 8.031 kB / 0.7691 GB, free: 0.6172 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.203e-05/0.4183, allocations: 34.69 kB / 0.7691 GB, free: 0.5742 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003647/0.4187, allocations: 64.86 kB / 0.7692 GB, free: 0.5117 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000126/0.4188, allocations: 172.3 kB / 0.7693 GB, free: 312 kB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.281e-05/0.4188, allocations: 4.375 kB / 0.7693 GB, free: 308 kB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.044e-05/0.4189, allocations: 4.375 kB / 0.7693 GB, free: 304 kB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002591/0.4191, allocations: 83.56 kB / 0.7694 GB, free: 216 kB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.006e-05/0.4192, allocations: 0 / 0.7694 GB, free: 216 kB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.108e-05/0.4192, allocations: 0 / 0.7694 GB, free: 216 kB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.637e-06/0.4192, allocations: 3.938 kB / 0.7694 GB, free: 212 kB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003518/0.4195, allocations: 75.91 kB / 0.7695 GB, free: 136 kB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001827/0.4197, allocations: 161.7 kB / 0.7696 GB, free: 15.93 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005412/0.4203, allocations: 134.4 kB / 0.7698 GB, free: 15.79 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001814/0.4205, allocations: 36.95 kB / 0.7698 GB, free: 15.75 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 1.423e-05/0.4205, allocations: 4 kB / 0.7698 GB, free: 15.74 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.086e-05/0.4205, allocations: 42.5 kB / 0.7699 GB, free: 15.69 MB / 0.545 GB Notification: Performance of pre-optimization done (n=5): time 1.102e-06/0.4205, allocations: 0 / 0.7699 GB, free: 15.69 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.004056/0.4246, allocations: 0.7896 MB / 0.7706 GB, free: 14.89 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.029e-05/0.4246, allocations: 51.5 kB / 0.7707 GB, free: 14.83 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.584e-05/0.4247, allocations: 113.8 kB / 0.7708 GB, free: 14.71 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.922e-05/0.4247, allocations: 29.7 kB / 0.7708 GB, free: 14.68 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 3.169e-05/0.4248, allocations: 88.12 kB / 0.7709 GB, free: 14.59 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 4.209e-05/0.4248, allocations: 31.73 kB / 0.7709 GB, free: 14.55 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.605e-05/0.4249, allocations: 25.7 kB / 0.771 GB, free: 14.52 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 9.301e-05/0.425, allocations: 318.8 kB / 0.7713 GB, free: 14.2 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004326/0.4254, allocations: 95.89 kB / 0.7713 GB, free: 14.11 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004174/0.4259, allocations: 103.8 kB / 0.7714 GB, free: 14.01 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000808/0.4267, allocations: 192.7 kB / 0.7716 GB, free: 13.82 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.097e-06/0.4267, allocations: 3.938 kB / 0.7716 GB, free: 13.81 MB / 0.545 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0008992/0.4276, allocations: 237.4 kB / 0.7719 GB, free: 13.57 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.533e-05/0.4276, allocations: 8 kB / 0.7719 GB, free: 13.57 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.009e-06/0.4276, allocations: 4 kB / 0.7719 GB, free: 13.56 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.498e-05/0.4277, allocations: 0 / 0.7719 GB, free: 13.56 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003066/0.428, allocations: 51.94 kB / 0.7719 GB, free: 13.51 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.066e-06/0.428, allocations: 8.75 kB / 0.7719 GB, free: 13.5 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002227/0.4282, allocations: 31.95 kB / 0.772 GB, free: 13.47 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.753e-05/0.4283, allocations: 7.984 kB / 0.772 GB, free: 13.46 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 8.364e-05/0.4283, allocations: 120.2 kB / 0.7721 GB, free: 13.34 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.714e-05/0.4284, allocations: 4 kB / 0.7721 GB, free: 13.34 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.086e-05/0.4284, allocations: 12.31 kB / 0.7721 GB, free: 13.32 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.007e-06/0.4284, allocations: 4.281 kB / 0.7721 GB, free: 13.32 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.168e-06/0.4284, allocations: 0 / 0.7721 GB, free: 13.32 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.737e-06/0.4284, allocations: 4 kB / 0.7721 GB, free: 13.31 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001635/0.4301, allocations: 0.6012 MB / 0.7727 GB, free: 12.65 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.354e-06/0.4301, allocations: 0 / 0.7727 GB, free: 12.65 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002694/0.4304, allocations: 60 kB / 0.7727 GB, free: 12.59 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.75e-06/0.4304, allocations: 4 kB / 0.7728 GB, free: 12.59 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.316e-05/0.4304, allocations: 3.984 kB / 0.7728 GB, free: 12.58 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.418e-06/0.4304, allocations: 7.938 kB / 0.7728 GB, free: 12.57 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.935e-06/0.4304, allocations: 3.938 kB / 0.7728 GB, free: 12.57 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009225/0.4314, allocations: 341 kB / 0.7731 GB, free: 12.21 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 4.064e-05/0.4314, allocations: 85.06 kB / 0.7732 GB, free: 12.11 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.328e-05/0.4314, allocations: 0 / 0.7732 GB, free: 12.11 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002486/0.4317, allocations: 39.95 kB / 0.7732 GB, free: 12.07 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.857e-05/0.4317, allocations: 15.92 kB / 0.7732 GB, free: 12.06 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.101e-05/0.4318, allocations: 4 kB / 0.7732 GB, free: 12.05 MB / 0.545 GB Notification: Performance of sorting global known variables: time 4.55e-05/0.4318, allocations: 91.27 kB / 0.7733 GB, free: 11.96 MB / 0.545 GB Notification: Performance of sort global known variables: time 2.11e-07/0.4318, allocations: 0 / 0.7733 GB, free: 11.96 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002895/0.4321, allocations: 39.86 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.001263/0.4334, allocations: 0.8974 MB / 0.7742 GB, free: 11 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0009189/0.4343, allocations: 207.7 kB / 0.7744 GB, free: 10.79 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.484e-06/0.4343, allocations: 0 / 0.7744 GB, free: 10.79 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0004416/0.4348, allocations: 112.6 kB / 0.7745 GB, free: 10.68 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002367/0.435, allocations: 14.44 kB / 0.7746 GB, free: 10.67 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00453/0.4395, allocations: 2.133 MB / 0.7766 GB, free: 8.445 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002367/0.4398, allocations: 0.6924 MB / 0.7773 GB, free: 7.727 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0001035/0.4399, allocations: 16.67 kB / 0.7773 GB, free: 7.707 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.702e-05/0.44, allocations: 27.42 kB / 0.7774 GB, free: 7.68 MB / 0.545 GB Notification: Performance of SimCode: time 5.71e-07/0.44, allocations: 0 / 0.7774 GB, free: 7.68 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02027/0.4603, allocations: 2.759 MB / 0.78 GB, free: 5.066 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.435/7.896, allocations: 10.06 kB / 0.7801 GB, free: 5.059 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)