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.004821/0.004821, allocations: 98.97 kB / 15.73 MB, free: 6.012 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.001362/0.001362, allocations: 201.3 kB / 16.68 MB, free: 5.926 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.47/1.47, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002519/0.002519, allocations: 293.7 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 1.053/1.053, allocations: 169.2 MB / 0.4983 GB, free: 4.426 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.003837/0.003837, allocations: 104.1 kB / 0.681 GB, free: 7.398 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4693/0.4731, allocations: 86.98 MB / 0.766 GB, free: 3.953 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.InverseXRegularized): time 0.001811/0.475, allocations: 0.6327 MB / 0.7666 GB, free: 3.324 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.002097/0.4771, allocations: 1.454 MB / 0.768 GB, free: 1.852 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.39e-05/0.4772, allocations: 0 / 0.768 GB, free: 1.852 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 1.64e-05/0.4772, allocations: 0 / 0.768 GB, free: 1.852 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 8.015e-05/0.4773, allocations: 3.938 kB / 0.768 GB, free: 1.848 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004487/0.4777, allocations: 123.5 kB / 0.7681 GB, free: 1.727 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 7.156e-05/0.4778, allocations: 35.83 kB / 0.7681 GB, free: 1.691 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 5.123e-05/0.4779, allocations: 4 kB / 0.7682 GB, free: 1.688 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 4.083e-05/0.4779, allocations: 11.94 kB / 0.7682 GB, free: 1.676 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 7.332e-05/0.478, allocations: 23.91 kB / 0.7682 GB, free: 1.652 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.311e-05/0.478, allocations: 0 / 0.7682 GB, free: 1.652 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005263/0.4786, allocations: 319.3 kB / 0.7685 GB, free: 1.34 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 1.437e-05/0.4786, allocations: 4 kB / 0.7685 GB, free: 1.336 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 3.179e-05/0.4786, allocations: 23.8 kB / 0.7685 GB, free: 1.312 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0003273/0.4789, allocations: 188.6 kB / 0.7687 GB, free: 1.137 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 4.728e-06/0.479, allocations: 0 / 0.7687 GB, free: 1.137 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.372e-06/0.479, allocations: 0 / 0.7687 GB, free: 1.137 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 5.32e-06/0.479, allocations: 0 / 0.7687 GB, free: 1.137 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.0005856/0.4796, allocations: 378.9 kB / 0.7691 GB, free: 0.7188 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.118e-05/0.4796, allocations: 12.03 kB / 0.7691 GB, free: 0.707 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.258e-05/0.4797, allocations: 34.75 kB / 0.7691 GB, free: 0.6641 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003628/0.48, allocations: 56.86 kB / 0.7692 GB, free: 0.6094 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001734/0.4802, allocations: 180.3 kB / 0.7693 GB, free: 404 kB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.451e-05/0.4802, allocations: 4.375 kB / 0.7693 GB, free: 400 kB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.125e-05/0.4803, allocations: 4.375 kB / 0.7693 GB, free: 396 kB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002615/0.4805, allocations: 75.5 kB / 0.7694 GB, free: 316 kB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.585e-05/0.4806, allocations: 0 / 0.7694 GB, free: 316 kB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.208e-05/0.4806, allocations: 8 kB / 0.7694 GB, free: 308 kB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.827e-06/0.4806, allocations: 4 kB / 0.7694 GB, free: 304 kB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003747/0.481, allocations: 71.84 kB / 0.7695 GB, free: 232 kB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002129/0.4812, allocations: 173.7 kB / 0.7697 GB, free: 8 kB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005224/0.4817, allocations: 126.5 kB / 0.7698 GB, free: 15.88 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001729/0.4819, allocations: 40.95 kB / 0.7698 GB, free: 15.83 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 1.318e-05/0.4819, allocations: 0 / 0.7698 GB, free: 15.83 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.993e-05/0.482, allocations: 42.48 kB / 0.7699 GB, free: 15.78 MB / 0.545 GB Notification: Performance of pre-optimization done (n=5): time 9.12e-07/0.482, allocations: 0 / 0.7699 GB, free: 15.78 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.004027/0.486, allocations: 0.7935 MB / 0.7706 GB, free: 14.98 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.811e-05/0.4861, allocations: 55.41 kB / 0.7707 GB, free: 14.91 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000113/0.4862, allocations: 113.8 kB / 0.7708 GB, free: 14.79 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.334e-05/0.4862, allocations: 25.7 kB / 0.7708 GB, free: 14.76 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 4.532e-05/0.4863, allocations: 84.14 kB / 0.7709 GB, free: 14.68 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 4.801e-05/0.4863, allocations: 31.73 kB / 0.7709 GB, free: 14.64 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.798e-05/0.4864, allocations: 25.7 kB / 0.771 GB, free: 14.61 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.000157/0.4866, allocations: 318.8 kB / 0.7713 GB, free: 14.29 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004159/0.487, allocations: 103.8 kB / 0.7714 GB, free: 14.19 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004043/0.4874, allocations: 95.89 kB / 0.7714 GB, free: 14.1 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007881/0.4882, allocations: 189 kB / 0.7716 GB, free: 13.91 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.427e-06/0.4882, allocations: 7.938 kB / 0.7716 GB, free: 13.9 MB / 0.545 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0009177/0.4892, allocations: 245.3 kB / 0.7719 GB, free: 13.66 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.989e-05/0.4892, allocations: 4 kB / 0.7719 GB, free: 13.65 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.453e-06/0.4892, allocations: 0 / 0.7719 GB, free: 13.65 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.831e-05/0.4892, allocations: 0 / 0.7719 GB, free: 13.65 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003265/0.4896, allocations: 55.94 kB / 0.7719 GB, free: 13.6 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.552e-06/0.4896, allocations: 0 / 0.7719 GB, free: 13.6 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002334/0.4898, allocations: 39.95 kB / 0.772 GB, free: 13.56 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.704e-05/0.4898, allocations: 7.984 kB / 0.772 GB, free: 13.55 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.0001207/0.49, allocations: 121.7 kB / 0.7721 GB, free: 13.42 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.571e-05/0.49, allocations: 4 kB / 0.7721 GB, free: 13.42 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.639e-05/0.49, allocations: 8.375 kB / 0.7721 GB, free: 13.41 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.025e-06/0.4901, allocations: 0 / 0.7721 GB, free: 13.41 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.62e-06/0.4901, allocations: 0 / 0.7721 GB, free: 13.41 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.635e-06/0.4901, allocations: 4 kB / 0.7721 GB, free: 13.4 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001726/0.4918, allocations: 0.5935 MB / 0.7727 GB, free: 12.75 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.959e-06/0.4918, allocations: 7.922 kB / 0.7727 GB, free: 12.74 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002632/0.4921, allocations: 55.95 kB / 0.7727 GB, free: 12.68 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.577e-06/0.4921, allocations: 0 / 0.7727 GB, free: 12.68 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.814e-05/0.4921, allocations: 11.98 kB / 0.7728 GB, free: 12.67 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.465e-06/0.4921, allocations: 0.75 kB / 0.7728 GB, free: 12.67 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.807e-06/0.4921, allocations: 3.938 kB / 0.7728 GB, free: 12.67 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009345/0.4931, allocations: 345 kB / 0.7731 GB, free: 12.31 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 5.539e-05/0.4932, allocations: 85.06 kB / 0.7732 GB, free: 12.21 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.234e-05/0.4932, allocations: 0 / 0.7732 GB, free: 12.21 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002694/0.4935, allocations: 39.95 kB / 0.7732 GB, free: 12.17 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.798e-05/0.4935, allocations: 19.92 kB / 0.7732 GB, free: 12.15 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.351e-05/0.4935, allocations: 7.984 kB / 0.7732 GB, free: 12.14 MB / 0.545 GB Notification: Performance of sorting global known variables: time 6.909e-05/0.4936, allocations: 87.28 kB / 0.7733 GB, free: 12.05 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.01e-07/0.4936, allocations: 0 / 0.7733 GB, free: 12.05 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0003885/0.494, allocations: 43.86 kB / 0.7734 GB, free: 12.01 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.001453/0.4955, allocations: 0.9014 MB / 0.7742 GB, free: 11.08 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0008752/0.4964, allocations: 199.8 kB / 0.7744 GB, free: 10.88 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.374e-06/0.4964, allocations: 4 kB / 0.7744 GB, free: 10.88 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0004355/0.4968, allocations: 115.9 kB / 0.7745 GB, free: 10.77 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003108/0.4971, allocations: 7.938 kB / 0.7746 GB, free: 10.76 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004784/0.5019, allocations: 2.139 MB / 0.7766 GB, free: 8.531 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003449/0.5023, allocations: 0.6924 MB / 0.7773 GB, free: 7.812 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0001054/0.5024, allocations: 24.89 kB / 0.7773 GB, free: 7.785 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.985e-05/0.5025, allocations: 26.92 kB / 0.7774 GB, free: 7.762 MB / 0.545 GB Notification: Performance of SimCode: time 1.092e-06/0.5025, allocations: 0 / 0.7774 GB, free: 7.762 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02455/0.5271, allocations: 2.752 MB / 0.7801 GB, free: 5.152 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.705/8.232, allocations: 18.06 kB / 0.7801 GB, free: 5.141 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Utilities_Math_Functions_Examples_InverseXRegularized_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Utilities_Math_Functions_Examples_InverseXRegularized.fmu > BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.InverseXRegularized.pipe 2>&1)