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/BuildingSystems 2.0.0-master/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/ModelicaServices 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) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/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) 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 BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/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/BuildingSystems 2.0.0-master/package.mo): time 0.8588/0.8588, allocations: 143.4 MB / 158.3 MB, free: 5.633 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001643/0.001643, allocations: 177.5 kB / 191.5 MB, free: 5.645 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.535/1.535, allocations: 223.1 MB / 447.7 MB, free: 4.832 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009697/0.0009695, allocations: 92.31 kB / 0.5187 GB, free: 1.191 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002433/0.002433, allocations: 265.4 kB / 0.6005 GB, free: 48.73 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004132/0.0004132, allocations: 15.86 kB / 0.6929 GB, free: 59.69 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1547/0.1551, allocations: 82.8 MB / 0.7738 GB, free: 13.72 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1502/0.3054, allocations: 109.4 MB / 0.8806 GB, free: 200 kB / 0.5417 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003383/0.3058, allocations: 79.95 kB / 0.8807 GB, free: 120 kB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 0.3924/0.6982, allocations: 4.2 MB / 0.8848 GB, free: 109.1 MB / 0.5417 GB Notification: Performance of FrontEnd: time 2.575e-06/0.6983, allocations: 0 / 0.8848 GB, free: 109.1 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 9.468e-06/0.6983, allocations: 0 / 0.8848 GB, free: 109.1 MB / 0.5417 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.0005009/0.6988, allocations: 390 kB / 0.8852 GB, free: 108.8 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 5.44e-05/0.6989, allocations: 9.984 kB / 0.8852 GB, free: 108.8 MB / 0.5417 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.499e-05/0.6989, allocations: 38.33 kB / 0.8852 GB, free: 108.7 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003811/0.6993, allocations: 50.66 kB / 0.8853 GB, free: 108.7 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001481/0.6995, allocations: 183.2 kB / 0.8854 GB, free: 108.5 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.82e-05/0.6995, allocations: 5.5 kB / 0.8854 GB, free: 108.5 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.184e-05/0.6996, allocations: 2.688 kB / 0.8854 GB, free: 108.5 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003391/0.6999, allocations: 78.95 kB / 0.8855 GB, free: 108.5 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.453e-05/0.6999, allocations: 7.125 kB / 0.8855 GB, free: 108.5 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.351e-05/0.7, allocations: 0 / 0.8855 GB, free: 108.5 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.302e-06/0.7, allocations: 3.984 kB / 0.8855 GB, free: 108.5 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004704/0.7004, allocations: 83.97 kB / 0.8856 GB, free: 108.4 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002032/0.7007, allocations: 168.6 kB / 0.8858 GB, free: 108.3 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006898/0.7014, allocations: 150.1 kB / 0.8859 GB, free: 108.2 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 2.258e-05/0.7014, allocations: 2.922 kB / 0.8859 GB, free: 108.2 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.938e-05/0.7014, allocations: 39.95 kB / 0.886 GB, free: 108.2 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=5): time 1.573e-06/0.7014, allocations: 1.312 kB / 0.886 GB, free: 108.2 MB / 0.5417 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.006939/0.7084, allocations: 1.018 MB / 0.8869 GB, free: 108.1 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.436e-05/0.7084, allocations: 53.69 kB / 0.887 GB, free: 108 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.165e-05/0.7085, allocations: 104.3 kB / 0.8871 GB, free: 107.9 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 2.698e-05/0.7086, allocations: 29.2 kB / 0.8871 GB, free: 107.9 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 2.882e-05/0.7086, allocations: 80.94 kB / 0.8872 GB, free: 107.8 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 5.868e-05/0.7087, allocations: 35.28 kB / 0.8872 GB, free: 107.8 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.759e-05/0.7087, allocations: 0 / 0.8872 GB, free: 107.8 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 6.815e-05/0.7088, allocations: 323.6 kB / 0.8875 GB, free: 107.5 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006066/0.7094, allocations: 123.8 kB / 0.8877 GB, free: 107.5 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005938/0.71, allocations: 129.2 kB / 0.8878 GB, free: 107.5 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006234/0.7106, allocations: 130.5 kB / 0.8879 GB, free: 107.4 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.7107, allocations: 3.953 kB / 0.8879 GB, free: 107.4 MB / 0.5417 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.001378/0.712, allocations: 314.1 kB / 0.8882 GB, free: 107.4 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 2.36e-05/0.7121, allocations: 5.594 kB / 0.8882 GB, free: 107.4 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.913e-06/0.7121, allocations: 0 / 0.8882 GB, free: 107.4 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.939e-05/0.7121, allocations: 3.469 kB / 0.8882 GB, free: 107.4 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005472/0.7127, allocations: 69.36 kB / 0.8883 GB, free: 107.4 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.158e-06/0.7127, allocations: 4.641 kB / 0.8883 GB, free: 107.4 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003888/0.7131, allocations: 52.59 kB / 0.8883 GB, free: 107.4 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.709e-05/0.7131, allocations: 5.578 kB / 0.8883 GB, free: 107.4 MB / 0.5417 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001174/0.7133, allocations: 111.3 kB / 0.8885 GB, free: 107.3 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.591e-05/0.7133, allocations: 14.06 kB / 0.8885 GB, free: 107.3 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.064e-05/0.7134, allocations: 14.25 kB / 0.8885 GB, free: 107.2 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.979e-06/0.7134, allocations: 1.375 kB / 0.8885 GB, free: 107.2 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.414e-06/0.7134, allocations: 0 / 0.8885 GB, free: 107.2 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.46e-06/0.7134, allocations: 4.641 kB / 0.8885 GB, free: 107.2 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00256/0.716, allocations: 0.6916 MB / 0.8892 GB, free: 106.9 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.408e-06/0.716, allocations: 7.688 kB / 0.8892 GB, free: 106.9 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004306/0.7164, allocations: 68.47 kB / 0.8892 GB, free: 106.9 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.578e-06/0.7165, allocations: 4 kB / 0.8892 GB, free: 106.9 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.97e-05/0.7165, allocations: 7.188 kB / 0.8892 GB, free: 106.9 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.426e-06/0.7165, allocations: 0.875 kB / 0.8892 GB, free: 106.9 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.076e-06/0.7165, allocations: 3.062 kB / 0.8892 GB, free: 106.9 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00129/0.7178, allocations: 437 kB / 0.8897 GB, free: 106.7 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 3.444e-05/0.7179, allocations: 84.61 kB / 0.8897 GB, free: 106.6 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.364e-05/0.7179, allocations: 0.7969 kB / 0.8897 GB, free: 106.6 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004065/0.7183, allocations: 52.2 kB / 0.8898 GB, free: 106.6 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.717e-05/0.7184, allocations: 13.03 kB / 0.8898 GB, free: 106.6 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.577e-05/0.7184, allocations: 10.2 kB / 0.8898 GB, free: 106.6 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 4.996e-05/0.7185, allocations: 97.91 kB / 0.8899 GB, free: 106.5 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.81e-07/0.7185, allocations: 0 / 0.8899 GB, free: 106.5 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.000491/0.719, allocations: 42.3 kB / 0.89 GB, free: 106.5 MB / 0.5417 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001638/0.7207, allocations: 1.12 MB / 0.891 GB, free: 105.6 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.001242/0.7219, allocations: 271.4 kB / 0.8913 GB, free: 105.6 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 2.845e-06/0.7219, allocations: 0 / 0.8913 GB, free: 105.6 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.0006155/0.7225, allocations: 142.7 kB / 0.8914 GB, free: 105.6 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002259/0.7228, allocations: 4.812 kB / 0.8914 GB, free: 105.6 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004763/0.7276, allocations: 1.214 MB / 0.8926 GB, free: 105.2 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001532/0.7277, allocations: 0.6907 MB / 0.8933 GB, free: 104.5 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.000217/0.728, allocations: 25.03 kB / 0.8933 GB, free: 104.5 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001683/0.7281, allocations: 32.89 kB / 0.8934 GB, free: 104.5 MB / 0.5417 GB Notification: Performance of SimCode: time 1.192e-06/0.7281, allocations: 288 / 0.8934 GB, free: 104.5 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01846/0.7466, allocations: 2.677 MB / 0.896 GB, free: 103.8 MB / 0.5417 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000175/0.7468, allocations: 211.6 kB / 0.8962 GB, free: 103.6 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.748/2.495, allocations: 0.7188 kB / 0.8962 GB, free: 103.6 MB / 0.5417 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/linux/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)